Thread View: news.software.readers
2 messages
2 total messages
Started by newbie
Mon, 25 Apr 2005 01:40
[dialog] newbie scoring questions
Author: newbie
Date: Mon, 25 Apr 2005 01:40
Date: Mon, 25 Apr 2005 01:40
27 lines
1687 bytes
1687 bytes
hi, i just move to dialog from agent, and having some trouble with the scoring system, 1.) i guess the most obvious thing is how do i filter out just one word anywhere along a line. eg, i want to filter out "free" but not "freeze" or "abcfree" etc (am i suppose to use ?m ?-s or something?) 2.) when i do something like -10 subject "adult" "xxx" "item3" "item4" is there a way to make it count each item? so if the subject had adult xxx item4, it would become -30 (something to do with greedy?) 3.) can i create a list of words that can be referenced some where else. eg list="adult" "xxx" "etc" -10 subject +free +list -100 subject +abc +list 4.) can u combine an action with a score? or do u need two seperate lines !watch, +1000 from "me" thanks
Re: [dialog] newbie scoring questions
Author: Enrico Bauer
Date: Mon, 25 Apr 2005 18:41
Date: Mon, 25 Apr 2005 18:41
38 lines
2350 bytes
2350 bytes
25.04.2005 03:40:58, *newbie*:
> 1.) i guess the most obvious thing is how do i filter out just one word
> anywhere along a line.
> eg, i want to filter out "free" but not "freeze" or "abcfree" etc
Use RegExp. That would be {/bfree/b}
> 2.) when i do something like
> -10 subject "adult" "xxx" "item3" "item4"
> is there a way to make it count each item? so if the subject had
> adult xxx item4, it would become -30
> (something to do with greedy?)
Nope, not possible. You'll have to write that strings in single lines
like
-10 Subject "XXX"
-10 Subject "Porn"
> 3.) can i create a list of words that can be referenced some where else.
> eg list="adult" "xxx" "etc"
> -10 subject +free +list
> -100 subject +abc +list
No. Interesting feature request. You should put that into Mantis.
http://www.40tude.com/dialog/mantis/login_page.php
> 4.) can u combine an action with a score? or do u need two seperate lines
> !watch, +1000 from "me"
Not possible. There are already feature request addressing this issue at
Mantis. Support them!
Take care!
Enrico B.
--
No fear. No distractions. The ability to let that
which does not matter truly slide.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads