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 1,732 - 1,743 of 7,766

22 years ago #1732
Maybe this has been asked before, but I'm new. Is there any way to use a punctuation mark to end a key phrase?
I'd like to have an answer for "what are you?" and a different one for "what are you (subj) ?" (ie what are you doing, what are you reading)

22 years ago #1733
No, punctuation can not be used in key phrases

22 years ago #1734
Just make keyphrases for 'what are you doing' and other specific things. Yes, it takes longer to do it that way, but it works.

22 years ago #1735
and don't forget the rankings! they are really important for distinguishing
do you
do you think
do you think about
because the last one should have a higher ranking than the one before, so the 'about' gets picked up, etc... I originally didn't understand the ranking system and ignored it, to my dismay of having to change every single ranking later on...

My hint, if you don't understand it:
the engine starts from the highest rank and tries to find a match for the phrase. If nothing is found, it goes down to the next rank. etc.

22 years ago #1736
But longer phrases get picked before shorter phrases containing the same words anyway.

22 years ago #1737
...but have to be exactly in the same order...

22 years ago #1738
...and shadyman is right, "the" with 20, gets picked over "the man" with 5...

22 years ago #1739
lol. thanks, all. I was just being lazy, but I guess its time to sit down and make keyphrases for everything.

22 years ago #1740
Same here..

22 years ago #1741
another question:

guest: fine. do you like canteloup?
my bot: Of course I like can noteloup.
guest: what is noteloup?

it should have been "of course I like (subj)."
why did it perceive "cant"eloup as a verb that needed to be changed?

22 years ago #1742
it's supposed to be a subroutine that catches 'cant' as opposed to 'can't' to turn it in to can not for proper preprocessing. If you know that, it's really quite funny... cant gets changed into can not, so I guess canteloup got changed into can noteloup hehehe

22 years ago #1743
*giggle*


Posts 1,732 - 1,743 of 7,766

» More new posts: Doghead's Cosmic Bar