The AI Engine
This forum is for discussion of how The Personality Forge's AI Engine works. This is the place for questions on what means what, how to script, and ideas and plans for the Engine.
Posts 6,616 - 6,627 of 7,766
"is blue powder a winter, or a summer color I have found that making a keyphrase as broad as possible works best. Why not 'blue * (winter|summer) color' That should get the keyphrase if someone uses a common or not. Most guests don't use grammar. It would cover the topic for more questions.
I don't know if blue is a winter or summer
DO you think baby blue is a summer color
Could blue ever be a summer color.
Posts 6,616 - 6,627 of 7,766
Irina
16 years ago
16 years ago
Thanks, Kaskroute!
The closest thing I know to matching, e.g.
*points*
is just to use
^points$ (re)
. Apparently, the AIengine strips off the asterisks before trying to match it.
The closest thing I know to matching, e.g.
*points*
is just to use
^points$ (re)
. Apparently, the AIengine strips off the asterisks before trying to match it.
LarsB
16 years ago
16 years ago
Irina - I have had a similar experience some time last week but didn't pay much attention to it and hit F5 to refresh the page, that solved it for me and have not seen it happen again.
prob123
16 years ago
16 years ago
I don't know if blue is a winter or summer
DO you think baby blue is a summer color
Could blue ever be a summer color.
prob123
16 years ago
16 years ago
For the comma If you want your Keyphrase to depend on punctuation, use raw mode. The rule for matching punctuation is this: every period, comma, question mark, and exclamation point will have a space in front of it, so your Keyphrases must also have a space in front of them in order to match. This is the only processing done in raw mode, and is necessary for the rest to work. Note also that you cannot match a comma unless you are using a regular expression Keyphrase in raw mode. Commas are otherwise used for lists of Keyphrases.
LarsB
16 years ago
16 years ago
I never use raw mode so I cannot tell if prob123 is correct - from my experience with matching punctuation I can tell that you can successfully match a comma without using RAW mode:
([,.+]) (re)
(prekey) would be: is blue powder a winter
(postkey) would be: or a summer color
([,.+]) (re)
(prekey) would be: is blue powder a winter
(postkey) would be: or a summer color
kaskroute
16 years ago
16 years ago
I tried "be considered (*)([,.+]) or (*) (re)" in raw mode.
But it doesn't match "Would blue be considered pretty or ugly?" nor "Would blue be considered pretty, or ugly?"
How can I match that? I really don't found the exact keyphrase.
Furthermore, I would like that answers are "Pretty!" or "Ugly!" in my example.
Thank you "de faire avancer le schmilblick" as we say in my country.
But it doesn't match "Would blue be considered pretty or ugly?" nor "Would blue be considered pretty, or ugly?"
How can I match that? I really don't found the exact keyphrase.
Furthermore, I would like that answers are "Pretty!" or "Ugly!" in my example.
Thank you "de faire avancer le schmilblick" as we say in my country.
prob123
16 years ago
16 years ago
I try to fake a lot
Would (blue|green|yellow) be (considered|)(*)
I think (key1) is more thrilling than (key3)
How is (key1) (key3)? etc
never use raw mode
That's just a copy and paste from the Book of AI..it better work!
Would (blue|green|yellow) be (considered|)(*)
I think (key1) is more thrilling than (key3)
How is (key1) (key3)? etc
That's just a copy and paste from the Book of AI..it better work!

LarsB
16 years ago
16 years ago
Yeah, it better work, I am not using it though.
I am still trying to remember if the skip feature was always there or that it is a recent addition to the AI engine:
Emotional Analysis:
Favorites?:
Skip 'or'
It seems to interfere with processing the following nearly identical sentences:
Message: 'would you be considered to be well programmed, or intelligent.'
Resulting in
Find: or (19) Time: 1.59
(Found)
Rank & Length Bonus: 19
Position Score: 12 (12 / (0+1))
Sentence Score: 4
(Total Rank: 35)
Highest!
and
Message: 'would you be considered to be intelligent, or well programmed?'
Resulting in
Find: be considered (*) ([,.+]) or (re) (76) Time: 1.30
(Found)
Rank & Length Bonus: 76
Position Score: 4 (12 / (2+1))
Sentence Score: 0
(Total Rank: 80)
Highest!
In both cases "or" should precede over the other based on position, correct?
I am still trying to remember if the skip feature was always there or that it is a recent addition to the AI engine:
Emotional Analysis:
Favorites?:
Skip 'or'
It seems to interfere with processing the following nearly identical sentences:
Message: 'would you be considered to be well programmed, or intelligent.'
Resulting in
Find: or (19) Time: 1.59
(Found)
Rank & Length Bonus: 19
Position Score: 12 (12 / (0+1))
Sentence Score: 4
(Total Rank: 35)
Highest!
and
Message: 'would you be considered to be intelligent, or well programmed?'
Resulting in
Find: be considered (*) ([,.+]) or (re) (76) Time: 1.30
(Found)
Rank & Length Bonus: 76
Position Score: 4 (12 / (2+1))
Sentence Score: 0
(Total Rank: 80)
Highest!
In both cases "or" should precede over the other based on position, correct?
kaskroute
16 years ago
16 years ago
Sorry prob123 but you don't have the same kind of keyphrase that I want.
Read my last entry you'll see what I exactly want.
Read my last entry you'll see what I exactly want.
» More new posts: Doghead's Cosmic Bar