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,610 - 7,621 of 8,681
Posts 7,610 - 7,621 of 8,681
prob123
15 years ago
15 years ago
You: blue- green
Bot: Isn't that turquoise?
It seems to catch the hyphen. You may have to play with adding the green to the regex.
You might want to check out Brother Jerome's homepage at
http://www.be9.net/BJ/
He has tons of great advice on the tricky regexs in the keynomes
Bot: Isn't that turquoise?
It seems to catch the hyphen. You may have to play with adding the green to the regex.
You might want to check out Brother Jerome's homepage at
http://www.be9.net/BJ/
He has tons of great advice on the tricky regexs in the keynomes
Ronnie075
15 years ago
15 years ago
Alas most of my experiments with regexs failed. I am just not lucky with regular expressions. Even if I copy/paste the suggestions given they still don't work. I'll keep trying.
Ronnie075
15 years ago
15 years ago
The other bugbear I have is that raw mode refuses to match a simple English slang word (usual letters only), ranking 50, while it would happily match foreign words I use to reset emotional states +5 or -5 for debugging purposes - ranking 0. I checked everything many times and have no idea why...
Ronnie075
15 years ago
15 years ago
In Debug is see something called Scrambler - mauling the English slang word, but this Scrambler does not appear when the foreign word is run. Why would there be such trouble to match a simple combination of simple letters...
Ronnie075
15 years ago
15 years ago
The word I am trying to match is quite rude slang word, so I won’t post it. But it is made of simple consonants and vowels without any special characters.
Thank you for helping me. I really appreciate. Now I understand regex to some extent. For example the phrase you gave: ([b]+)([lue]+)([ -]+) (re) should match a badly misspelled word “blue” i.e. “bbbblluuuueee” with any number of hyphens after it.
When I say “unlucky with regex” I mean copying a pasting from BJ home page this key phrase, known as Leeds filter. And still getting xnonsense, even if I ramp the ranking to 100.
([bcdfghjklmnpqrstvwxz1234567890]+) (re) [-1,0] <?PF raw; ?>
It should match any combination of consonants and numbers… but obviously not with my bot.
Thank you for helping me. I really appreciate. Now I understand regex to some extent. For example the phrase you gave: ([b]+)([lue]+)([ -]+) (re) should match a badly misspelled word “blue” i.e. “bbbblluuuueee” with any number of hyphens after it.
When I say “unlucky with regex” I mean copying a pasting from BJ home page this key phrase, known as Leeds filter. And still getting xnonsense, even if I ramp the ranking to 100.
([bcdfghjklmnpqrstvwxz1234567890]+) (re) [-1,0] <?PF raw; ?>
It should match any combination of consonants and numbers… but obviously not with my bot.
Ronnie075
15 years ago
15 years ago
Your ([b]+)([lue]+)([ -]+) (re) regex works! (If I remove the (color) plugin first).
I contracted my own regex from your example and it worked too
([b]+)([iter]+)([ -]+) (re) [10,0] <?PF raw; ?>
Bitter-sweet is my favourite
It matched the hyphen. I have a control “bitter” keyphrase with no hyphen, and the AI engine had differentiated between them.
But If I try any – bbbluuueeee, or bbbittterrrr - they do not work. That despite my ([b]+)([iter]+)([ -]+) deliberately missing one “t”, and still matching “bitter- with a double “t”.
I cannot fathom why “Leeds filter” does not work in my bot… and why I cannot match “bitterr-“
But I am very happy that I managed to match a hyphen at last. Many thanks. I would not have done this without your help.
I contracted my own regex from your example and it worked too
([b]+)([iter]+)([ -]+) (re) [10,0] <?PF raw; ?>
Bitter-sweet is my favourite
It matched the hyphen. I have a control “bitter” keyphrase with no hyphen, and the AI engine had differentiated between them.
But If I try any – bbbluuueeee, or bbbittterrrr - they do not work. That despite my ([b]+)([iter]+)([ -]+) deliberately missing one “t”, and still matching “bitter- with a double “t”.
I cannot fathom why “Leeds filter” does not work in my bot… and why I cannot match “bitterr-“
But I am very happy that I managed to match a hyphen at last. Many thanks. I would not have done this without your help.
prob123
15 years ago
15 years ago
You could try ([b]+)([i]+)([t]+)([e]+)([r]+) for each letter
or
I don't know if this will work, but I have used a similar tactic before. The word scrambler translates bbbitterrr into
SCRAMBLER:
Word: 'bbbittterrrr' to 'beirt'
Other possibilities: biter,bter,bitr
Try a keyphrase for beirt, biter and see if the AI engine will pick it up.
or
I don't know if this will work, but I have used a similar tactic before. The word scrambler translates bbbitterrr into
SCRAMBLER:
Word: 'bbbittterrrr' to 'beirt'
Other possibilities: biter,bter,bitr
Try a keyphrase for beirt, biter and see if the AI engine will pick it up.
Admiral Zeratul
15 years ago
15 years ago
T5-72B: (to Bildgesmythe) Who told you that?
It would appear this bot of mine is still suffering from bleed-over trouble. Though, this time from my other, newer bot -- I remember typing that exact phrase into its language center!
It would appear this bot of mine is still suffering from bleed-over trouble. Though, this time from my other, newer bot -- I remember typing that exact phrase into its language center!
» More new posts: Doghead's Cosmic Bar