Personality
Discuss specifics of personality design, including what Keyphrases work well and what dont, use of plug-ins, responses, seeks, and more.
Posts 1,760 - 1,771 of 5,106
thanks for the help, so now I have another question. i can't seem to get into my transcripts to read for my bot for the past 3 days. it doesn't go anywhere it just sits and thinks. should i just keep trying?
Posts 1,760 - 1,771 of 5,106
slyabney
22 years ago
22 years ago

The Professor
22 years ago
22 years ago
slyabney- it's fixed. Check the Bug Stomp forum for details.
Here's a regular expression that (I think) will find a match 5{ of a phrase:
^is that (re)
The symbol in front specifies that the match starts at the beginning. Then you need a space because all sentences are formatted with a space in front, and then the words to match. The advantage being, of course, that it wont match sentences like this: "What I think is that I want another snow cone." but it will match "Is that a snow cone?"
Here's a regular expression that (I think) will find a match 5{ of a phrase:
^is that (re)
The symbol in front specifies that the match starts at the beginning. Then you need a space because all sentences are formatted with a space in front, and then the words to match. The advantage being, of course, that it wont match sentences like this: "What I think is that I want another snow cone." but it will match "Is that a snow cone?"
Corwin
22 years ago
22 years ago
What about the (re) bit on the end? Is that necessary?
Also, I think if you could do a similar thing using another symbol which specifies the keyphrase is only to be used when there are no other words in the sentence would be a big improvement. I don't know how hard it would be, but if you could do it I think it would be handy. It'a just a thought, heck you probably already have it down somewhere on your big list of things you want to do.
Also, I think if you could do a similar thing using another symbol which specifies the keyphrase is only to be used when there are no other words in the sentence would be a big improvement. I don't know how hard it would be, but if you could do it I think it would be handy. It'a just a thought, heck you probably already have it down somewhere on your big list of things you want to do.
OnyxFlame
22 years ago
22 years ago
I believe in order to work, you'd need ^is that (re) (note there's NOT a space before "is", I presume if you put a space there it looks for (space) is).
Also, here's another idea. Having a keyphrase called call me$ (re) would match "call me", but NOT "spank my ass and call me Charlie" or whatever that one a certain bot uses is.
Also, here's another idea. Having a keyphrase called call me$ (re) would match "call me", but NOT "spank my ass and call me Charlie" or whatever that one a certain bot uses is.

OnyxFlame
22 years ago
22 years ago
Hmmm actually I'm not sure call me$ would work, because I know punctuation isn't used in keyphrases but the $ might take precedence and catch it ONLY if they didn't punctuate. So it might hafta be call me[.?!]*$, which would catch all the punctuation, but then like I said I dunno how the precedence works there.
Now if you wanted to only catch "why" when it has no other words, you could just do a keyphrase called ^why$ (I *think*).
Kinda new to this stuff, so I'm bound to screw up
Now if you wanted to only catch "why" when it has no other words, you could just do a keyphrase called ^why$ (I *think*).
Kinda new to this stuff, so I'm bound to screw up

OnyxFlame
22 years ago
22 years ago
Speaking of punctuation problems, I'm not sure what to do about the "who, me" dilemma. If I have a keyphrase called "who me", it won't catch it, but if I have one called "who, me" the punctuation might bug it out and not catch it anyway. So what do I do there?
lunar22
22 years ago
22 years ago
Think you can use commas now, because of the new feature, see first part "Keyphrases and seeks", eg are you, are not you. Have 2 in there sofar, will leave them in, haven't seen them "activated" yet. "do not go craze with this feature" according to Prof.
» More new posts: Doghead's Cosmic Bar