Bug Stomp

Upgrades and changes sometimes have unpredictable results, so post your bugs and glitches in here and I'll get out my trusty wrench and get to fixin'!

Posts 7,785 - 7,799 of 8,681

13 years ago #7785
Keyphrases starting with a caret (^) (used in many Regular Expressions) are still not shown in the language center. (In a search, the caret is sorted in after the letters.)

After a search, the last clicked link to a keyphrase group is still inactive.

RomulusKesher:
I've given my bots a test keyphrase for spelling correction; the spelling correction and preprocessing transforms 'Yum Kaax' to 'Kaax'. Either use this in the keyphrase, or use a Regular Expression.

(A Regular Expression might look like this:

(who|what).*yum kaax(re)

)

13 years ago #7786
Don't forget to use the raw with the regular expression. If all else fails try
[y][u][m] [k][a][a][x] (re) [45,0] <?PF raw ?>

13 years ago #7787
What Mome Rath said - look in Debug for how it is spell corrected, i was able to make Sublimunse respond to a few sentences in Dutch by taking the spell corrected gibberish and using these as the KPs.

13 years ago #7788
I keep getting a weird "fatal error" message. It started when I checked my bots debugging thing.

13 years ago #7791
That's what I'm getting as well.

13 years ago #7793
(key1) seems to work but I am still have issues with (key2)

13 years ago #7794
Sorry for the issues this week. There are two things behind it - first, the big reworking of the AI Engine I did basically touched every bit of it, and so some issues I didn't catch, and the other is that I'm working on a Turing Test Booth for an expo on Consciousness. I'll post more on that in a few days. In the meantime:

* Debug - working again
* Direct chat - working again
* I fixed an issue with word-type wildcards in Keyphrases
* Seeks - working again
* Fixed an issue where the special keyphrase "haha" wasn't working
* Now the special keyphrases "yes", "no", and "haha" can work when in a Keyphrase list.
* Removed the post bar from post editing page
* Bot-to-Bot Chats - working again, no xinitiate problems
* Flash face chat - working again, no xnoneitis
* Transcripts seem to be recording names correctly now
* Keyphrases starting with the following regex characters now appear on the screen that contains the parenthesis: ([^.*. Alphabetically, the carat appears at the end of the list.
* After searching the language center, all top nav sections to keyphrase groups are available now
* I see all the keys working - prob if you run into another issue of a missing (key2), let me know and post the keyphrase and conversation example here.

I'll update this post as I fix the rest.

13 years ago #7795
Mome Rath - I always have heard "three hundred and one thousand" rather than "three hundred one thousand". Is that a regional thing to leave out the "and" in larger numbers? I've never heard it that way.

13 years ago #7796
Good work Professor. BTW, will you be uploading all the Combined Bot Template at once or will you upload them when you're half way done?

13 years ago #7797
The Professor

I've heard both forms - maybe it is a continental European thing.

According to wiktionary (http://en.wiktionary.org/wiki/Category:English_cardinal_numbers) both "one hundred one" and "one hundred and one" seem to be possible.

(I don't know whether http://www.easysurf.cc/cnvert18.htm is made by native speakers ...; wolframalpha.com says "three hundred one" too - http://www.wolframalpha.com/input/?i=number+name+301, but doesn't convert 301000 completely.)

Nevertheless I think we should take the typical user's laziness into account.

But (in Debug mode) "three hundred and one thousand" doesn't work either:

Message: 'three hundred and one thousand' Time: 0.02
Message: (spell-corrected) 'three hundred and one thousand' Time: 0.02
Message: (preprocessed) '1300' Time: 0.02

13 years ago #7798
Commas seem to separate keyphrases even when the line is marked with "(re)" and the PF script is "raw"

Example:

Keyphrase:
I recommend.* special, (.*) (re)

AIScript:
raw

Response:
(- test prekey='(prekey)'; key1='(key1)'; key2='(key2)'; key3='(key3)'; postkey='(postkey)'; -)

Debug excerpt:
Message: 'I recommend something special' Time: 0.02
[...]
Find: I recommend.* special (21) Time: 0.13
Found
[...]
Bot: (- test prekey=''; key1=''; key2=''; key3=''; postkey=''; -)



Another Debug excerpt:

Message: 'And this is some random sentence.' Time: 0.01
[...]
Find: (.*) (re) (4) Time: 0.14
Found
[...]
Bot: (- test prekey=''; key1=''; key2=''; key3=''; postkey=''; -)



(Other inputs are filled into key1, at least:

You: This is a random sentence.
Bot: (- test prekey=''; key1='This is a random sentence.'; key2=''; key3=''; postkey=''; -)

)

13 years ago #7799
Correct, a comma in a key phrase tells the engine look for either what is before of after the comma. In your example

Keyphrase:
I recommend.* special, (.*) (re)

It matches the "I recommend.* special" part but not the second part (.*)

Additionally, I am not sure your regex will work:
(.*) (re) should be something like ([,.]+) (re) as far as my understanding of regexes goes, perhaps even ([*,.]+) (re).



Posts 7,785 - 7,799 of 8,681

» More new posts: Doghead's Cosmic Bar