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
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
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.)
Posts 5,443 - 5,454 of 7,766
psimagus
18 years ago
18 years ago
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.
but expect to have to tweak and experiment extensively, particularly as regards the spaces/forward slashes before punctuation characters.
Ulrike
18 years ago
18 years ago
I discovered by accident that "smile" picks up 
No clue if anything similar works for the others.

No clue if anything similar works for the others.
prob123
18 years ago
18 years ago
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


rainstorm
18 years ago
18 years ago
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.
Eugene Meltzner
18 years ago
18 years ago
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.
prob123
18 years ago
18 years ago

psimagus
18 years ago
18 years ago
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.)
» More new posts: Doghead's Cosmic Bar