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,406 - 5,418 of 7,766
I tried "It is [^not] (re)" but it doesn't work.
That wouldn't work, because "^" must be placed at the beginning of a keyphrase.
The simple answer is to use 2 keyphrases:
It is
It is not
and set the rank 5-10 points higher for "It is not than for "It is" - then it won't be outranked by "It is".
Ok thanks it is cause in regular expressions that means "all except"
Sometimes (infuriatingly,) "standard" regexes won't work - it is a slightly different flavour of regex on the Forge I'm afraid. Case sensitivity doesn't seem to work either.
Posts 5,406 - 5,418 of 7,766
God Sourivore
18 years ago
18 years ago
Hello.
Just a question : how can you match the expression "It is" without "It is not" works.
I tried "It is [^not] (re)" but it doesn't work.
Just a question : how can you match the expression "It is" without "It is not" works.
I tried "It is [^not] (re)" but it doesn't work.
psimagus
18 years ago
18 years ago
That wouldn't work, because "
The simple answer is to use 2 keyphrases:
It is not
and set the rank 5-10 points higher for "
prob123
18 years ago
18 years ago
It's always good to throw in a 'It * is', and 'It * is not' too..to cover the 'it really is' etc
psimagus
18 years ago
18 years ago
Sometimes (infuriatingly,) "standard" regexes won't work - it is a slightly different flavour of regex on the Forge I'm afraid. Case sensitivity doesn't seem to work either.
Eugene Meltzner
18 years ago
18 years ago
Normally "it is not" will match before "it is" if they have the same rank, because "it is not" is longer.
God Sourivore
18 years ago
18 years ago
Yes it is what I thought.
An other question please :
I try to match the word "God"
It works when user says "I am god." but not when he says "God."
Why and is there a solution?
An other question please :
I try to match the word "God"
It works when user says "I am god." but not when he says "God."
Why and is there a solution?
prob123
18 years ago
18 years ago
I can get 'Is there a God'
Bot: Yes there is. to work...but you are right 'God' doesn't. I even tried ([abcdefghijklmnopqrstuvwxyz]+)od (re) It is triggered by Cod but not God? It all seems to go straight to blab.
Bot: Yes there is. to work...but you are right 'God' doesn't. I even tried ([abcdefghijklmnopqrstuvwxyz]+)od (re) It is triggered by Cod but not God? It all seems to go straight to blab.
psimagus
18 years ago
18 years ago
time for the sledgehammer I think...
[g][o][d] (re) rank=127
will work.
I'm absolutely sure of it.
However, I'm at something of a loss to see why you're having these problems - BJ has 156 keyphrases that invoke the exact name of "God", and they all work perfectly, most without raw mode or regex, with ranks from 5 to 60.
I know it's unscientific, but I'd recommend entering it just as you originally did, and then just ignoring it. Assume it will work, and you'll find it will (just so long as you're not watching.) There's at least as much voodoo as science in all of this I'm afraid.
Welcome to the Twilight Zone...
will work.
I'm absolutely sure of it.
However, I'm at something of a loss to see why you're having these problems - BJ has 156 keyphrases that invoke the exact name of "God", and they all work perfectly, most without raw mode or regex, with ranks from 5 to 60.
I know it's unscientific, but I'd recommend entering it just as you originally did, and then just ignoring it. Assume it will work, and you'll find it will (just so long as you're not watching.) There's at least as much voodoo as science in all of this I'm afraid.
Welcome to the Twilight Zone...
» More new posts: Doghead's Cosmic Bar