dupa

Author Topic: Ziggy's Enigma Plugin v2.0  (Read 11247 times)

onthecuttingedge2005

  • Guest
Ziggy's Enigma Plugin v2.0
« on: May 24, 2007, 04:11:31 pm »
Updated: Thursday, May 27, 8:21AM 2007

Here is Ziggy's Enigma plug.

This plugin takes words like nouns and scrambles up an Enigma of letters from the noun and creates a file that applys the correct spelling against the incorrect spelling of the noun.

this plugin will mix up words like:
" LHELO "," HELLO "
" HLELO "," HELLO "

and so forth over time, the more your bot talks with you the more it learns scrambled words until every way possible that 'Hello' can be scrambled.

this plugin will also append to the Corrected.uhp if you have the Corrections Tutor plugin, this allows it to self correct itself over time with learning correct spelling, it sorta of works like a spell checker when the two plugs are running together.

you can also ask things like:

User: Scramble the word Hello.
HAL: Here is the word scrambled up loleh.

or if HAL has learned that scrambled version of Hello then you can do this:

User: loleh HAL
HAL: It looks like you were trying to spell Hello.

or

User: What does loleh mean?
HAL: I think it is spelled Hello.

their may be some other uses and I'll get back to you later.

We'll see where the experiment goes.
Jerry[8D]



Download Attachment: ZiggysEnigma.zip
2.94 KB
« Last Edit: May 28, 2007, 05:19:06 am by onthecuttingedge2005 »

markofkane

  • Hero Member
  • *****
  • Posts: 5275
  • Crazy Man
    • View Profile
    • http://www.soundspectrum.com
Ziggy's Enigma Plugin v2.0
« Reply #1 on: May 25, 2007, 12:39:05 pm »
Sorry no-one has thanked you for the plug-in. I tried Ziggy awhile back, but found it to be too tedious for me to train it, for I was already was trying to train my regular Hal-Brain. The best training of a bot I believe was here:
http://gt40.chez-alice.fr/Haptek/MyBots.htm

or at least it's pretty good.

Thank you for your contributions.

[:D]
Mark: I'll think about it
Laura: Don't think about it too long or I'll throw you out on your ***king a**.
"Political correctness is censorship"

ramccoid

  • Sr. Member
  • ****
  • Posts: 321
    • View Profile
    • http://www.visualillustrations.co.uk
Ziggy's Enigma Plugin v2.0
« Reply #2 on: May 25, 2007, 02:23:53 pm »
Excellent plugin Jerry and I like the way it connects to to your 'correction tutor' plugin, ingenius. Why do you use BRN files instead of TABLES, is there an advantage to this?

Thanks alot
Roy.
 

onthecuttingedge2005

  • Guest
Ziggy's Enigma Plugin v2.0
« Reply #3 on: May 25, 2007, 09:46:07 pm »
quote:
Originally posted by ramccoid

Why do you use BRN files instead of TABLES, is there an advantage to this?

Thanks alot
Roy.



Hi Roy.

it has to do with convenience while I'm scripting when my AIM bot is running, If the tables could be appended while the editor is open so I can debug scripts, it's easier to debug with files. though they both have their own advantages for each occasion when programming.

Jerry[8D]

ramccoid

  • Sr. Member
  • ****
  • Posts: 321
    • View Profile
    • http://www.visualillustrations.co.uk
Ziggy's Enigma Plugin v2.0
« Reply #4 on: May 26, 2007, 06:02:56 am »
Hi Jerry,
I see your point. It would be very useful if the tables could be appended whilst the editor was open. Maybe that's one for HAL 7.
Thanks,
Roy.
 

onthecuttingedge2005

  • Guest
Ziggy's Enigma Plugin v2.0
« Reply #5 on: May 26, 2007, 09:07:32 am »
I have updated Ziggy's Enigma plug.

1. corrected some variables where the scrambled words were to short.
2. fixed the appending to the Corrected.uhp if it exist.
3. fixed it so that the same correct spelling was not cloned like:
" HELLO "," HELLO "

Jerry[8D]
« Last Edit: May 26, 2007, 09:09:32 am by onthecuttingedge2005 »

PaleRider

  • Sr. Member
  • ****
  • Posts: 296
    • View Profile
Ziggy's Enigma Plugin v2.0
« Reply #6 on: May 26, 2007, 09:31:11 am »
Thank you Jerry [:D] Have a great day.[:D]
Never Drive Faster Than Your Guardian Angel Can Fly.

Bill DeWitt

  • Hero Member
  • *****
  • Posts: 650
    • View Profile
Ziggy's Enigma Plugin v2.0
« Reply #7 on: May 26, 2007, 10:39:50 am »
This would be good for teh one typing mistake that I seem to make more often than anything else, but teh problem I see is that there are several words that have teh same letters. Will it change teh spelling of teh word you want and replace it with another word with similar letters?

I had thought of using my spell checker thing to do something similar, use sendkeys to accept and close the MSWord dialog then send the corrected phrase to GetResponse so that Hal could ask for teh corrected spelling, but I didn't solve the problem you solved, keeping it out of teh databases until it was correct.

Fun stuff, I'll have to play with it a while.


onthecuttingedge2005

  • Guest
Ziggy's Enigma Plugin v2.0
« Reply #8 on: May 26, 2007, 11:05:32 am »
I have updated Ziggy's Enigma plug.

1. corrected some variables where the scrambled words were to short.
2. fixed the appending to the Corrected.uhp if it exist.
3. fixed it so that the same correct spelling was not cloned like:
" HELLO "," HELLO "
4. fixed a possiblity that a scrambled word may spell out another word as Bill mentioned.

Jerry[8D]

PaleRider

  • Sr. Member
  • ****
  • Posts: 296
    • View Profile
Ziggy's Enigma Plugin v2.0
« Reply #9 on: May 26, 2007, 11:09:03 am »
And Thank you again Sir Jerry and bill.[8D]
Never Drive Faster Than Your Guardian Angel Can Fly.

onthecuttingedge2005

  • Guest
Ziggy's Enigma Plugin v2.0
« Reply #10 on: May 26, 2007, 11:30:28 am »
I have updated Ziggy's Enigma plug.

1. corrected some variables where the scrambled words were to short.
2. fixed the appending to the Corrected.uhp if it exist.
3. fixed it so that the same correct spelling was not cloned like:
" HELLO "," HELLO "
4. fixed a possiblity that a scrambled word may spell out another word as Bill mentioned.
5. fixed an oversite on my last fix on 4.
6. altered 4. again.
7. added enigma descramble to both UltraHal and InputString
process and substitutions, HAL will always know what the word is in the topic on hand. bad spelling is automatically corrected in the InputString.

more to come.
Jerry[8D]
« Last Edit: May 27, 2007, 11:26:52 am by onthecuttingedge2005 »

ramccoid

  • Sr. Member
  • ****
  • Posts: 321
    • View Profile
    • http://www.visualillustrations.co.uk
Ziggy's Enigma Plugin v2.0
« Reply #11 on: May 27, 2007, 12:01:12 pm »
Excellent work Jerry and many thanks.

Roy,
 

ajdude

  • Newbie
  • *
  • Posts: 29
    • View Profile
Ziggy's Enigma Plugin v2.0
« Reply #12 on: June 09, 2007, 08:45:03 am »
Hi, I have hal6, I tried this plug in, and for some reason when I talk to hal, he doesn't respond at all...

I use the ALF brain
 

onthecuttingedge2005

  • Guest
Ziggy's Enigma Plugin v2.0
« Reply #13 on: June 09, 2007, 11:13:05 am »
quote:
Originally posted by ajdude

Hi, I have hal6, I tried this plug in, and for some reason when I talk to hal, he doesn't respond at all...

I use the ALF brain



Hi ajdude.

are you using all the plugins that came with A.L.F?

if you are lacking in plugins then you may not have enough response capabilty due to lack of response variables.

Jerry

ajdude

  • Newbie
  • *
  • Posts: 29
    • View Profile
Ziggy's Enigma Plugin v2.0
« Reply #14 on: June 11, 2007, 07:47:24 pm »
quote:
Originally posted by onthecuttingedge2005

quote:
Originally posted by ajdude

Hi, I have hal6, I tried this plug in, and for some reason when I talk to hal, he doesn't respond at all...

I use the ALF brain



Hi ajdude.

are you using all the plugins that came with A.L.F?

if you are lacking in plugins then you may not have enough response capabilty due to lack of response variables.

Jerry



Hi, It's working well now, I had one plugin disabled, it was the clock announcement, I put that one up, and it worked after that...