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 5,443 - 5,454 of 7,766

18 years ago #5443
how do you get your bot to recognise emoticons (: )::O

18 years ago #5444
:O

18 years ago #5445

18 years ago #5446
it ought to be possible to regex them - something like

[ : ;][PO ) (] (re) in "raw" mode,

but expect to have to tweak and experiment extensively, particularly as regards the spaces/forward slashes before punctuation characters.

18 years ago #5447
I discovered by accident that "smile" picks up
No clue if anything similar works for the others.

18 years ago #5448
Smiles will pick up once in a while too..as for the rest I am going nuts..I can get ; ) with an extra space. but not

18 years ago #5449
does anyone know how to make your robot do anagrams

18 years ago #5450
I don't believe there is any way to do that in the programming structure of the forge, though I have seen anagram bots on other sites.

18 years ago #5451
I can think of a way that might work using the import/export feature. If the letters were entered separately so that you could trap for regular expressions in raw mode, then you could hard-code one response for every permutation of those letters, or perhaps a carefully selected subset of the permutations to be sure to mix them around plenty. Then you could rely on the AI-Engine's own spellcheck routine to reorder the new letters into a readable word.

18 years ago #5452
it ought to be possible to regex them - something like [ : ;][PO ) (] (re) in "raw" mode,

I have even tried ([;:>(]+) (re) but it still needs the space to recognise the emoticon..: ( it won't recognise






18 years ago #5453
Then you could rely on the AI-Engine's own spellcheck routine to reorder the new letters into a readable word.

That's not a bad idea, but the AIEngine's anagrammatizer does add and subtract letters quite often, so the anagrams would rarely be perfect. I can't see how it could be done without splicing in an external script (I have seen javascript anagrammatizers, but they're usually pretty crude affairs.)

18 years ago #5454
Seek system On Xkeyphrases it just don't work how do I do it?


Posts 5,443 - 5,454 of 7,766

» More new posts: Doghead's Cosmic Bar