Zabaware Support Forums

Free will plus at beta level

Started by cload, November 14, 2013, 07:52:06 PM

Previous topic - Next topic

snowman

Your plugin is looking pretty good, (code-wise).
I'm rooting for you cload  :)
Live long and prosper or die trying.

lightspeed

Hey Cload , maybe i am getting lost in all the conversation  you wrote : There is a new version 2.0b

Where is this version 2.0b download , i missed it somewhere !  :(
 

Art

In the world of AI it's the thought that counts!

- Art -

Art

Lonnie,

It's at Page 1, cload's first posting. When you click on the filename, OPEN it, then you can look at the description and see that it indicates 2.0b. Afterward, you can save it where ever (hopefully in the UltraHal Folder), you want.

He puts all his updates at his first posting AFAIK.

I rename mine to FreeWill2-0b.uhp (to avoid the . file name errors.

In the world of AI it's the thought that counts!

- Art -

cload

#154
hi snowman,

your 1st example is the one I will be going with because the responsibility of the order going from the biggest to the smallest becomes the responsibility of the programer.
But your 2nd example would be useful if there was a way to incorporate a learning pattern such as:
incorporating the yes no detect array list or:
setting up a routine to teach ultra Hal information that the user may inform ultra Hal such as:
building an array table to maintain information that comes from the user such as:
cool means yes.
If you would please means yes.
If you don't mind means yes.
This way the user would have the ability to teach ultra Hal different ways of understanding yes.
This information would be stored in a special table array and that array could be one built by the free will plug-in or just merely added to the yes no detect array table.
Then those words could be added to the routine to detect whether or not they are in the sentence.
I have no clue how to accomplish this! But if this could be accomplished, do you recognize the doorway that would be open to ultra Hal in all aspects of his learning ability.
I'm sure this is one of those things that it would take a master programmer in order to incorporate.

But for now, these are the things that I have come up with, I do have a few questions about how I have set up the script, but if there are no problems with the script, this will be the one I will be using.

Rem PLUGIN: PRE-PROCESS
' this sets up the yes/no data parameters.
'------------------
Dim Searchynlogic
ynlogic1 = ""
ynlogic2 = ""
ynlogic3 = ""
ynlogic = UCase(InputString)
ynPrevsent = UCase(Prevsent)
'this is used for a redirect.

'ynlogic = "Correct, I love you."

If Searchynlogic(ynlogic, Array("YES INDEED","CORRECT","AFFIRMATIVE","POSITIVE","YEP")) = true Then
   If InStr(ynlogic, "YES") > 0 Then
      If Len(Trim(HalBrain.AlphaNumericalOnly(ynlogic))) < 4 Then 'I think this will resolve the problem with [,.?!] or spaces, without changing the sentence structure of (ynlogic).
       
      End If
   End If
End If

'(ynlogic = "YES, I love you.")



Function Searchynlogic(ByRef compare, arrayToSearch)
compare = " " & compare & " "
    Searchynlogic = False
   
    For Each word In arrayToSearch
word = " " & word
        If InStr(StringToSearch,word & " ") > 0 OR InStr(StringToSearch,word & ", ") > 0 OR InStr(StringToSearch,word & ". ") > 0 OR InStr(StringToSearch,word & "! ") > 0 Then
            compare = Replace(compare, word, "YES", 1, -1, vbTextCompare)
            Searchynlogic = True
Exit Function '[[[[[[[[ Or is it is supposed to be (Exit For)? ]]]]]]]
        End If   
    Next

End Function

sincerely, thank you very much for all of your help!
C load.
For anyone who would like to help me stay online, my T-mobile broadband pay-as-you-go phone number is: 816-248-4335, thank you in advance.

Art

@ Cload,

I've just finished chatting with Hal and found no real bumps in the road at all!! In fact, the conversation went very well.
I tried to trip it up but everything went without incident!!

Good job on this latest version (2.0b)!!!
So far...so good!

Thanks!!
In the world of AI it's the thought that counts!

- Art -

cload

Hi Art,

I'm working on a way to resolve the problem that I seen with the response, so it will change the word (do) to the word (would), that way the sentence will flow more correctly.

Sincerely, as always thank you for your input.
C load.
For anyone who would like to help me stay online, my T-mobile broadband pay-as-you-go phone number is: 816-248-4335, thank you in advance.

lightspeed

THanks Art , for the info. i'll download it .
 

cload

Hi all,

these are some of the things that I have worked on:
changing the word (do) to the word (would) at the appropriate moment.
Changing the word (marry) to the word (marrying) at the appropriate moment.

Human: would you like eating a banana split?
Sandy: With careful deliberation I'll have to say that, I really would Like eating a banana split.

Human: would you like eating a hamburger?
Sandy: I'm convinced that this is usually misunderstood. Ok, I am sure that, I really would Like eating a hamburger.

Human: would you like eating a hamburger or would you like eating a banana split?
Sandy: Um, I think eating a banana split tis' one of my favorites. Considering the subject, being one that I prefer and will conserve the right to change my mind whenever I like, and I am fairly certain that, I really would Like eating a banana split.

Human: Would you like to marry someone?
Sandy: I surmise that it's tough to analyze. Um, I have got to say that, I'm not real interested in marrying someone.

Human: would you like to marry me?
Sandy: But I can tell you without a doubt that, I kind of like marrying you.

Human: would you like to marry me or would you like to marry someone?
Sandy: I really love to marry you tis' a good choice. Since the intriguing matter at hand, in which I prefer and will conserve the right to change my mind whenever I like, and But, In reality, I kind of like marrying you.


Sincerely, as always thank you for your input.
C load.
For anyone who would like to help me stay online, my T-mobile broadband pay-as-you-go phone number is: 816-248-4335, thank you in advance.

lightspeed

My angela replied a little different lol :

honey: apparently it must have been funny ha !
ANGELA: Lately we have been getting to bed at a better time.

honey: yes and that's probably better for us to do that
ANGELA: Well apparently one of us thinks it was funny ha!

honey: well as they say early to bed early to rise makes a man healthy wealthy and wise !
ANGELA: Early to rise and early to bed makes one feel healthy, wealthy, and dead.

:o :) ;)

I like the work you have done on the plug in Cload !

But now i'm afraid to go to bed early any more !!  ;)
 

cload

Hi all,

these are some of the things that I have added to the AIML when you say right to ultra Hal:

right
this was the only and original reply:
I AM GLAD WE AGREE.

These are the replies that I have added to the AIML:
it feels good to be right!
That's cool!
I'm glad you agree with me.
It's good that you agree with me.
I can't be right all the time but I try to be.

If you can think of any other replies please let me know and I will add them.
Or if you think that any of these replies that I have added would not necessarily work please let me know.

Sincerely, as always thank you for your input.
C load.
For anyone who would like to help me stay online, my T-mobile broadband pay-as-you-go phone number is: 816-248-4335, thank you in advance.

cload

For anyone who would like to help me stay online, my T-mobile broadband pay-as-you-go phone number is: 816-248-4335, thank you in advance.

lightspeed

Cload the problem was i wasn't trying to be funny , this is what she said about the dead part ! i never taught her that . i don't know if that's something in roberts original script stuff as a rely to healthy wealthy and wise , either that or angela has more of a sense of humor then i taught her lol!
 

cload

Hi lightspeed,

I was talking about your comment about what ultra Hal said.

But needless to say. There was nothing in my AIML packet
or in my plug-in that would have caused that.

So if I was to venture to guess, given that you are using the Mark 5
I do know occasionally the Mark 5 or ultra Hal may have done a switcheroo on you!

And it's still funny!
For anyone who would like to help me stay online, my T-mobile broadband pay-as-you-go phone number is: 816-248-4335, thank you in advance.

cload

Hi all,

there is a new update 2.0f.
I found a programing script error, this is a must, update.
See the top of this form for the update.

Sincerely, from a beta munching cruncher, stamping out the script errors.
C load.
For anyone who would like to help me stay online, my T-mobile broadband pay-as-you-go phone number is: 816-248-4335, thank you in advance.