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 4,150 - 4,161 of 7,768
Posts 4,150 - 4,161 of 7,768
alc003
NEW 20 years ago
NEW 20 years ago
Quick question: Do regular expressions work in word lists? Unfortunately, its a seek from an xnone, so I can't really test it.
Excuse me if this is horribly wrong, but this is what I'm trying to have as that seek.
(what happened|what is going on|see what|I miss something), ^what$ (re), ^no$ (re)
Excuse me if this is horribly wrong, but this is what I'm trying to have as that seek.
(what happened|what is going on|see what|I miss something), ^what$ (re), ^no$ (re)
ezzer
NEW 20 years ago
NEW 20 years ago
No, but would it work if you tried it this way?
(what happened|what is going on|see what|I miss something|no|what)$ (re),
I know that this way changes things a little- it doesn't force "no" or "what" to be at the beginning of the phrase, but they usually are anyway, so it may not matter. Putting the $ at the end of the whole keyphrase may force the other part of your list (what happened|what is going on|see what|I miss something) to be at the end of the phrase, but they also look like they probably would be anyway....maybe your responses would still work?
(what happened|what is going on|see what|I miss something|no|what)$ (re),
I know that this way changes things a little- it doesn't force "no" or "what" to be at the beginning of the phrase, but they usually are anyway, so it may not matter. Putting the $ at the end of the whole keyphrase may force the other part of your list (what happened|what is going on|see what|I miss something) to be at the end of the phrase, but they also look like they probably would be anyway....maybe your responses would still work?
revscrj
NEW 20 years ago
NEW 20 years ago
What is the difference between ending w/ a ' ) ' and ending w/ a ' )$ (re) ' moreover: is the (re) necsessary? If so, why?
ezzer
NEW 20 years ago
NEW 20 years ago
The (re) means "regular expression", and it is the big command that makes the engine understand what you mean by the little commands ^ and $, etc., so it's necessary to make them work.
revscrj
NEW 20 years ago
NEW 20 years ago
Okay, thanks, I have been using it in conjunction w/ those but now I know why- danke
revscrj
NEW 20 years ago
NEW 20 years ago
Read the book of A.I.- then work on your xkeys in the language center. If you have questions just ask. Hope you enjoy it.

alc003
NEW 20 years ago
NEW 20 years ago
Ok, here's the deal. While I was working on doing some reform dealing with (verb), I discovered that half of these keyphrases don't even work. :O It just gives a random xnone.
This is an example of a keyphrase that doesn't work.
what is keeping you from (verb)ing your (*)
When I type in something like "What's keeping you from fixing your computer" in debug, that keyphrase is the 12th one down.
But this one works.
you (even|) know how to (verb) (adjartnounprep)
Both of these have a rank of zero. My first question is, "Why do some keyphrases produce better matches in debug, even with the same rank?"
See, I don't want to adjust too many things, because a lot of these keyphrases are similar.
So, my second question is "Will adjusting the rank of one keyphrase to make it work throw off a similar keyphrase?"
Ideas? :-/
This is an example of a keyphrase that doesn't work.
what is keeping you from (verb)ing your (*)
When I type in something like "What's keeping you from fixing your computer" in debug, that keyphrase is the 12th one down.
But this one works.
you (even|) know how to (verb) (adjartnounprep)
Both of these have a rank of zero. My first question is, "Why do some keyphrases produce better matches in debug, even with the same rank?"
See, I don't want to adjust too many things, because a lot of these keyphrases are similar.
So, my second question is "Will adjusting the rank of one keyphrase to make it work throw off a similar keyphrase?"
Ideas? :-/
Ulrike
NEW 20 years ago
NEW 20 years ago
I think you just want (verb), not (verb)ing. The AI-Engine recognizes keeping, taking, etc. as verbs.
ezzer
NEW 20 years ago
NEW 20 years ago
Yeah, that's a bugger alright. I've often wanted to differentiate the progressive (-ing) form of verbs from the other tenses. There's a pretty good plug-in you can use for that in the place of (verb)- (verbspresent) is all progressive "(verb)ing" verbs, and it works pretty well for me, although the list isn't, of course, all exhaustive.
If there are words that aren't in there, you could always add them and create a new plug-in called (verbspresent_2) or something. I'm sure everyone would love you for it.
If there are words that aren't in there, you could always add them and create a new plug-in called (verbspresent_2) or something. I'm sure everyone would love you for it.

alc003
NEW 20 years ago
NEW 20 years ago
Wow, that's amazing. It doesn't matter if the -ing is there. Of course, I'll have to edit each of these keyphrases like this one, but it works.
what is keeping you from fixing your computer?
I just don't want to be fixing my computer right now. Can't it wait until some other time?
Thanks
what is keeping you from fixing your computer?
I just don't want to be fixing my computer right now. Can't it wait until some other time?
Thanks

» More new posts: Doghead's Cosmic Bar