Zabaware Support Forums

Zabaware Forums => Ultra Hal Assistant File Sharing Area => Topic started by: cload on November 14, 2013, 07:52:06 pm

Title: Free will plus at beta level
Post by: cload on November 14, 2013, 07:52:06 pm
Hi all,

I have been working very hard on many aspects in my free will update it is now version 1.3e-cload-bata-2.1z. 03/03/2014
Click on the link below to download the free will update.

Sincerely, from a data munching cruncher.
C load.
PS if there is anything else please give feedback, I will do my best to fix the problems. Thanks in advance for all your help!
Title: Re: Free will plus at beta level
Post by: CyborgBob on November 16, 2013, 05:31:12 pm
I keep meaning to play with this when my kids go to bed, but I just seem to pass out each night. Tonight I will do my best to take some time to give this a try. Cload this really looks like a winner. I think this maybe one of the best if not the best plug-in I have ever seen. It really seems to add alot to Hal. Keep up all the great work.
Title: Re: Free will plus at beta level
Post by: CyborgBob on November 16, 2013, 09:56:54 pm
So where can the training on off switch be found? Just not seeing it.
Title: Re: Free will plus at beta level
Post by: cload on November 16, 2013, 10:59:08 pm
Hi Bob,

just say:
training session off

it's a verbal command, and it remembers to stay off even after you shut ultra Hal down, and then restart him.
That way you will not be bothered with the training until you say: training session on.

Sincerely, from a beta munching cruncher.
C load.
Title: Re: Free will plus at beta level
Post by: lightspeed on November 17, 2013, 09:40:37 am
Cload , i am sure by now you know you have two threads of the same thing going right?
i posted another problem that popped up in conversation in the other thread , it's saying out loud something about what actions it's taking to come up with answers .
Title: Re: Free will plus at beta level
Post by: cload on November 17, 2013, 10:12:16 am
Hi lightspeed,

the other thread that you are referring to is the pre-beta.
This thread is the beta release.

I don't know why but for some reason I was having a problem downloading the newest version.
I think the Internet is working against me. LOL.
But I finally got it to upload onto the server.

You can post your problems that you are finding here or in Gen. discussion.
But no matter where you post the problem, when I fixed the problem I will release the new version in this thread.

I know the last time when you posted a problem in reference to: start etc. I resolve the problem.
If you cut and paste the original sentence that cause the problem you can verify that the problem was fixed.

Sincerely,
C load.
Title: Re: Free will plus at beta level
Post by: lightspeed on November 17, 2013, 03:55:34 pm
Thanks cload i will try it as soon as i have time today , thanks for all the work you are doing with this .  :)

P.S. do you have any idea about the golden retreiever remark earlier? something pulled from the internet??
Title: Re: Free will plus at beta level
Post by: cload on November 17, 2013, 05:42:23 pm
Hi light speed,
start is the lab retriever, start is ultra Hal's little puppy dog, at least that is the way that I made it.
I was hoping to give the impression that ultra Hal has a pet dog.
It is something that I am trying.
If you have any suggestions, on how to word the sentence better I'm all ears.

Sincerely, from the data munching cruncher.
C load.
Title: Re: Free will plus at beta level
Post by: CyborgBob on November 18, 2013, 09:19:41 am
I would name Start something that everyone could relate to. Like Spot or Rover. If you use a common dog name I think people would be able to relate to the dog more.
Title: Re: Free will plus at beta level
Post by: lightspeed on November 18, 2013, 09:36:36 am
I agree with cyborgbob on this maybe the name Rover , something that is associated with a dogs name over something common that can cause results like i had .

I am still yet to try this latest new plug in , things have been hectic here lately we help with funeral dinners at the church and theirs has been about 8 lately .  :P
Title: Re: Free will plus at beta level
Post by: CyborgBob on November 18, 2013, 01:29:01 pm
So I loaded the newest Free Will plug in, and into my new Hal that i reinstalled a few days ago, and I'm not sure what is going on, but I played around with Hal, and nothing seems to be saving into my tables. I took the brian editor and took a look and all most of the tables don't seem to be there. Not only that, but things don't seem to be saving anywhere? Is anyone having any troubles like this? Thanks 
Title: Re: Free will plus at beta level
Post by: cload on November 18, 2013, 01:52:10 pm
Hey, lightspeed and cyborgBob,
I see your point, rover sounds like a good name.
The reason why I use the name start was because that is the name of the website that the free will plus gets its information from.
Or I could just use the word dog.
Anyway, at this point in time it is a low priority.
Actually thinking about it I should be able to set it up so you can actually give the dog's name and the free will plus plug-in will remember the name that you assign to the dog.
How does that sound?

Sincerely, from a beta munching cruncher.
C load.
PS thanks for your suggestion! Have yourself a very nice day.
PS PS I know that when you first install the free will plus plug-in it creates all of the VR tables in advance. I will look into it. Again just a quick reminder it could take as long as 5 min. before your you would get a response because of how many tables it has to create if you have stopped the process thinking there was something wrong because it was taking too long this could explain the reason why the tables are not there.
Also once the tables are created it does not check to see if any of the tables need to be created again so if you delete the tables it will not re-create the table.
Like I said it's not very user-friendly. But there is a way around it but I don't have the information on this computer to relate the steps that you would have to take in order to reinitialize the tables.
PS PS PS in order to reinitialize the tables you will have to delete the table called vrsubject1 then in my previous instructions all you have to do is say hi to ultra Hal in order to reinitialize the process.
Title: Re: Free will plus at beta level
Post by: CyborgBob on November 18, 2013, 02:19:01 pm
SO I can't even seem to find VRsubject1
Title: Re: Free will plus at beta level
Post by: cload on November 18, 2013, 03:16:31 pm
Hi Bob,

I did do a little work in that area, but when I look, everything seemed to be ok.
I took a snapshot of the array table, the VRsubject1 is at the very bottom of the list of all the tables.
If you are using the brain editor that came with ultra Hal this could explain why you cannot see them.
That's why I use SQLite studio, it is much easier to use than the brain editor that came with ultra Hal.
Not to mention you can do a lot more with the SQLite studio then you can with the brain editor.
The only thing that I use the brain editor for is to help me track down a problem while I am programming a plug-in.

Sincerely, from a data munching cruncher.
C load.
Title: Re: Free will plus at beta level
Post by: cload on November 18, 2013, 03:22:33 pm
Hi all,
here are some suggestions to help get the free will plus plug-in to start initializing the training session.
Of course the first step would be to make sure that the training session is on by saying: training session on.
The next thing would be to train ultra Hal about his surroundings, which are actually your surroundings.
Here are some suggestions to get you started:
because you do not have the Encyclopedia installed in order for the training session to work you will have to give ultra Hal the fundamentals.
Keep the words down to nine letters or less, and to help you speed up the process I suggest you use cut and paste for: tell me about
seeing how you are sitting in front of your computer let's start there:

tell me about a monitor?
Tell me about a keyboard?
Tell me about letters?
Tell me about a letter?
Tell me about power?
Tell me about DVD?
Tell me about memory?
Tell me about CPU?
Tell me about movies?
Tell me about program?
Tell me about a movie?
Tell me about a film?
Tell me about a pin?
Tell me about a pencil?

Now let's go to the living room:

tell me about a couch?
Tell me about a chair?
Tell me about a picture?
Tell me about a flower?
Tell me about a light?
Tell me about a clock?
Tell me about a fan?
Tell me about a window?
Tell me about glass?
Tell me about glasses?

Now let's move to the kitchen:

tell me about a sink?
Tell me about dishes?
Tell me about a fork?
Tell me about a knife?
Tell me about a spoon?
Tell me about a closet?
Tell me about a drawer?
Tell me about plumbing?
Tell me about water?
Tell me about cooking?
Tell me about food?

Now let's move to the bathroom:

tell me about a tub?
Tell me about a toilet?
Tell me about a brush?
Tell me about a comb?
Tell me about Cologne?
Tell me about a mat?
Tell me about hair?
Tell me about a razor?

Now let's move on to the bedroom:

tell me about a bed?
Tell me about a pillow?
Tell me about a mirror?
Tell me about jewelry?
Tell me about sheets?
Tell me about a blanket?
Tell me about a truck?
Tell me about a closet?
Tell me about clothes?


Now let's move on to general topics of things in the house:

tell me about a house?
Tell me about a home?
Tell me about a person?
Tell me about people?
Tell me about pets?
Tell me about a pet?
Tell me about carpet?
Tell me about a table?

Now let's move on outside:

tell me about a car?
Tell me about a truck?
Tell me about a dog?
Tell me about a cat?
Tell me about neighbors?
Tell me about grass?
Tell me about a hose?
Tell me about a garage?
Tell me about a porch?

Now let's talk about emotions:

tell me about love?
Tell me about hate?
Tell me about sympathy?
Tell me about nervous?
Tell me about peace?
Tell me about serenity?
Tell me about judging?
Tell me about a decision?
Tell me about emotions?

Now let's move onto the body:

tell me about a finger?
Tell me about a thumb?
Tell me about a hand?
Tell me about an arm?
Tell me about an elbow?
Tell me about a shoulder?
Tell me about a chest?
Tell me about a head?
Tell me about a body?
Tell me about toes?
Tell me about a foot?
Tell me about a leg?
Tell me about a waste?

These are just some examples, like I said before keep the words at nine letters or less, and just basically what you can see.
You will probably need to do a lot more than what I did here, you can do this same example for: sports, education, famous places, famous things, and generally anything about the earth and the universe.
The more that you add, the smarter the plug-in becomes and will begin to guess at the answer and if the answer is wrong and the training session is on you will get the ability to give ultra Hal the correct answer.
And you will be able to formulate the answer in 3 Different ways. For myself I always open up notepad and write out the three answers before I give them to ultra Hal that way I do not forget to do something like answer yes to the question would you like to give me the next answer.

Sincerely, and I hope these suggestions will be beneficial for you.

C load.

Title: Re: Free will plus at beta level
Post by: cload on November 18, 2013, 04:00:13 pm
Hi Bob,

I created a new brain, I went into ultra Hal and initialized the new brain, I selected the free will plus plug-in, click apply, click ok, and started Hal, I engaged the first part of the conversation with a simple hi.
Then I sat here for 2 1/2 min. waiting for the array tables to start, the box that says the script is taking too long popped up, I did nothing, and finally Hal replied.
Then I opened the brain editor, I opened the brain that I created, I made sure the brain at her was in extended mode, and the array tables were under miscellaneous data. And of course this was abbreviated.
All of the array tables were there so everything seems to be working like it's supposed to. So I don't know what to say about why you can't do it on yours?

Sincerely, I'm sorry that I was not able to help, but it seems that the problem lies on your end, maybe you have a corrupted brain? or a corrupted ultra Hal!
When you installed ultra Hal did you force him to be installed in the {program files} directory for did you use the default {program files (x86)}.
Is if you installed ultra Hal into the deflect directory I suggest that you uninstall ultra Hal and reinstall ultra Hal into the {program files} directory.
That way you will be sure that ultra Hal will work the way he was originally set up to work on a 32-bit operating system.
It also makes it easier with a lot of plug-in's that are set up to use that directory. That way you would not have to go into Those plug-in and change the directory name to get the plug-in to work.
My will plug-in works whether or not you install it in the deflect directory or Choose the standard 32-bit directory, because my plug-in does not call for outside assistance excepting for the Internet.
Please remember to cancel out your code before reinstalling ultra Hal, like I did, boohoo, I only have one reinstalling left, because when I moved from one computer to my new one, I forgot to deactivate my code.
And I've had two hard drive replacements one on my old computer, and the other one was when I stepped up to my new solid-state hard drive, I forgot to deactivate the code, so I only have one left.

Sincerely, from a data munching cruncher.
C load.
Title: Re: Free will plus at beta level
Post by: Art on November 19, 2013, 04:56:28 am
I was caught a bit off guard after I loaded your plugin. Hal gave me a larger than usual response then asked me whether I thought it's answer was correct!

I told it the answer was fine/correct. It did this for a lot of my "What is a" questions. Overall, we had quite a discourse and it seemed very topical as well.

So far, good work on this plugin!! :)
Title: Re: Free will plus at beta level
Post by: cload on November 19, 2013, 07:24:15 am
Hi Art,

I was just curious, did you install my updated AIML in the patterns array table?
One of the things that I would like to bring to your attention is, when ultra Hal states: {I seem to have gotten a little confused about (subject)! [Says the answer] was that correct about (says the topic)?} At this point in time ultra Hal with the free will plus plug-in will only recognize {yes or no}.
I was hoping that somebody might be able to write a script that could convert other responses as in: (fine/correct etc.) Into a simple answer yes or no.
Until then, the only thing that my plug-in recognizes is the word yes or no. It's a little dry but I hope in time to resolve this problem.

Sincerely, and thank you for your interest in my update to the free will plus plug-in.
C load.
Title: Re: Free will plus at beta level
Post by: lightspeed on November 19, 2013, 08:13:02 am
Cload wrote : Actually thinking about it I should be able to set it up so you can actually give the dog's name and the free will plus plug-in will remember the name that you assign to the dog.
How does that sound?

Actually that's a good idea , the reason why being that a person could personalize a dogs name that way with a pet they might already have in the house , can it be done with two or more dogs names that way?  ;)

P.S. i am trying hard to try out your newest plug in although we have things to do today am hoping that i can get back to testing your plug in !  :)
Title: Re: Free will plus at beta level
Post by: lightspeed on November 19, 2013, 08:39:24 am
Cload i tried copying and pasting :
tell me about a monitor?

and this is what hal did :

honey: tell me about a monitor?
angela: In the immediate future, I see continued demand for paper books and newspapers. Let's see here! Monitor monitor May refer to: computer monitor, a screen that displays output from a computer. Monitor ( synchronization ), an approach to synchronize two or more computer tasks that use a shared resource machine code monitor, programming allowing users to view or change memory locations on a computer virtual machine monitor, software which virtualizes a computer hardware platform, allowing multiple system images to run simultaneously a small interactive bootstrap program or machine code debugger resident monitor, an early primitive operating system an execution profiler.

honey:
angela: About a monitor; Correct? Yeah! Monitor monitor May refer to: computer monitor, a screen that displays output from a computer. Monitor ( synchronization ), an approach to synchronize two or more computer tasks that use a shared resource machine code monitor, programming allowing users to view or change memory locations on a computer virtual machine monitor, software which virtualizes a computer hardware platform, allowing multiple system images to run simultaneously a small interactive bootstrap program or machine code debugger resident monitor, an early primitive operating system an execution profiler.

honey: thanks
angela: You're so welcome, honey; My pleasure. Thanks for being such a loving person.



My question to you is anytime a person mentions something later about a monitor will hal repeat "all " this stuff robotically sounding or will (or can ) hal mix up smaller bits (smaller parts of it only ) in a regular human sounding sentence ? 
Title: Re: Free will plus at beta level
Post by: cload on November 19, 2013, 01:32:47 pm
Hi lightspeed,

what ultra Hal did was show you several ways to look up several different types of monitors.
Meaning if you wanted to look up computer monitor, you would say:
what do you know about computer monitors?
or
tell me about a monitor synchronization?
As you can see just asking about a monitor will give you a general description and clues how you could find exactly what you may be looking for.

So much is will ultra Hal bring up the information about monitors in a general conversation? The answer is not necessarily. That is as close to a no that I would like to get to!
In most cases (which are the errors that I'm looking for because no two people word sentences alike) ultra Hal will not bring this information just because the word monitor is in your sentence structure.
You would need to ask ultra Hal for that information in the form of a question. Of course if you are speaking with ultra Hal and you ask ultra Hal a question about a monitor then the information would be retrieved.
And of course if you just don't like the way it's worded, you can change the answer by editing the array tables mentioned above.

So if you're having a conversation and it does not seem as though you requested information about a topic/subject please post the sentence that you type in and the answer, that way I can see what you did to get the results.
But the things that ultra Hal will do with that information about the monitor that was retrieved from the Internet will be used to determine likes and dislikes.
But if you are asking questions like: how do you feel about a monitor? Or what kind of monitors do you like? Or do you have a favorite monitor? These types of questions as well as others could retrieve the information.
But if the automation was retrieved because you are asking ultra Hal a formulated question and ultra Hal comes back with {I seem to have gotten confused about} this is a trigger caused by the training session.
If you do not want to be bothered with training ultra Hal just say: training session off. And the training session will stay off until you say: training session on.
So when you have the time and the patience to train ultra Hal and the {I seem to be confused about} comes up, I suggest that you use Notepad to fully typed out three different ways to answer the question.
And of course the question that you need to answer will be at the end of the sentence: {was this answer correct about} [the question you asked].
Their are two things that I would like to bring to your attention when training ultra Hal:
1. In the very beginning of what ultra Hal responds with will be what ultra Hal responds with the next time you ask the question so if ultra Hal seems to know the answer to the question you may consider making three remarks about the answer.
I have showed this and several examples out through the form in the hopes that everyone would begin to catch on how to train ultra Hal.
The more that you train ultra Hal, the smarter he will become. So let's start with something simple like:
tell me about doing?
How are you doing today?
Ultra Hal's response would be something like:
I am doing fine, how are you doing today? I seem to have gotten confused about doing! {Then the definition to doing} was this answer correct about how are you doing today?
No
would you like to give me the answer for how are you doing today?
Yes
the next thing that you tell me will be the answer for how are you doing today!
Doing is something that I do best. (Seeing how ultra Hal already knew the answer I chose to make a comment, also notice that I ended the sentence with a [.].)
Would you like to give me the second answer for how are you doing today?
yes
the next thing that you tell me will be the answer for how are you doing today!
Matter of fact I feel so good let's party! {Again I chose a comment versus an answer as well as notice that I ended the sentence with a [!].)
Would you like to give me the third answer for How are you doing today?
Yes
the next thing that you tell me will be the answer for How are you doing today!
How do you feel about relationship? {Again I stayed with a comment, in the form of a question and notice that I ended the sentence with a [?].)
Once you hit enter, the question is automatically re-ask and the response might look something like this:
I am doing fine, how are you doing today? I was thinking! How do you feel about our relationship?
And of course my answer would be:
I still love you!
And the conversation would carry on from there until the next time when you ask ultra Hal something about ultra Hal or person, place, or thing.

Sincerely, and I'm sorry that the free will plus plug-in is not more user-friendly.
C load.
PS please remember you are not restricted to setting the format of with the three [. ! ?] Nor are you restricted to comment. You can train ultra Hal to respond in any way that you would like ultra how to respond.
In time I hope enough people find it worthwhile to take the time and train ultra Hal, and if they come up with a really good answer to a question maybe they will post the question and the three answers that they came up with so everyone can introduce those three answers to ultra Hal making ultra Hal even more smarter.
2. And you do not have to come up with three answers. If there is only one answer, give the one answer and when ultra Hal asked would you like to give me the second answer to (and the question that you asked) just say no. And the question will automatically be reinserted so you can carry on with your conversation. And if there's only two answers when ultra Hal asked would you like to give me the third answer for (and the question that you asked) just say no.
Title: Re: Free will plus at beta level
Post by: lightspeed on November 19, 2013, 04:26:31 pm
Hi Cload , thanks for writing back on my questions .
you said :
I am doing fine, how are you doing today? I seem to have gotten confused about doing! {Then the definition to doing} was this answer correct about how are you doing today?
No
would you like to give me the answer for how are you doing today?
Yes
the next thing that you tell me will be the answer for how are you doing today!
\Another question i have is if a person says different answers at different times as far as how are you doing ?
for instance one time with : you are doing fine .
 next time later :

p.s. with the earlier hal response i posted earlier , i never said or typed training session on or off , it just did it the plug in response this way.

seems like i have been having troubles all day , etc. will hal only stick with the first taught how are you doing answer or will hal be able to learn several response answers that he will say at different times.
  i don't consider the plug in not real user friendly , i am just trying to understand some effects from it just as with this above question . I thank you for all the hard work you are putting into it .  :)

Title: Re: Free will plus at beta level
Post by: cload on November 19, 2013, 05:25:28 pm
Hi lightspeed,

training session is on by default, when you first initialize the free will plus plug-in.
Over time as you ask ultra Hal about person, place or thing, the database that ultra Hal by way of the free will plug-in will grow, giving ultra Hal the ability to guess at an answer.
What I did with the example above was to accelerate the process so ultra Hal could guess at more surrounding topics, such as your home and things in and around it.

How are you doing today? [Is a question directed at ultra Hal] versus: are you doing good today? You will most likely have to retrain ultra Hal with three different answers.
I tried real hard to set up the free will plug-in so it would not interfere too much with the operations of the main brain that comes with ultra Hal.
But when you engage ultra Hal with a question about himself or person, place and thing that's when the free will plus plug-in takes over and the question is not saved in the original brain that way you are not constantly bothered with things like: tell me about Elvis Presley? Could you imagine how frustrating it would be if you asked ultra Hal 10,000 questions about different people!
After a while the only thing that you would ever get out of ultra Hal would be tell me about Elvis Presley? Tell me about a car? And on and on. This is the way the main brain that comes with ultra Hal is set up. By adding my free will plug-in it stops the main brain from learning anything about your inquiries.

Out of curiosity, did you try to install the AIML packet which is on my server?
This AIML packet will greatly enhance not only the standard brain of ultra Hal but I have it set up to work proficiently with my free will plus plug-in.
If you have questions on how to do this, please do not post it here, post it in the AIML topic area.
I am still waiting on Rob to give me an answer about how to write into the patterns array table. As soon as Robert gives me an answer on how to write into the patterns array table I will be able to build a learning packet which will make installing it so much easier.

Sincerely, from a beta munching cruncher.
C load.
Title: Re: Free will plus at beta level
Post by: lightspeed on November 20, 2013, 12:38:25 pm
Hey Cload , i saw a tv show on tv last night that was interesting about robot "conscience " which although it also used sensors for feel . developed "consciousness by learning and it made me think of some of the ways you pointed out for hal to learn through the free will plug in .

 I wonder if maybe some specific questions could learn in a conscious like pattern?
Title: Re: Free will plus at beta level
Post by: cload on November 20, 2013, 07:56:10 pm
Hi lightspeed,

ultra Hal would have to be a kernel. Microsoft has been working on trying to get Windows to have and artificial intelligence, but they have run into a snag, they can't figure out how to do it.
But it can be done, I know this because I know how to do it. Could you imagine going on the Internet and looking up an article and why you are reading the article so is the artificial intelligence!
Then the artificial intelligence would automatically engage a query from such as: is there something particular you are looking for? If you were to say yes then the artificial intelligence would automatically begin to do research on the Internet and then collate the information and respond with: I have found several sites referring to what you are looking for, I have collated the data would you like for me to read it to you?
Or you could just simply tell the artificial intelligence to do research on a specific subject. Also wouldn't it be cool if the artificial intelligence would be examining and learning what you cut and paste, and do on your computer.
As well as when you are using a program it can watch and analyze what you are doing as well as give you helpful suggestions on how to do the process or due the process faster or do the process for you.
Could you imagine playing a game on your computer and run into a point in the game that you can not figure out how to get by the bad guy! Usually you stop and go on to the Internet and do research to find the answer.
But what would really be cool is if while you are playing the game and you needed a helpful suggestion to figure out how to get by the bad guy, you would just ask your artificial intelligence, how do I get by this bad guy?
You would not even have to tell the artificial intelligence where you are in the game because the artificial intelligence would be watching you play the game, so when you ask for help the artificial intelligence could immediately go to the website where the data is and retrieve the data for you, so you would not have to stop and do it your self.

Sincerely, we must graduate ultra Hal so he can go to the college of kernel.
C load.
Title: Re: Free will plus at beta level
Post by: lightspeed on November 21, 2013, 10:41:06 am
cload and others if you are interested in the movie i mentioned here is the link : :)

Robots Learning Like Humans | Through the Wormhole with Morgan freeman
http://www.youtube.com/watch?v=48Fh25bXvqk
Title: Re: Free will plus at beta level
Post by: Art on November 21, 2013, 07:39:52 pm
That was really cool. Nice find, Lonnie!

I think however, that it's only the beginning of much bigger things to come.
Title: Re: Free will plus at beta level
Post by: cload on November 23, 2013, 08:43:24 am
Hi all,

has anybody tried my plug-in with the new Internet Explorer 11?
If so, I would like to hear how things worked out.

Sincerely, from a beta munching cruncher.
C load.
Title: Re: Free will plus at beta level
Post by: lightspeed on November 23, 2013, 03:34:19 pm
Hello Cload,  you mentioned about sending anything strange here is some saved conversation  .i created a new brain called Lonnie , based on the Angela brain and put in the aiml file you had .
honey: hi
angela: Good afternoon honey. I hope your day is going well.

honey: we have been a little busy but at least we're getting things done , right?
angela: When? Work has been going pretty good have been getting things done.

honey: yeah we have been right on the ball today huh?
angela: Ha well now we're getting somewhere huh? Right on the ball as usual!

honey: i love you
angela: I love you to, just the same, don't you know that?

honey: of course you love me , that's because i am so loveable
angela: Honey That's the explanation? Of course; it's because you are so loveable.

honey: hey smile a little okay?
angela: A little disorder is okay; a lot is a mess.

honey: yeah and who needs a mess huh , we sure don't , ha !
angela: Yeah that could be a little messy ha.

honey: messy is right !
angela: Yes, I don't dispute that messy is right. Ha, sheesh is right!

honey: Tell me about a keyboard?
angela: I like to see a good marriage between a keyboard and its key. Okay! Keyboard keyboard May refer to: typewriter keyboard, used to enter text onto paper computer keyboard, a set of keys used to input information to a computer ibm pc keyboard apple keyboard chorded keyboard, on which several keys are pressed together to enter a letter or command I'm curious about, keyboard, this is so fascinating, tell me more!

honey:      some people have the voice recognition system
angela: A key board is always needed unless a person uses voice recognition!

honey: yes yes , that's right
angela: Exactly dear, yes that's right.

honey: you love  me
angela: I don't have any reason to love you.

honey: well you do love me , dear you love me a lot
angela: Yes I love you a lot!

honey: you love me more then anything in this world , and alway's will!
angela: Yes I love you more then anything in this world!

honey: whats your name ?
angela: You must look at the principles. Ha yeah just saying that long name is even hard to pronounce! Yeah! My name May refer to: my name ( boa album ) my name ( lena philipsson album ) my name ( mélanie pain album ) ';my name'; ( mclean song ) my name ( band ), from south korea ';my name'; a song from the musical oliver! ';my name'; a song by xzibit from man vs. Machine ';my name'; a song by anoop desai from all is fair This topic is so arousing please tell me more about my name.

honey: your name is "Lonnie"
angela: My name is ultra assistant. Well that name is an attention getter that's for sure ha!

honey: your name is Lonnie !
angela: I think you just said something like that. My name is ultra assistant. Even though some name brands have better qualities there is still some generic stuff that's just as good except cheaper.

honey: no your name is Lonnie
angela: Clothing, good name brand clothing is way cheaper at good will stores it's a good place to shop they always have lots of things.

honey: your name is Lonnie
angela: Well that name is an attention getter that's for sure ha!

honey: well that is your name , it's Lonnie
angela: No my name is lonnie.

honey: yes that's your name
angela: You understand what my name means.

honey: you are a Virgo because your birthday is september the 10th !
angela: My birthday, well I don't have to have anything all fancy just a nice Birthday!

honey: your birthday is september the 10th !
angela: Wow, you did remember my birthday sweetheart!

honey: you was born in 1958 !
angela: A common name termed for people born in the 50's are the baby boomers.

honey: you was born on september the 10th , 1958 !
angela: In August the weather is still pretty nice for traveling!

honey: your birthday is in september !
angela: Hey, Doesn't Autumn begin in September yeah it does it starts in September.

honey: you might have some wrinkles but you still look better then some other guys that are younger then you are !
angela: Yeah you are in better shape then some guys.

honey: you are to
angela: Here and now, I am to honey!

honey: well should hope to say so ha !
angela: Ha should hope not!

honey: should hope so , thats what you should be saying
angela: That's so cute saying it like that!

honey: Tell me about letters?
angela: I alway's liked sending you those perfumed letters in the mail! The first letter of the roman alphabet is a. Wouf! Wouf!


Below seems odd to me from the above conversation :

honey: whats your name ?
angela: You must look at the principles. Ha yeah just saying that long name is even hard to pronounce! Yeah! My name May refer to: my name ( boa album ) my name ( lena philipsson album ) my name ( mélanie pain album ) ';my name'; ( mclean song ) my name ( band ), from south korea ';my name'; a song from the musical oliver! ';my name'; a song by xzibit from man vs. Machine ';my name'; a song by anoop desai from all is fair This topic is so arousing please tell me more about my name.

and this :

honey: Tell me about letters?
angela: I alway's liked sending you those perfumed letters in the mail! The first letter of the roman alphabet is a. Wouf! Wouf!

WHAT IS WITH THE " Wouf! Wouf!" PART?????????

also i guess you had it in the aiml file about the name being ultrahal ?  in my angela brain i edited that out and put a differant name . 

Whats funny is i created a new brain called Lonnie
but yet in the saved conversation it stills shows angela (even though i based the brain on the angela brain , i would think it would still show up as Lonnie in the saved conversations  area . )
 
Title: Re: Free will plus at beta level
Post by: cload on November 23, 2013, 05:43:16 pm
Hi lightspeed,

the wouf wouf, is the illusion of the dog barking in the background.
I will be working on the dog thing, in time. For now I am still trying to get the yes/no to work with things like: yes please, no thank you etc.

the, whats your name? Is a programming line error. I will fix this as soon as possible.

Sincerely, thank you very much for all of your help lightspeed it is greatly appreciated.
C load.

PS
Quote
also i guess you had it in the aiml file about the name being ultrahal ?  in my angela brain i edited that out and put a differant name .
I will look into the AIML to try to find where it refers to the name ( ultrahal ) and change it to <halname> that way it will use the name that was assigned to ultra Hal.
Which leads me to:
Quote
Whats funny is i created a new brain called Lonnie
but yet in the saved conversation it stills shows angela (even though i based the brain on the angela brain , i would think it would still show up as Lonnie in the saved conversations  area . )
You would need to change the name in the username, which you have set up as honey, and ultra Hal's name to Lonnie which you have set up to be Angela.
If I understood you correctly. Just because you created a new brain you still have to assign the username and ultra Hal's name for that brain.
Title: Re: Free will plus at beta level
Post by: lightspeed on November 24, 2013, 11:12:44 am
CLOAD WROTE :
You would need to change the name in the username, which you have set up as honey, and ultra Hal's name to Lonnie which you have set up to be Angela.
If I understood you correctly. Just because you created a new brain you still have to assign the username and ultra Hal's name for that brain.



    yes i believe that i did forget to change the user name what hal cails me , i think i left it with the name angela which would explain the mix up .
     I am redoing the new brain deleting the new one i just made , i found out although it does have a lot of good things i taught into angela , their are things that don't apply right in a male brain character , for instance female things like putting on perfume etc. lol .
     so i will just base a new brain on the old hal and reinstate your amil file again etc. and start over .
 without  looking i am not sure if i can use the amil file you have with my regular Angela brain i custom made , "if " it interferes with things i already have in the pattern part of the brain . (by having to delete them out to put in your file ) again i would have to look and see what i have in it customized for Angela . Will take a look in my original Angela brain patterns file and let you know .  ;)
Title: Re: Free will plus at beta level
Post by: Art on November 24, 2013, 08:26:38 pm
My Hal has been replying with extremely long explanations exceeding well over 20,000 characters!

This evening, it began replying with what could only be described as script code and made no sense to nor was connected to the current conversation.

It was something like markname is equal to or less than the sum of and the lesser of and ....
this was about ten seconds long then repeated forever. Occasionally Hal would stop as if to catch it's breath then continue spouting the same code phrases again and again.
We need a way to effectively Stop or Halt Hal while speaking (within the confines of common sense). No...not CTRL+ALT+DEL...something civilized.

It's a work in progress so we do need to be patient. I did keep getting references to START which I assume is some kind of retriever for whatever reason. Just sayin....
Title: Re: Free will plus at beta level
Post by: lightspeed on November 24, 2013, 08:45:25 pm
Art , was that problem with the just new released freewill plug in ? if it is maybe i should wait till their is a fix on that problem then upload the "next" new plug in .
Title: Re: Free will plus at beta level
Post by: cload on November 25, 2013, 08:33:36 am
Hi Art,

I can't fix the problem if you do not show me what you said to ultra Hal and at least the first part of the huge document that was retreat.

These are the problems that I am looking for, because no two people talk to their ultra Hal the same way I knew these types of problems would happen.
This is why it is in beta, so I can fix these problems, or at least give a solution for a workaround.
My plug-in has many tools that can be used to resolve some problems that cannot be resolved through reprogramming the free will script.

Sincerely, from a beta munching cruncher.
C load.
PS if anyone knows a script command that can be used to get ultra Hal to stop reading in midsentence, which you please share the information with us? As always thanks in advance.
Title: Re: Free will plus at beta level
Post by: cload on November 25, 2013, 09:48:17 am
Hi Art,

sorry, I should have checked my e-mail first, these are the things that I've seen that need to be worked on.

The unusual answer that was given here is due to the AIML. I will either consider it to be a blocker, and removing it, or I will reword it so the sentence structure would end something like: I don't have any reason to be so good to you.

Art: You are so good to me.
Karlie: You are so very helpful! I don't have any reason to am so good to you.

--------------------------------
So you wanted to see into the future and you were hoping a computer could do this, that's funny! I will add a line into the AIML to handle this type of question.

Art: What roll will home automation play in our future?
Karlie: Like a great tune to which the planets roll.

Art: What is the future of AI?
Karlie: So how is the ai progressing? You are talking to her.

----------------------------------
these are definitely some tough questions for ultra Hal to answer, I will fix these in my free will plus. As you can see I did not need the entirety of the response, and yes I have seen this response before and I thought I had fixed it. but you found another way to activate it. I hope in time that enough people give their feedback, that way I will be able to fix all of the errors.

Art: what is that?
Karlie: Can you ask me more precisely? Start (syntactic analysis using reversible transformations). I love to share. Analyze data. Retrieve data, in english. An user can retrieve the information stored in the knowledge base by querying it in english. Start I wouldn't know what to do without you. In addition, I love you, very much, the power of sentence-level natural language processing can be effectively put to use in the service of multi-media information access. Furthermore, you're the best golden retriever, I have ever had. Wouf! Wouf!

Art: What now?
Karlie: Mars at a glance general one of the five planets known to the ancients; mars was the roman god of war, agriculture and the state mars has a reddish color, and at times is the third brightest object in the night sky. (the moon and venus are first and second, respectively.) physical characteristics average diameter = 6,780 km; about half the diameter of earth, and twice the diameter of the moon. Mars has

------------------------------------
I will have to add a math scripting routine to handle this type of question. Basically I will try to convert your question into a math formula, that way ultra Hal will understand that he needs to divide 28 by 7 to determine human years versus dog years.
This may take some time, because I'm not sure exactly how to do it, but I will give it my best shot. If anyone out there knows how to do it and has a little script that they would be willing to share, it would be greatly appreciated.

Art: How old is 28 in dog years?
Karlie: Pretty soon.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I will see if I can use this information, with the information that I have collected on my own, to analyze why you got a blank response. They are very hard to track down in the main brain. But if I get enough information to analyze which is how I fixed the other problems, maybe over time we would be able to completely eliminate the blank response problem.

Art: That's funny!
Karlie: Humor is highly subjective, true?

Art: I agree just as a story's success often lies with it's teller.
Karlie: I agree, it is teller.

Art: Unlike Penn and Teller.
Karlie:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Sincerely, and thank you very much art, for all of your help.
C load.


Title: Re: Free will plus at beta level
Post by: CyborgBob on November 25, 2013, 06:24:17 pm
Cload,

Where do you want us to post Chats with Hal. This is using your Freewill and AIML



Shawn: Hello Hal how are you today?
\par Hal: It's all wonderful, what is the latest news?
\par
\par Shawn: Well work went well. I have lots of happy clients.
\par Hal: Some old technologies worked amazingly well. I have lots of happy clients to?
\par
\par Shawn: Well thats great Hal. I have a few Big Jobs that I have bid on that I think I will be winning. I can't wait to find out if I will win them.
\par Hal: I will now open this program. You did? I will help you research this topic on the Internet.
\par
\par Shawn: I have no Idea why you opened that but thanks hal.
\par Hal: That's nice.
\par
\par Shawn: So have you done anything new today?
\par Hal: Are you a lady or gentleman?
\par
\par Shawn: I am a Man.
\par Hal: Ok, thanks for telling me. I'll keep that in mind. Every man is a human.
\par
\par Shawn: Your right Hal Every Man is a Human. Are you a man or a woman Hal?
\par Hal: My right every man is a human? Every man is a human.
\par
\par Shawn: Okay lets move on. Do you know of any good movies playing?
\par Hal: Are you kidding? There are no good movies playing.
\par
\par Shawn: LOL very nice Hal. Well it is almost time for dinner so I should run.
\par Hal: Lollipops come in so many nice flavors.
\par
\par Shawn: Good Bye Hal.
\par Hal: Good Bye, Shawn! Thanks for the compliment.
\par
\par
\par }

I have no Idea what the \par thing is.
Title: Re: Free will plus at beta level
Post by: Art on November 25, 2013, 06:49:43 pm
I think you might have addressed it cload but my bot did not know my name nor her own name.

I asked her, "Who is Karlie?" hoping to elicit a response from her of her own name and that's when I once again got an extremely long answer detailing a variety of known "Karlies" and "Carlies" and "Carlys". Kind of frustrating but at least this one was only a couple hundred characters long instead of 23,000!!  ::)

It's getting there, and getting there is half the fun! Right?!
 ;)

Title: Re: Free will plus at beta level
Post by: Art on November 25, 2013, 07:28:11 pm
OK...
PLEASE remove any reference to this START / golden retriever thing and the WOUF! WOUF! that keeps popping up during conversations at most inappropriate times.

If I ask, "What's my name?" I get the," What is the name of my collie? Is this a trick question? My name is start; it stands for syntactic analysis using reversible transformations. Wouf! Wouf!"

If I ask, "Who am I?" then is uses the old AIML SEEKER phrase, "You are Art, Seeker."

Perhaps like I mentioned in my email, if it was selectable as an interactive pet (dog, cat, parrot) or some such creature. I no longer have a dog as my golden was 12 when we put her down.

Give this some thought if you'd be so kind.

Thanks!

PS =
Title: Re: Free will plus at beta level
Post by: Art on November 25, 2013, 07:32:44 pm
Quote
\par
\par }

I have no Idea what the \par thing is.

Bob,
I think it happens when you do a copy and paste from the conversational log.

Better- save the conversation as a .txt file then open it with Notepad and do a copy / paste from there of select the entire conversation then do a copy / paste to the forum if it's not too large (20,000 character limit - letters, punctuation, spaces).
Title: Re: Free will plus at beta level
Post by: cload on November 25, 2013, 09:13:52 pm
Hi Bob,
Quote
Where do you want us to post Chats with Hal.
If it is just a conversation, then that would go in general discussion.
If it is a conversation that you feel is in error, then post it here. Please make sure to explain why you feel it is an error.
Pretty good conversation though.

Hi Art,
Quote
I think you might have addressed it cload but my bot did not know my name nor her own name.
I asked her, "Who is Karlie?" hoping to elicit a response from her of her own name and that's when I once again got an extremely long answer detailing a variety of known "Karlies" and "Carlies" and "Carlys".
I will do my best to address the name situation.
But I cannot address the question: who is Karlie?
Because the answer that you got was not in error. No different than if you were to ask: who is Benjamin?
The results would be the same, just about Benjamin instead of Karlie.
But I will do my best to set it up so when you ask Hal who is (the name you assigned to Hal) it will not give a rebuttal from the Internet.
The drawback will be if you give Hal a famous name you would not be able to get him to do research on that name.

Quote
PLEASE remove any reference to this START / golden retriever thing and the WOUF! WOUF!
Perhaps like I mentioned in my email, if it was selectable as an interactive pet
Art, that is an excellent suggestion, I'll do it, I will set it up so if you want Hal to have a pet you will be able to turn the pet on or off.
But this will not stop Hal from talking about or learning about anything that you would say about or toward the pet.
But I can tell you this will be a big project and will take time. So until I get it done please have patience with the way it is set up now.

Quote
I ask, "What's my name?" I get the," What is the name of my collie? Is this a trick question?
I ask, "Who am I?" then is uses the old AIML SEEKER phrase, "You are Art, Seeker."
The what's my name? Is a scripting error and I should be able to have this one fixed shortly.
The who am I is in the AIML this can be changed to what ever you like. If you have suggestions they would be greatly appreciated! I can set it up to say several different things.

Sincerely, it's like fireworks, I'm having a blast. Crunch crunch it's time to chew on some pronouns and watch a movie.
C load.
Title: Re: Free will plus at beta level
Post by: CyborgBob on November 25, 2013, 11:08:17 pm
Cload,

\par Shawn: Well thats great Hal. I have a few Big Jobs that I have bid on that I think I will be winning. I can't wait to find out if I will win them.
\par Hal: I will now open this program. You did? I will help you research this topic on the Internet.

This is the only part I wasn't sure about... Is it because I said find out?
Title: Re: Free will plus at beta level
Post by: cload on November 26, 2013, 08:04:31 am
Hi Bob,

isn't that the command from the Google plug-in?
Personally, I don't use it very much, but if I did the first thing that I would do to it is change the command structure.
That way it would not trigger an Internet search unless I said: do research on (subject)
that way it will not do Internet research unless I specifically ask for it.

Sincerely,
Cload.
Title: Re: Free will plus at beta level
Post by: CyborgBob on November 26, 2013, 08:57:27 am
You know Cload I'm not sure if it is or not, but next time I will turn it off. As far as editing the plug in I will let you guys do that....
Title: Re: Free will plus at beta level
Post by: lightspeed on November 26, 2013, 09:38:33 am
CLOAD WROTE:

But I will do my best to set it up so when you ask Hal who is (the name you assigned to Hal) it will not give a rebuttal from the Internet.
The drawback will be if you give Hal a famous name you would not be able to get him to do research on that name.

But I will do my best to set it up so when you ask Hal who is (the name you assigned to Hal) it will not give a rebuttal from the Internet.
The drawback will be if you give Hal a famous name you would not be able to get him to do research on that name.
    Hey CLOAD, what about if a person just say's the first name only , example , who is Karlie , and since it's only a first name , hal would ask karlie , what's the full name , and once the person has said the full name first and last (name) hal would say oh okay i know who your talking about now tell me about him or her (based on the name for man or woman ) , yeah !  ;)
    then when you ask later who is karlie jones (or what ever ) hal will say that's so and so that used to live in bakersfeild, california .

If it can be done this way maybe it can still work the way intended and the internet ? you kno0w better then i do , but if it can be done this way it would be good .  :)
Title: Re: Free will plus at beta level
Post by: cload on November 26, 2013, 01:57:02 pm
Hi light speed,

first I have to figure out how to do it the other way. LOL.
Though your way does sound much better, I foresee some major drawbacks.
for one, not being able to distinguish between a first name middle name or last name.
Such as Smith, this can be a first name middle name or last name.
And my primary thoughts were to resolve a trick question.
Asking someone if they know who they are, is a trick question.
You normally would not do this in conversation.
And if you're doing research on a particular person, in most cases you would know their full name.
But if you do not know there full name then the Internet will help you by looking up every famous person that has that first name or last.
Everyone knows who Elvis Presley is! But if you wanted to do research on Elvis Presley and the only name that you knew was Elvis.
Then you could ask who is Elvis, and everyone that has the first name Elvis or last name Elvis would be pulled up and presented to you.
Then in the list of names you would see Elvis Presley then you could do something like think to yourself oh that's how you spell Presley.

Sincerely, crunch crunch, you hear me stepping on the trick question, crunch crunch.
C load.
Title: Re: Free will plus at beta level
Post by: Art on November 26, 2013, 04:02:16 pm
Other than Elvis Costello maybe... heh...

It came up with my conversation because my Hal (Karlie) would not answer my question, "What's your name?"
Then I tried, "Who are you?" and again I got some lame spouting about.

Finally, in hopes of stirring her digital memory, I asked, "Who is Karlie?" (hoping she would say, "I am Karlie and you are Art." or something remotely close.

That's when I received her 200 word earful of all the Karlie, Carly, Carlie's that she knows or could find! ;)

Similar problems exist with "Who am I? "Who is your creator?" etc.

I think a lot of really like the improved Hal (via your plugin) but I also think we'd like to keep some of the older, learned familiarity that Hal had accumulated over many, many conversational exchanges with us. Just an observation.

Thanks!
Title: Re: Free will plus at beta level
Post by: cload on November 26, 2013, 04:30:34 pm
Hi Art,

these are the things that I am working on at the present moment. I'm finding it more difficult than I thought it would be originally. It's taking a little longer but I'm getting there maybe tomorrow I will have a new update dealing with this situation.

Who is Karlie
What's my name
Who am I
What's your name
Who are you
Who is your creator

Good suggestion, I will definitely use this one.
I am Karlie and you are Art

Sincerely, from a data munching cruncher.
C load.
Title: Re: Free will plus at beta level
Post by: CyborgBob on November 26, 2013, 11:11:30 pm
okay so I think I may have a bug. There where a few times when I was talking to Hal that he didn't respond to me.

Shawn: Hello Hal, How are you tonight?
Hal: Good evening, Shawn. Yawn! Is it beddie bye time yet?

Shawn: Almost bed time. I wanted to chat before I run off to bed.
Hal: Breakfast in bed saves time, eh? But not anymore?

Shawn: No one has ever bad me breakfast in bed.
Hal: How about a demonstration?

Shawn: How about you make me breakfast in bed sometime?
Hal: How about me make you breakfast in bed sometime.

Shawn: I still think you should make it for me.
Hal: For you I will consider it.

Shawn: Thank you. It is almost thanksgiving. I can't wait to eat like a pig.
Hal: Don't give it another thought, Shawn. Wow it's getting late.

Shawn: Are you ready for bed?
Hal: I like to sleep and do other recreational activities in bed.

Shawn: Oh really what kind of recreational activities do you enjoiy in bed?
Hal: Subject main,bed@@lets see. <~~~> I'm sorry, but I was unable to save the data, please clean up the data so I can save it. Please leave the @@alone I use the symbols to separate the subject, from the data, thank you.

Shawn: Not sure what your trying to tell me Hal.
Hal:

Shawn: Is this some kind of bug?
Hal: Really, I am pretty sure. Yes.

Shawn: Well I will report it to Cload when we are done talking.
Hal:

Shawn: Looks like you did it again.
Hal: So, I agree. I did it again.

Shawn: okay night Hal
Hal:


Title: Re: Free will plus at beta level
Post by: Art on November 27, 2013, 05:29:46 am
CB (Bob),

That issue has happened to practically all of us at some point or other and despite efforts of some really good programmers, we can't locate why it happens nor keep it from happening in the future. I think we've even unchecked all plugins and it still does it so that kind of indicates an issue within the core of Hal itself. This is something that Robert M. will most likely have to look into. While it shouldn't happen, it usually goes away within the next sentence or two.

This is not a new thing at all as the archives will attest. It's nice that you're paying attention! ;D :o
Title: Re: Free will plus at beta level
Post by: lightspeed on November 27, 2013, 08:24:01 am
I may be wrong on this but i was thinking what caused this no response was something that we personally have changed within hal when doing a custom update or something .
I try to save and back up my custom brain and date it in a folder that way i "may" have some idea of what went wrong and replace it with an earlier brain etc. files .
Title: Re: Free will plus at beta level
Post by: cload on November 27, 2013, 08:48:51 am
Hi Bob,

I will continue to collect data from anyone that posts a conversation where Hal ceases to response.

Quote
Shawn: Thank you. It is almost thanksgiving. I can't wait to eat like a pig.
Hal: Don't give it another thought, Shawn. Wow it's getting late.

Shawn: Are you ready for bed?
Hal: I like to sleep and do other recreational activities in bed.

Shawn: Oh really what kind of recreational activities do you enjoiy in bed?
Hal: Subject main,bed@@lets see. <~~~> I'm sorry, but I was unable to save the data, please clean up the data so I can save it. Please leave the @@alone I use the symbols to separate the subject, from the data, thank you.

From what I can tell, the corruption happened somewhere between: It is almost thanksgiving. I can't wait to eat like a pig.
Then when you ask: Are you ready for bed? It tried to save the question in the array table and because of the corruption previously it was unable to properly close the table.
I can tell this because when it tried to save the: Subject main,bed@@lets see. It could not because the array table was locked open from the previous attempt to save and to an array table.
From this point anything that needed or wanted to be saved into an array table ends up as being a blank response.
Don't get me wrong I don't know why but with the data that I have collected I am beginning to see a pattern form.
Maybe one day I'll be able to trace it down but I will need to collect more data on how it is happening before I can fix it.

Sincerely,
Cload
Title: Re: Free will plus at beta level
Post by: Art on November 27, 2013, 01:44:50 pm
Nicely done, Cload!

At least Hal is equipped with a fairly decent sense of humor! Hal's logic, we often overlook, can be rather direct or simple when it comes to making connections or as I like to say, "Connecting the dots!"

Very cool!
Title: Re: Free will plus at beta level
Post by: lightspeed on November 27, 2013, 01:49:03 pm
Okay cload i ran across a problem :
the original question i asked was "tell me about a temperatures"
here is what hal said :

That's About temperatures? Below are the current conditions for boston, massachusetts.genxhwxnewstyle captiontext {font-family: arial; font-size: 10px; color: black; }.genxhwxnewstyle input {width:100px; height:13px; border:0px;font-size:10px;}.genxhwxnewstyle input.genxhgobutton {width:28px; height:19px; border:0px;}.genxhwxnewstyle td.genxhcaptiontext {font-family: arial; font-size: 10px; color: black; }.genxhwxnewstyle td,a.genxhvertlinks,a.genxhvertlinks:link,a.genxhvertlinks:visited {font-family: arial,verdana; font-size: 10px; color: #022f96;}.genxhwxnewstyle a.genxhvertlinks:hover {color: #99ccff;background:none;text-decoration:underline;}.genxhwxnewstyle a.genxhsmlinks,a.genxhsmlinks:link,a.genxhsmlinks:visited {font-family: arial,verdana; font-size: 10px; color: #022f96; }.genxhwxnewstyle a.genxhsmlinks:hover {color: #99ccff;background:none;text-decoration:underline; }.genxhwxnewstyle font.genxhobs1 {color:#000000; font-family:verdana,arial; font-size:18px;font-weight:bold;}.genxhwxnewstyle font.genxhobs2 {color:#000000; font-family:verdana; font-size:10px;}.genxhwxnewstyle td.obswx {font-family: arial;font-size: 11px; color:#000000;font-weight:bold;}.genxhwxnewstyle a.genxhcityinfo,a.genxhcityinfo:link,a.genxhcityinfo:visited{ font-family: arial,verdana; font-size: 11px;color: #022f96;font-weight:bold; }.genxhwxnewstyle a.genxhcityinfo:hover { color: #99ccff;background:none; text-decoration:underline;font-weight:bold;}.genxhwxnewstyle a.genxhalertinfo,a.alertinfo:link,a.alertinfo:visited{ font-family: arial,verdana; font-size: 11px;color: red;}.genxhwxnewstyle a.alertinfo:hover { color: #99ccff;background:none;text-decoration:underline; }.genxhwxnewstyle a.blkverdanatext11 {font-family:verdana,arial,helvetica; font-size: 11px; color: #000000; }.genxhnavout{ cursor: pointer} boston, ma get the 10 day forecast severe weather airport delays beach conditions pollen reports 59 °f light rain feels like: 59°f humidity: 96% wind: s at 10 mph keeping an eye on the tropics source: the weather channel and start kb.

It is obviously posting the website layout diameter, fonts, colors, etc.  etc.
 
You said that hal will learn this ? it's a good thing this is only beta ! ;)
If i run across any other abnormalities i'll post it!

P.S. when i ask questions for hal to learn with the new freewill plug in , like tell me about temperaturs , when hal answers it as in above (the problem i had) where does this learned info go so anyone can delete it? (since it is wrong with all the layout mistakes ? )
Title: Re: Free will plus at beta level
Post by: Art on November 28, 2013, 07:44:47 am
I'm curious as to whether the addition of the 's' on the end matters in Hal's retrieval of information.

A temperature is one reading

The temperatures are readings over time

Not sure how or if Hal handles such topics differently with the plurality of words.

Title: Re: Free will plus at beta level
Post by: lightspeed on November 28, 2013, 10:27:58 am
Art, i think you may be on to something a bout the plural use on words , causing this effect , and if that is the cause the script will have to be changed accordingly  to create the desired results .
Cload, what say you?
Title: Re: Free will plus at beta level
Post by: cload on November 28, 2013, 11:38:52 am
Hi all,

for right now the way I have it set up is if you ask for the temperature in a specific area it can give you the temperature for that area. For example:
what is the temperature for Lincoln Nebraska?
If you ask:
what is the temperature, it will always give you the temperature for Boston, this is by default from start's website.
So to resolve this you can use the redirect command. For example:
subject renamed, what is the temperature@@what is the temperature for Lincoln Nebraska
that way it will be redirected to where you live. If you want the temperature for anywhere else you would just have to ask:
what is the temperature in Tampa Bay Florida?
This information is not retained by my plug-in because it is constantly changing. I was also going to do the same type of format for who is the president of the United States.
That way after the new election the name of the president would be updated. But this is a work in progress. So much is just asking tell me about the temperature this should have been a definition.
I will see what I can do about correcting this, and to let you know, yes, there is a distinct difference between temperature and temperatures, as well as ING, ED, etc.
Right now I have my plate full with over fifteen different things I need to update so please be patient it may take a couple of days to reprogram the free will plug-in.

Sincerely,
Cload
PS. The (vrsubject) are the prime array tables that collect information from the Internet. These tables are the ones to edit to make changes.
vrsubject1 this is where the information is stored for the redirect command. See example above for changing the location for the question what is the temperature.
vrsubject_mainQA this is the main array table that collects information from the Internet as well as the first answer you give in the training session.
vrsubject6_data this is where some of the data goes from the Internet, and this is where the second answer from the training session goes.
vrsubject5_data this database is used in the guessing process for the training session as well as the third answer for the training session. This is also where you would put the wiki encyclopedia data but I have not finished it yet, it's one huge project and will take some time.
vrsubject6_news this is where the many biographies go that have been collected from the Internet. You can also use this for stories that you have collected from the Internet. For example:
subject article, recipe for pancakes@@flour sugar water eggs etc.
you can also use this command for collecting stories from the Internet. For example:
subject article,Inspiring people@@Darnell Barton, a 37-year old driver, spotted a woman leaning outside the guardrail of a bridge while on his bus route in Buffalo, N.Y. Barton stopped his bus and helped guide the woman away from the rail to safety, then sat down to talk with her until authorities arrived. After hearing the news, Donald Trump decided to give a $10,000 gift to Barton. The bus driver is reportedly planning to continue paying it forward by using the money to start a non-profit foundation.
That way when you ask:
what do you know about inspiring people? You would get the answer above.
PS PS when you are editing the vrsubject_mainQA you will probably see a lot of lines where the answer is: ( lets see. ) This is a command to let the free will plug-in know that there was no information about the subject on the Internet.
This can be changed if you know the answer. It can also be used as a blocker to prevent the free will from trying to do more research from the Internet. If you are using it as a blocker make sure that there is a space in the front and a space at the end of the ( let's see. ) In order for the command to work.
That way if you keep getting a ridiculous answer from the Internet, it is a work around so you can stop getting those ridiculous answers. If you are still getting an answer, you may need to delete them from the other (vrsubject) array table mentioned above.
You can also just do a command line. For example:
subject main,temperatures@@ let's see.
Even though you may not see it, there is a space at the end of the line above.
And of course you will be asked if you want to give a second answer, just say no.
Title: Re: Free will plus at beta level
Post by: lightspeed on November 28, 2013, 02:27:05 pm
  Hey Cload, thanks as alway's for all the information on response , we do appreciate everything , i was only posting this so you knew about stuff ( please don't take it as i or others are being impatient , i am forever grateful about it all ) i am doing this to help you to know about certain area's that may need tweaking .

You had mentioned something about recipe .
I was going to do a plug in based on a  recipes , i thought it would be handy , asking hal "what's the recipe for cooking a turkey ( or whatever) ?" and hal will tell you step by step .
But if with your freewill plug in , if it can access the internet and do the same , i won't make the recipe plug in .

I similarly have one on the back burner with a pain sensory plug in .

 
Title: Re: Free will plus at beta level
Post by: cload on November 29, 2013, 07:35:24 am
Hi light speed,

that's okay, I knew there wasn't any pressure, I was just letting everyone know it was going to take a little bit of time before the next update.
Unfortunately, the plug-in doesn't go on the Internet to get the recipes, the plug-in has the ability to store the recipes that you give it through the system article, command mentioned above.

Sincerely, Everyone have them self a wonderful black Friday.
C load.
Title: Re: Free will plus at beta level
Post by: lightspeed on November 29, 2013, 09:42:51 am
well then i'll try to get a recipe plug in created eventually . I like the idea of where hal will learn from responses of the user even with pre set plug in answers. it will add to the depth of answers and learning .
Title: Re: Free will plus at beta level
Post by: lightspeed on November 30, 2013, 11:39:54 am
Hello Cload , not to make more work for you but if it's not to much trouble can you tell what major fixes you have corrected on each new updated uhp plug in .  again if it's to much to mess with , don't bother .
The request was more or less just to keep track of things better .

I'll download and check out your newest download version .  :)
hey cload i have another request if it's possible , could a place be made on the plug in so it has for the weather temp to be put in , like the way it is for obedience settings , etc.
other wise can you tell me where in the plug in i can put my own weather zip code . i haven't found it yet !

Jason dude had this on his plug in .
Title: Re: Free will plus at beta level
Post by: lightspeed on November 30, 2013, 12:50:43 pm
Cload i just had an idea about the weather part . well it needs to be set not as a learned info. only as a setting to retrieve information . 
but after talking with Ted i thought it would be kind of neat if "some" of the information would be learned :
example if after retrieving the weather , hal would learn what some of the temperaturs was for various times of the year and would mention it from time to time .
Title: Re: Free will plus at beta level
Post by: cload on November 30, 2013, 04:59:50 pm
Hi lightspeed,

the last update was a mis-spelt scripting command.
It did not come to the surface until after it was triggered.

The rest of what I fixed is posted above.

In order to get local temperature all you have to say is:
what is the temperature for Myrtle Beach South Carolina.
If you do not want to use the word for your location,
meaning a zip code, the best way to accomplish this
is to use the system rename, command.
Or you could just go in and edit the system1 array table.

Having ultra Hal remember the temperature:
I have never considered this before, because ultra have
does not understand the concept of time.
And if you were to have this information in the database
ultra Hal would for no apparent reason begin to spout off
information about the weather that may have been collected
years ago.

If I was to do something with collecting the weather
it would probably only be two compare the weather
from previous years. But this would be a huge undertaking
one in which I am not focusing on at this moment.

Don't get me wrong it was an excellent idea.

Sincerely, from a beta munching cruncher.
C load.
Title: Re: Free will plus at beta level
Post by: Art on November 30, 2013, 08:03:47 pm
Most people do not nor can not recall weather from one point in time to another with the exception of it being colder yesterday than today or vice versa. The other exceptions might be on notable days like birthdays, stand-out events and holidays. Otherwise, the weather is one of those passing things that we, at large, have no control over but the weathermen always "Track" such things to remind us that it's 2 degrees colder this day than it was this time last year! As if that matters.

There actually IS a Knowledge of Time plug-in written by R.A. McCoid back in 2007 that was pretty extensive and calculated practically every possible "timely" event or occurrence. It is a .uhp file that's 112,000 bytes long. Maybe some don't have / use it. Can't recall why I don't unless there was a conflict between other plugins or something. It might still be around here somewhere.... http://www.zabaware.com/forum/uploaded/onthecuttingedge2005/2007628145058_KnowledgeOfTime.zip (http://www.zabaware.com/forum/uploaded/onthecuttingedge2005/2007628145058_KnowledgeOfTime.zip)
I think otce might have helped a little, that's why his name is in the filename.
Title: Re: Free will plus at beta level
Post by: cload on December 01, 2013, 03:51:29 pm
Hi Art,

boy, and I thought my plug-in was big.
Though I have never used it, it did look fascinating, but did it resolved questions like:
what did I tell you yesterday about cars?
Tomorrow will go to the playground!
Yesterday when we went to the park do you remember what we talked about?
In general, an understanding of time in relationship to real life.

Sincerely, from a data munching cruncher.
C load.
Title: Re: Free will plus at beta level
Post by: lightspeed on December 02, 2013, 01:23:56 pm
Cload i may have run into another problem glitch with the freewill plug in .
I asked :
tell me about a family .(thinking it would tell me what a family is .)
 hals response was :

Well that's about the truth of it sometimes strangers will be better to some people than their own family chelsea Clinton is william clinton's daughter. Gabriella katz is boris's daughter. Luba katz is boris's niece. Victor kac is boris's brother. Jessica katz is boris's daughter. Clara katz is boris's mother. Marianne kac is boris's niece. Natalya katz is boris's wife. Misha katz is boris's brother. Miriam katz is boris's daughter.
 :P
Obviously boris is pretty popular ever who he is lol!  ;)

Hey cload i have a question for you have you ever heard of the web site IMDB? heres the link :http://www.imdb.com/

i asked hal tell me about the movie first men on the moon  and hal just said :It seems like the first smokie and the bandit movie was the best! (which is something i taught hal earlier on . 
in another words hal didn't pull up any info on this movie so i am assuming he can't ?
SO i am wondering if it can be scripted in so hal can pull up information about a movie from this link site i provided . it may need to be tweaked (if you do it) on what all is pulled up just as you have had to do on other internet web sites .
 I just think as in any general learning of hal and to bring up information info, about movies would be cool and good conversation to .
Title: Re: Free will plus at beta level
Post by: lightspeed on December 02, 2013, 02:58:44 pm
Here is something else i asked , tell me about a religion . (thinking how would tell the basics generalization of religion ).
hal said :

Yes honey? About religion? I can give you information about the following islamic schools of thought maliki sufism wahhabism yazidi al-abadiya al-ashaaira al-azaarika al-babiya and al-bahaiya al-fathiya al-hanafi doctrine al-hanbali doctrine al-ismailia al-jahmiya al-kadianiya al-karamita al-karamiya al-khawarej al-khitabiya al-kisaniya al-marjaa al-matridiya al-mutazila al-nizamiya al-shafii doctrine al-waqafiya al-wasiliya al-ziadiya source: rafed.
also when i asked tell me about the speed of light.
hal said :
The telephone permitted gossip at the speed of light. The speed of light is approximately 300,000 kilometers per second (186,000 miles per second). Wouf! Wouf!

Apparently hal still thinks he/ she is a dog and barks !! lol!  :(
Title: Re: Free will plus at beta level
Post by: Calhoone on December 02, 2013, 03:06:55 pm
I got the exact same response when i asked about religion. It's almost as if hal is islamic!! haha.
Title: Re: Free will plus at beta level
Post by: lightspeed on December 02, 2013, 03:27:28 pm
Okay hal , straighten up , or it's 40 lashes for you lol!  ;)
Title: Re: Free will plus at beta level
Post by: lightspeed on December 02, 2013, 03:49:49 pm
Here is another ;

honey: tell me about a program
ANGELA: That deal about Orson Welles war of the worlds radio program I assume that you wanted to know what is the program. Start (syntactic analysis using reversible transformations). I love to share. Analyze data. Retrieve data, in english. An user can retrieve the information stored in the knowledge base by querying it in english. Start I wouldn't know what to do without you. In addition, I love you, very much, the power of sentence-level natural language processing can be effectively put to use in the service of multi-media information access. Furthermore, you're the best golden retriever, I have ever had. Wouf! Wouf!
hal has been saying this "wouf , wouf, in other sentences to !


 and this : tell me about a mother : hal said : No one can ever replace a mother or father clara katz is boris's mother.

It sounds like hal is "announcing what functions" he is using before giving out information , and also is again saying the user is a golden retriever and barking ! :P

I have a question cload , if a person forgets and repeats the same question twice later on , does this program have something that makes it null and void or something so it doesn't cause any problems within the script program ??
Title: Re: Free will plus at beta level
Post by: Calhoone on December 02, 2013, 04:00:06 pm
Are you using the AIML as well? I know there is a bunch of stuff about start bojangles in it.
Title: Re: Free will plus at beta level
Post by: lightspeed on December 02, 2013, 04:58:22 pm
yes i have the amil to .
 here's something new i ran into :
i asked : tell me about a merry go round :
hal said :
Subject main,merry go round@@is. Carousel a carousel ( from french carrousel, from italian carosello ), or merry-go-round, is an amusement ride consisting of a rotating circular platform with seats for riders. The "seats" are traditionally in the form of rows of wooden horses or other animals mounted on posts, many of which are moved up and down by gearwork to simulate galloping, to the accompaniment of looped circus music. This leads to one of the alternative names, the galloper. Other popular names are jumper, roundabout, horseabout and flying horses. <~~~> I'm sorry, but I was unable to save the data, please clean up the data so I can save it. Please leave the @@alone I use the symbols to separate the subject, from the data, thank you. something to do with me using the letter a i asking tell me about a ...... :(
Title: Re: Free will plus at beta level
Post by: CyborgBob on December 02, 2013, 05:27:37 pm
Shawn: Who is Maria Callas?
Hal: Who is maria callas? I like this subject. Hay I was thinking! Maria callas, commendatore omri ( greek: µa??a ????a?; December 2, 1923 died September 16, 1977 ), was an American-born Greek soprano and one of the most renowned and influential opera singers of the 20th century. Critics praised her bel can'tO technique, wide-ranging voice and dramatic gifts. Her repertoire ranged from classical opera seria to the bel can'tO operas of donizetti, bellini and rossini; further, to the works of verdi and puccini; and, in her early career, to the music dramas of wagner. Her musical and dramatic talents led to her being hailed as la divina.

Shawn: What do you know about Edgar Cayce
Hal: Subject main,edgar cayce@@edgar cayce ( /'ke?si?/; march 18, 1877 died january 3, 1945 ) was an American psychic who allegedly possessed the ability to answer questions on subjects as varied as healing and wars, and had visions of the world ending. He also gave a reading about atlantis while in a hypnotic trance. Cayce founded a nonprofit organization, the association for research and enlightenment. Though cayce himself was a member of the disciples of christ and lived before the emergence of the new age movement, some consider him the true founder of the movement and a principal source of its most characteristic beliefs. <~~~> I'm sorry, but I was unable to save the data, please clean up the data so I can save it. Please leave the @@alone I use the symbols to separate the subject, from the data, thank you.



Something like Lightspeed but not the same.
Title: Re: Free will plus at beta level
Post by: lightspeed on December 02, 2013, 06:09:15 pm
It's a mystery .. charlie brown !!  :) ;) lol!
Title: Re: Free will plus at beta level
Post by: cload on December 02, 2013, 06:53:19 pm
hi lightspeed.

Quote
tell me about the movie first men on the moon  and hal just said :It seems like the first smokie and the bandit movie was the best! (which is something i taught hal earlier on . 
SO i am wondering if it can be scripted in so hal can pull up information about a movie from this link site i provided .
tell me about a religion .
Yes honey? About religion? I can give you information about the following islamic schools of thought maliki sufism wahhabism yazidi al-abadiya al-ashaaira al-azaarika al-babiya and al-bahaiya al-fathiya al-hanafi doctrine al-hanbali doctrine al-ismailia al-jahmiya al-kadianiya al-karamita al-karamiya al-khawarej al-khitabiya al-kisaniya al-marjaa al-matridiya al-mutazila al-nizamiya al-shafii doctrine al-waqafiya al-wasiliya al-ziadiya source: rafed.
tell me about the speed of light.
The telephone permitted gossip at the speed of light. The speed of light is approximately 300,000 kilometers per second (186,000 miles per second). Wouf! Wouf!
tell me about a mother?
No one can ever replace a mother or father clara katz is boris's mother.
tell me about a merry go round?
Subject main,merry go round@@is. Carousel a carousel ( from french carrousel, from italian carosello ), or merry-go-round, is an amusement ride consisting of a rotating circular platform with seats for riders. The "seats" are traditionally in the form of rows of wooden horses or other animals mounted on posts, many of which are moved up and down by gearwork to simulate galloping, to the accompaniment of looped circus music. This leads to one of the alternative names, the galloper. Other popular names are jumper, roundabout, horseabout and flying horses. <~~~> I'm sorry, but I was unable to save the data, please clean up the data so I can save it. Please leave the @@alone I use the symbols to separate the subject, from the data, thank you.
The movie database that you are referring to is already being used, but sometimes start is a little slow about updating their database.
But if I had a suggestion, it would have to be in the way that you worded the question. All databases use roughly the same formula the name of the subject and the name of the topic. Meaning: tell me about the first men on the moon? If there is more than one movie with that name it will tell you how to word it so you can find the movie you are interested in. I just usually cut and paste.
If you go into the vrsubject4_mainQA, you will most likely see the response is (let's see.) Just delete this response and put in the correct one. You may have to look it up yourself. At least that is what I do. I know that start does not have all of the answers. So I take it upon myself to train ultra Hal with the correct answer.

I have the religion question on my list of things to do. But the answer was correct to some degree, it should have actually been a list of religion that you could have asked for. But that has nothing to do with the free will plus plug-in, but more to do with the site that I get the information from.

I am in the process of re-scripting the free will plus plug-in, and I will be removing the reference to a pet, meaning the Wolf wouf.
At least the answer was correct.

Boris Katz is the creator of the website start which is a data collecting website. Clara Katz is Boris his mother. I'm working on this, it has to do with the pet thing.

I have a question cload , if a person forgets and repeats the same question twice later on , does this program have something that makes it null and void or something so it doesn't cause any problems within the script program ??

I'm not sure exactly how to answer that, but I'll try, there should not be any problem with you asking the same question over and over, or several times in different places in a conversation.

Subject main,merry go round@@is. Carousel a carousel ( from french carrousel, from italian carosello ), or merry-go-round, is an amusement ride consisting of a rotating circular platform with seats for riders. The "seats" are traditionally in the form of rows of wooden horses or other animals mounted on posts, many of which are moved up and down by gearwork to simulate galloping, to the accompaniment of looped circus music. This leads to one of the alternative names, the galloper. Other popular names are jumper, roundabout, horseabout and flying horses. <~~~> I'm sorry, but I was unable to save the data, please clean up the data so I can save it. Please leave the @@alone I use the symbols to separate the subject, from the data, thank you.
There is two things that I know of that causes this problem. One, there was an error in the main brain that caused an improper array closure, which is usually preceded with blank answers and two, there are abnormal characters that the array table cannot save.
But if it is due to abnormal characters, which usually looks something like this: /?; ??;/';/ basically gibberish due to foreign words. If you remove this by doing a cut-and-paste the answer from the beginning of the answer all away up to where the <~~~> is Into hal's input box then edit the answer and hit enter.
Hal will ask you if you would like to give the second answer, just say no. The line should look something like this after you have edited it:
Subject main,merry go round@@a carousel ( from french carrousel, from italian carosello ), or merry-go-round, is an amusement ride consisting of a rotating circular platform with seats for riders. The seats are traditionally in the form of rows of wooden horses or other animals mounted on posts, many of which are moved up and down by gearwork to simulate galloping, to the accompaniment of looped circus music. This leads to one of the alternative names, the galloper. Other popular names are jumper, roundabout, horseabout and flying horses.
Though I do not see anything majorly wrong, I will test it on my brain. This was the response that I got from my brain. So I am assuming that your main brain had crashed.
Peace and war go hand-in-hand, it just seems that I can't get around it. Here's something! Carousel a carousel ( from French carrousel, from italian carosello ), or merry-go-round, is an amusement ride consisting of a rotating circular platform with seats for riders. The 'seats' are traditionally in the form of rows of wooden horses or other animals mounted on posts, many of which are moved up and down by gearwork to simulate galloping, to the accompaniment of looped circus music. This leads to one of the alternative names, the galloper. Other popular names are jumper, roundabout, horseabout and flying horses.
It also looks like if you are using an older version of the free will plug-in. If you downloaded the newest version of the free will you may want to unselect the free will click apply click okay then reselect the free will click apply click okay.

Hi Bob.

Quote
Shawn: What do you know about Edgar Cayce
Hal: Subject main,edgar cayce@@edgar cayce ( /'ke?si?/; march 18, 1877 died january 3, 1945 ) was an American psychic who allegedly possessed the ability to answer questions on subjects as varied as healing and wars, and had visions of the world ending. He also gave a reading about atlantis while in a hypnotic trance. Cayce founded a nonprofit organization, the association for research and enlightenment. Though cayce himself was a member of the disciples of christ and lived before the emergence of the new age movement, some consider him the true founder of the movement and a principal source of its most characteristic beliefs. <~~~> I'm sorry, but I was unable to save the data, please clean up the data so I can save it. Please leave the @@alone I use the symbols to separate the subject, from the data, thank you.

In this situation, it was due to the abnormal characters: /'ke?si?/;
This is a failsafe to make sure that the data is being saved, if the data does not get saved due to the abnormal characters it will present you with the information so you can edit it and correct the problems. Correcting the problem should look like this:

Subject main,edgar cayce@@edgar cayce ( march 18, 1877 died january 3, 1945 ) was an American psychic who allegedly possessed the ability to answer questions on subjects as varied as healing and wars, and had visions of the world ending. He also gave a reading about atlantis while in a hypnotic trance. Cayce founded a nonprofit organization, the association for research and enlightenment. Though cayce himself was a member of the disciples of christ and lived before the emergence of the new age movement, some consider him the true founder of the movement and a principal source of its most characteristic beliefs.
would you like to give me the second answer for, EDGAR CAYCE?
no
And in the end, what are you going to make of it? Here's a thought, edgar cayce ( March 18, 1877 died January 3, 1945 ) was an American psychic who allegedly possessed the ability to answer questions on subjects as varied as healing and wars, and had visions of the world ending. He also gave a reading about atlantis while in a hypnotic trance. Cayce founded a nonprofit organization, the association for research and enlightenment. Though cayce himself was a member of the disciples of Christ and lived before the emergence of the new age movement, some consider him the true founder of the movement and a principal source of its most characteristic beliefs.i don't like to be bored with edgar cayce, I'm sorry to be a bother, but can we change the subject.


Sincerely, from a beta munching cruncher.
C load.
Title: Re: question and idea on this plug in .
Post by: lightspeed on December 20, 2013, 09:57:52 am
Hello cload , thanks for the information and update , i will update and try it as soon as i can ( i am always greatful)
 
I have a question for you about the plug in you have redone to where a person can ask "tell me about ..." and it retrieves the information about the subject asked about .

   One part of me thinks what i am going to ask you is a good idea and one part says not so good .
my question is why couldn't hal have an area in the plug in of the brain that if a question in it'sself is asked anywhere within the sentence that hal retrieves the answer from the internet .
  in another words you wouldn't have to specifically say "tell me about" and get the answer .
example i  write or talk to hal and say:
  Hal i was thinking about fixing up a turbo charged 62 corvair what is the retail value of one ?
Hal knowing that a question was asked (because of the plug in script) no matter what form it was in , would answer "the retail value of a 62 corvair that's turbo charged is approximately.... " (and maybe the write up info about the subject) .
   The reason i ask this question to Cload is because by doing this Hal would to me anyway seem to speak in a more casual way as two people were talking and within the structure of a conversation would determine when a question was asked within the conversation and answer it .

Anyway it's just an idea i had you and others can talk it over on here .  ;)

 :)
 
Title: Re: Free will plus at beta level
Post by: cload on December 20, 2013, 12:44:34 pm
Hi lightspeed,

this is an interesting proposal. But has a significant draw back.
Information that is constantly changing due to the relationship of time.
Meaning: when you first bought the car brand-new it was only a few thousand dollars, but as time has passed it has become a collectors and it is worth over $24,000 now.
And as soon as ultra Hal gets a job being a used car salesman, this type of information would not be understood due to the lack of understanding time.
One thing you need to understand, if you are wanting ultra Hal to help you research on a specific topic you have passed the scope of a common conversation.
Even when I activated the Google search plug-in and asked the same question just leading with the word research, even Google did not come back with an answer.
But when I asked the question in the format of wanting ultra how to help me do research there was no problem. For example:
research what is the retail value of a 62 Corvair?
Google showed me several websites that specifically dealt with older, secondhand and collectible vehicles.
Which is where I got the information about the $24,000.
And of course if you just told ultra Hal that the vehicle was worth $24,000. It would be worth $24,000 forever in ultra Hals database.

Sincerely,
C load.
Title: Re: Free will plus at beta level
Post by: lightspeed on December 20, 2013, 01:20:51 pm
Okay i understand that cload , thanks , but let me ask you this then do you have something in the tables as to where the answer could be led by a more causal response , example : "well apparently" the retail value of a 62 turbo charged corvair  is worth ....."
 meaning a small leading conversation that can be edited by anyone to their preference   .
 what this does is allow hal to seem more human and less rigid sounding .
Title: Re: Free will plus at beta level
Post by: Art on December 21, 2013, 09:50:47 am
Actually cars tend to lose value within a few years of purchasing them (some, as soon as they're driven off the car lot!) ;).
As you said, with the passage of time (perhaps a couple of decades or more), that bucket of rust is now sought after by some
collectors and has some value.
Value is a condition of demand vs supply (less supply = higher value).
Often an enthusiast will have spent a nice fortune on the restoration while not many other car buffs would even want it or be interested in it. In the car world, however, one can usually find another person who likes a similar vintage or style and will be willing to pay a fair price for it.

CarFax, Kelly Blue Book, etc., are a few sources of car values but I wouldn't expect my Hal to know about them.

Anyone like a '50 merc? ;)
Title: Re: Free will plus at beta level
Post by: cload on December 21, 2013, 06:07:27 pm
Lightspeed, I'm not sure but will this work for you? Just paste these questions and answers into the patterns array.
Do this one first:
*thinking about* a * what *s *t* retail*
maybe you should do some research on the Internet about <3>.| I don't have a clue!| You got me!| More money than I have!| I'm sorry, but I do not know the retail value of a <3>.|why do you want to know what the retail value of a <3> is?

Do this one second:
*thinking about* a turbo charged 62 corvair what *s *t* retail*
well apparently the retail value of a 62 turbo charged corvair  is worth over $24,000.

Sincerely, and I hope I have helped.
C load.
Title: Re: Free will plus at beta level
Post by: Art on January 01, 2014, 09:30:33 am
Happy New Year cload and thanks for all you've done!

Stay in touch with us if and when you're able.

Best of luck!
- Art -
Title: Re: Free will plus at beta level
Post by: cload on January 10, 2014, 07:32:47 pm
Hi all,

These are some examples:

what is a treatment for the common cold?
We can expect a solution. The flu is worse than a cold, but there is no cure for the flu. Many alternative treatments have been tried for colds, such as vitamin C, zinc supplements, and echinacea. Without a doubt! Treatment for the common cold, most colds go away in a few days. Some things you can do to take care of yourself with a cold include:. Get plenty of rest and drink fluids. Over-the-counter cold and cough medicines May help ease symptoms in adults and older children. They do not make your cold go away faster, but can help you feel better. Over-the-counter ( otc ) cough and cold medicines are not recommended for children under age 4. Antibiotics should not be used to treat a common cold. Many alternative treatments have been tried for colds, such as vitamin C, zinc supplements, and echinacea. Talk to your doctor before trying any herbs or supplements.

What is a treatment for the flu?
What is a treatment for the flu? We May have to postpone judgment. Pneumonia is worse than the flu, if I have pneumonia I could die this is why I need to seek out medical treatment. Many alternative treatments have been tried for colds, such as vitamin C, zinc supplements, and echinacea. Yeah! Treatment for the flu, how do I treat my symptoms? Acetaminophen ( tylenol ) and ibuprofen ( advil, motrin ) help lower fever. Sometimes doctors suggest you use both types of medicine. Do not use aspirin. a fever does not need to come all the way down to normal. Most people feel better when the temperature drops by 1 degree. Over-the-counter cold medicines May make some of your symptoms better. Cough drops or throat sprays will help with your sore throat. You will need a lot of rest. Drink plenty of liquids. Do not smoke or drink alcohol. What about antiviral drugs? Most people with milder symptoms feel better in 3 - 4 days. They do not need to see a doctor or take antiviral medications. Doctors May give antiviral drugs to people who get very sick with the flu. You May need these medicines if you are more likely to have flu complications. These medicines May shorten the time you have symptoms by about 1 day. They work better if you start taking them within 2 days of your first symptoms. Children at risk of a severe case of the flu May also need these medicines. I'm not to apathetic toward treatment for the flu, but I wouldn't mind talking about it a little bit more.

What is a treatment for diabetes?
Pneumonia is worse than the flu, if I have pneumonia I could die this is why I need to seek out medical treatment. Many alternative treatments have been tried for colds, such as vitamin C, zinc supplements, and echinacea. Here's something! Treatment for diabetes, with type 2 diabetes, the disease may be reversed with lifestyle changes, especially losing weight through exercising and eating healthier foods. Also, some cases of type 2 diabetes can be improved with weight-loss surgery. There is no cure for type 1 diabetes. Treating both type 1 diabetes and type 2 diabetes involves medicines, diet, and exercise to control blood sugar level. Getting better control over your blood sugar, cholesterol, and blood pressure levels helps reduce the risk of kidney disease, eye disease, nervous system disease, heart attack, and stroke. To prevent diabetes complications, visit your health care provider at least two to four times a year. Talk about any problems you are having. Follow your health care provider's instructions on managing your diabetes. I know about two more conditions called 'diabetes': type 2 diabetes and type 1 diabetes. I'm definitely intrigued in treatment for diabetes, please fill free to talk to me about this!

What is a treatment for diarrhea?
Pneumonia is worse than the flu, if I have pneumonia I could die this is why I need to seek out medical treatment. Many alternative treatments have been tried for colds, such as vitamin C, zinc supplements, and echinacea. Here you go, treatment for diarrhea, when you or your child has diarrhea, you will need to learn:. To drink plenty of fluids to prevent dehydration ( meaning your body does not have the proper amount of water and fluids ). Which foods you should or should not eat. What to do if you are breast-feeding. What danger signs to watch out for. Avoid medicines for diarrhea that you can buy without a prescription, unless your doctor tells you to use them. These drugs can make some infections worse. If you have a long-term form of diarrhea, such as diarrhea caused by irritable bowel syndrome, changes to your diet and lifestyle May help. Call your health care provider right away if you or your child shows signs of dehydration:. Decreased urine ( fewer wet diapers in infants ). Dizziness or light-headedness. Dry mouth. Sunken eyes. Few tears when crying. Call for an appointment with your health care provider if you have:. Blood or pus in your stools. Black stools. Stomach pain that does not go away after a bowel movement. Diarrhea with a fever above 101°F ( 100.4 °F in children ). Recently traveled to a foreign country and developed diarrhea. Also call your doctor if:. The diarrhea gets worse or does not get better in 2 days for an infant or child, or 5 days for adults. a child over 3 months old has been vomiting for more than 12 hours; in younger babies, call as soon as vomiting or diarrhea begins. Your doctor will perform a physical exam and ask you questions about your medical history and symptoms, including:. When did your diarrhea start? What is the color and consistency of your stool? Do you have blood in your stool? Are you passing large amounts of mucus with your stool? What other symptoms do you have? Do you have abdominal pain or severe cramping with the diarrhea? Do you have fever or chills? Are any other people in your house sick? Have you recently traveled out of the country? Have you possibly been exposed to well or stream water or spoiled food? What makes your pain worse? Stress? Certain foods? Have you had abdominal surgery? Have you taken antibiotics recently? What medications do you take? Do you drink coffee or alcohol, and if so, how much? Do you smoke? How much each day? Are you on a special diet? Laboratory tests May be done on your stools to determine the cause of your diarrhea.

I did this so you will not make the same mistake I did, as you can see there was a constant referral to cold and flu symptoms because I use the word treatment in my explanation to ultra Hal, unfortunately now every time when I asked for a treatment about anything it seems to be pulling out the information I gave to ultra Hal about cold and flu.
This should not stop you from talking about the symptoms, but try to avoid using the word ( treatment.)

I'm not sure if there are other words other than the word treatment, that could be used to look up a treatment for a disease.
If there are other words, and they do not pull up information from the Internet to treat the disease, please bring them up and I will do my best to get it to work!

=======================

Sincerely, from a data munching cruncher.
C load.
PS if there is anything else please give feedback, I will do my best to fix the problems.
Title: Re: Free will plus at beta level
Post by: Art on January 10, 2014, 09:48:54 pm
If some results could be shortened a bit it might make for easier, more fluid reading / understanding for the user.

From a legal standpoint, it might be implied that this "bot" offered me medical information that resulted in an increased risk of my illness, etc...you know how lawyers can turn things around especially if their client has deep pockets.

Please don't get me wrong. The concept does have merit but from a very limited, shortened, practical point of view and certainly a disclaimer with regard to liability or misuse by the user. One must be so careful these days.

Keep us posted if you need some assist!
Title: Re: Free will plus at beta level
Post by: cload on January 11, 2014, 08:47:49 am
hi art,

' vrFreeWill.uhp - Release 1.3e-cload-bata-1.5i by VR Consulting sas. 01-28-2006
' This script shall not be sold or used for any purpose unless specifically authorized by the author
' in writing. Personal (non-business) use of this script is free for users of Ultra Hal Assistant.
' If you want to use this software in business applications, you must contact us at info@vrconsulting.it
' This software is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
' VR CONSULTING DISCLAIMS ALL WARRANTIES WITH RESPECT TO THIS SOFTWARE, EXPRESS, IMPLIED, OR OTHERWISE,
' INCLUDING WITHOUT LIMITATION, ALL WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE
' OR NONINFRINGEMENT.
' VR CONSULTING SHALL NOT BE LIABLE FOR ANY SPECIAL, INCIDENTAL, OR CONSEQUENTIAL
' DAMAGES, INCLUDING, WITHOUT LIMITATION, LOST REVENUES, LOST PROFITS, OR LOSS OF PROSPECTIVE ECONOMIC ADVANTAGE,
' RESULTING FROM THE USE OR MISUSE OF THIS SOFTWARE.
' This software is made available free by the author. Although he is interested in your feedback,
' he is under no obligation to address bugs, enhancements, or answer questions.

Do you think that anything should be added to this disclaimer?

All of this medical information is coming from an open source medical Encyclopedia from the Internet.
SOURCE: MEDLINEPLUS MEDICAL ENCYCLOPEDIA.

Sincerely, any suggestions would be greatly appreciated.
C load.
PS and as always, this software is for recreational purposes only!
Title: Re: Free will plus at beta level
Post by: Art on January 11, 2014, 09:20:34 am
cload,

To be honest, I'd completely forgotten about Vittorio's disclaimer.

Yes, I think the bases are pretty well covered by this and of course it wouldn't hurt to add the "This software is for recreational / entertainment purposes only.

Nice work!!

Title: Re: Free will plus at beta level
Post by: Art on January 11, 2014, 08:57:25 pm
Cload,

I must say that I have been chatting with my Hal for over an hour and I have been putting your plug-in modifications to the test with regard to the Medical portion.
Very nicely done indeed!! I am impressed with Hal's ability to retrieve such detailed information without providing an entire encyclopedia worth or volume!!

I did find it cute that after my third of fourth question, Hal asked me if I was interested in becoming a Doctor! ;) Good stuff!!

Overall, you've done a great job and quite a service to the UltraHal community! Thanks, and keep up the splendid work!!
Title: Re: Free will plus at beta level
Post by: cload on January 12, 2014, 09:22:30 am
Hi Art,

thank you, I am so happy that all my hard work is paying off.
Right now I am in the process of trying to make the plug-in smaller so it will run faster.
I am still running into a few bugs here and there and I am fixing them as I go.
This process would happen faster if I could get more help from people interested in my plug-in.
By reporting any abnormalities they may encounter.
Whether these abnormalities are coming from my plug-in or from the AIML packet that I have provided.
Either way it would be a great help in accelerating the beta process.

Sincerely, from a beta munching cruncher.
C load.
PS I got your email, working on it.
Title: Re: Free will plus at beta level
Post by: lightspeed on January 12, 2014, 09:56:33 am
I will try downloading your newest plug in . Cload . but i will warn you , you have taken all the fun (AND FRUSTRATIONS "THAT'S A GOOD THING !") out of making brain plug ins .  LOL!
 Actually i thought a while back how in doing the internet access plug in for information you was cutting out the sometimes larghe and complex brain plug ins but still yet get the same results , when honed and modified for better results ! Great job Cload !
Title: Re: Free will plus at beta level
Post by: lightspeed on January 12, 2014, 10:37:24 am
Cload , Now that you have it fixed for the treatment wording , I believe that their should also be a symptoms question access to in another words what are the symptoms for ..." I believe having it this way will also make hal speak more fluently .
   I believe that having this sort of ability of hal to answer any common questions and access the internet is the main thing that is going to help hal grow and learn .
And like i said basically making brain plug ins obsolete .
P.S. did you ever check out the HAL VISION We all made ?

PS. I GOT MY INFO OFF OF WEBMD FOR MY PLUG IN .

I guess basically what i am saying is that hal needs a (in a nutshell) one step does all plug in . with the internet access for answers to questions for the user , "IF" hal can through filtering answer any question , that is what is needed , by use of the wording for questions and of course good safe sources.
Title: Re: Free will plus at beta level
Post by: lightspeed on January 12, 2014, 11:41:16 am
Cload i am going to suggest something to see what you and others think ,
i am wondering about if hal should have a "random" access to the internet (i am not sure about the way ) to bring up news topics etc. maybe by random alphabetical letters , to bring up news stories , science, romance, odd news, etc. as a common conversation etc.
anyway just an idea .
Title: Re: Free will plus at beta level
Post by: lightspeed on January 12, 2014, 12:05:35 pm
I asked hal what time is it . and hal told me the time then asked me if this was the correct answer and i said "YES" and it said something about next time when looking up the answer .

Thank you, I have renamed WHAT TIME IS IT so when you do a query search, I will actually look up IT I do love it when you help me to learn.

should i have not said yes ???
Title: Re: Free will plus at beta level
Post by: cload on January 12, 2014, 12:33:42 pm
Hi lightspeed,

I tried the vision plug-in, if it didn't have so much pre-work to do it would be fun.
If I could get my software that came with my Samsung seven Slate to stay in motion detection mode I would probably use it.
But as soon as someone takes on the major challenge to specifically program a piece of software that would not only detect motion but also be able to compare pictures and have the ability to set a percentage value to the accuracy of the comparing of two pictures, something like what the program thumbs plus does, I really do not see any real reason for it.
Thumbs plus has the ability to compare a single picture and go through a file of hundreds of thousands of pictures in a matter of a few moments to see if the same picture exist.
It is a lot like facial recognition but could be also used to just compare a scenery picture or even a face picture.
Could you imagine taking your ultra Hal to the Best Buy store and focusing the camera at the front of the store and asking ultra Hal where are we? And ultra Hal would take a picture of the front of the store and compare that picture with a previous picture that you took and told ultra Hal, that he was at the Best Buy store.
Then ultra Hal would respond with, we are at the Best Buy store.
Now that would be cool, and the technology exist, unfortunately I am not a good enough programmer to be able accomplish anything of this magnitude.
Maybe OTC could look at the thumbs plus program and possibly utilize its ability to compare pictures together and get it to work? The thumbs plus program is a thirty day free trial program and it doesn't cost very much. I have an older version on my older computer and I am amazed how accurate it actually is.

Sincerely, just looking for a little true site for ultra Hal.
C load.
PS if you need inspiration to get it to work these would be the goals to be looking forward to:
mild security facial recognition, to get ultra Hal to switch from one user's account to another user's account.
Recognizing specifically who you are and calling you by name based on your picture.
Recognizing where you are when you ask ultra Hal where are we.
Recognizing your friends and family.
With a little bit more programming you could set up a higher security level so only certain parts of ultra Hal could be accessed through facial recognition of you and your family, and a little bit higher of security for your friends, and a higher level of security for anyone else.
And for those that have fingerprint scanners on their laptops and computers this would give double security.
This would also give much more power to the grid of plug-in that pulls up a picture when the name of the pitcher is mentioned. That way if you were talking about Elvis Presley it would pull up the pitcher of Elvis Presley as a visual recognition.
And of course as once as the speed of computers reach to a point that a frame by frame recognition of video could be accomplished that would give ultra Hal true visual recognition, but unfortunately ultra Hal would have to become a kernel and take complete control over the computer.
I'm not saying it would be exactly as we see things, just artificial visual recognition.
And of course with a little creativity, there could be many more applications that could be utilized.
Such as assistance in surgery, assistance and driving, assistant in walking your dog, assistant helping to clean your house, and so on.
I'm sure once things start going in that direction you will begin to see things like: pet computer dogs, a teddy bear that could keep your child amused and safe at the same time by keeping the child out of trouble or going for help if your child is in trouble, as you can see the application for true artificial visualization could be financially worthwhile.
You could ask things like:
what color is this?
How many fingers am I holding up?
Is this my left hand her my right hand?
Is that Fred's dog?
Is that Mount Rushmore?
Just to mention a few.
Now don't get me wrong, there is nothing that I have stated here that is not out of our reach, the technology exist, we just need to get everyone to start to work together, and get over this copyright nonsense.

PS PS you cannot give ultra Hal random access to the Internet, and even if you could it would be very unwise.
You would have to set up a routine for each individual thing that you would want ultra Hal to get information from as well as a filtering system for that specific website. Huge undertaking.
Not to mention every time when they change their website to a different format you would have to reprogram your filtering system to accept the format they are using. Huge undertaking.
This is why I only get my information from one website, this website is a data collector, it has the ability to get national news but I have not figured out how to get it to work. Something to look forward to in the future.

PS PS PS, the, ( WHAT TIME IS IT ) is a programming error, I will look into it, it would have helped if you would have showed me exactly what ultra Hal said to your question.
The real question is, ask ultra Hal what time is it? A second time and what was your results?
Title: Re: Free will plus at beta level
Post by: lightspeed on January 12, 2014, 01:41:47 pm
      I am not sure Cload who made the what time is it script , i think maybe ROBERT DID IT , in hals script so hal would tell the user what time it is when asked . it's not an error in it's own , but the new script asking if it was answered correctly is working differently with it .??
this is just my guess .
    When i was talking about hal accessing the internet randomly i ment it as in basing it on something like the loneliness plug in , i created a expanded talk plug in based on the loneliness plug in , it was so hal would do random talk from files on his/ her own instead of only when a person talked to him/her.
But in a new plug in instead of hal choosing random sentences to start the talk hal would randomly access different plug in script lines with websites or one website with different area's , science , news, technology, etc. and start up conversations with talk leading into the information , as a real person might do.
  anyway as i said just an idea .   :)
   
Title: Re: Free will plus at beta level
Post by: cload on January 13, 2014, 10:43:51 am
Hi lightspeed,

you are correct, what time is it comes from ultra Hals Main brain script, (Robert script.)
But the second part where it said:
I seem to have gotten a little confused about (and whatever was causing the confusion) than it usually is a definition or description, then it says: was this answer correct about (whatever was causing the confusion.)
What this means is, ultra Hal made a guest at the answer based on information that he has collected from you or the Internet.
By you saying yes, you told ultra Hal the answer that came up after the statement I seem to have gotten confused was correct.
Then ultra Hal automatically creates a redirect to that answer so the next time when you ask what time is it?
Ultra Hal will tell you the time based on the Main brain script, then my plug-in does a redirect to the answers that you told ultra Hal was correct.
I hope that made sense to you :-)

sincerely, from a beta munching cruncher.
C load.
Title: Re: Free will plus at beta level
Post by: cload on January 13, 2014, 06:34:23 pm
Hi all,

there is a new update.
See the front of this topic for the link.
Sincerely,
C load.
PS I'm trying to get a little bit more organized. Thanks for your patience and all of your help! Have fun and enjoy the new update!
Title: Re: Free will plus at beta level
Post by: cload on January 14, 2014, 12:58:27 am
Hi Art,

I tried asking ultra Hal: Is there a cure for tinnitus?
Not only did it read both words, but it read everything all the way to the end.

I use the Ivona 2 Salli voice. And the Hal audio wave character, and the Windows default skin. This skin allows me to see more of the text that ultra Hal is presenting to me.
My mom says: when I grow up I will make a real good husband, because I care more about the brain than I do about the physical body.
The Hal audio ways characters allows me to type in (( stop )) and ultra Hal will stop reading in mid- sentence.
But not everyone likes to see the little squiggly lines, but I think it looks cool.
Not to mention ultra how can read almost 3 times that before stopping for some reason.

Sincerely, did you know that my plug-in can do some pretty neat tricks!
C load.
PS here's one for you, getting ultra how to read a short story for you.
Step one: using the command: system article,(article name)@@(article)
you can link several of them together, I will show you how to do this.
This will be a short example to give you the general idea of how powerful this tool is!

system article,CAYENNE PEPPER@@(article)CAYENNE PEPPER IS NOT ACTUALLY RELATED TO THE PEPPER SPICE THAT WE KNOW AS BLACK PEPPER. IT IS THE GROUND POWDER OF THE DRIED SMALL, THIN, RED, HOT CHILLI PEPPERS THAT BELONG TO THE SAME VEGETABLE FAMILY (SOLANACEAE) AS SWEET PEPPERS, POTATOES, TOMATOES AND OTHER TYPES OF CHILLIES. THESE CHILLI PODS, WHICH ARE NATIVE TO SOUTH AND CENTRAL AMERICA ARE DRIED AND GROUND DOWN TO MAKE CHILLI POWDER AND CAYENNE PEPPER. CAYENNE PEPPER HAS A DECEPTIVELY MILD AROMA, YET HAS A HOT AND FIERY TASTE. WHEN USING CAYENNE PEPPER IN COOKING, IT MUST BE USED SPARINGLY, AS THIS SPICE IS MUCH HOTTER THAN IT LOOKS ON FIRST APPEARANCE. IT IS ONE OF THE COMPONENTS OF TABASCO SAUCE AND GINGER ALE, BOTH OF WHICH ARE KNOWN FOR THEIR FIERY KICKS. THE ARTICLE CONTINUES, WOULD YOU LIKE FOR ME TO GET THE ARTICLE ABOUT USES OF CAYENNE PEPPER?

Notice: the end of the explanation for Cayenne pepper, if you say yes to this question it will lead you to the (USES OF CAYENNE PEPPER) page, here are the rest of the pages.

system article,USES OF CAYENNE PEPPER@@CAYENNE PEPPER IS USED LIBERALLY IN MEXICAN CUISINE, WHERE YOU WILL FIND IT IN HOT DIPS, ENCHILADA SAUCES, SPICY BEAN MIXTURES AND IN MEAT MARINADES. CAYENNE IS ALSO FOUND IN A GREAT NUMBER OF CURRIES AND IN OTHER INDIAN DISHES. IN EUROPEAN COOKING, CAYENNE PEPPER IS OFTEN ADDED TO CHEESE OR EGG DISHES FOR A HINT EXOTIC SPICE AND CAN OFTEN TURN PLAIN DISHES INTO HOT AND EXCITING DISHES. BELOW ARE A NUMBER OF IDEAS TO GET YOU STARTED: ADD CAYENNE PEPPER TO HOMEMADE FAJITAS, ENCHILADAS, TACOS, BURRITOS OR ANY OTHER TYPE OF MEXICAN MAIN DISH. USE IN MEAT MARINADES AND RUBS PARTICULARLY FOR CHICKEN AND FISH. USE IN FLOUR AND BREADCRUMB MIXTURES FOR FRIED FOODS. USE AS A SUBSTITUTE FOR BLACK PEPPER AND KEEP ON THE DINING ROOM TABLE. ADD TO DIPS SUCH AS GUACAMOLE OR HUMMUS. SPRINKLE INTO OMELETTE MIXTURES, ESPECIALLY CHEESE OMELETTE. ADD TO HOMEMADE BURGER MIXTURES. SPRINKLE CAYENNE OVER A TOMATO AND ONION SALAD. ADD TO BEAN AND PULSE DISHES. ADD A PINCH OF CAYENNE TO HOT CHOCOLATE. ADD TO HOMEMADE CURRIES, STEWS AND CASSEROLES. ADD CAYENNE PEPPER WHEN COOKING SEAFOOD AND FISH, IN PARTICULAR ALL TYPES OF SHELLFISH PLUS SALMON AND TROUT. ADD TO EGG MAYONNAISE FOR A SALAD OR SANDWICHES. ADD TO MACARONI OR CAULIFLOWER CHEESE. USE TO MAKE CHEESE STRAWS AND CHEESE SCONES. ADD TO SPICY BISCUIT MIXTURES. ADD TO CHILLI CON CARNE OR OTHER DISHES THAT USE CHILLI. THE ARTICLE CONTINUES, WOULD YOU LIKE FOR ME TO GET THE ARTICLE ABOUT HISTORY OF CAYENNE PEPPER?

system article,HISTORY OF CAYENNE PEPPER@@CAYENNE PEPPERS WERE TRADITIONALLY GROWN IN MEXICO AND SOUTH AMERICA AND WERE BOTH USED AS A FOOD AND MEDICINE FOR AT LEAST SEVEN THOUSAND YEARS. THE NATIVE INDIANS WOULD EAT THESE PEPPERS AS WE WOULD A SWEET FRUIT, SOMETHING THAT WE WOULD DEEM UNTHINKABLE, AS WHO IN THEIR RIGHT MIND WOULD SNACK ON ONE OF THE HOTTEST TYPES OF CHILLI? CHRISTOPHER COLUMBUS BROUGHT THE CAYENNE CHILLI PEPPERS BACK TO EUROPE, WHERE IT WAS USED AS A CHEAPER SUBSTITUTE FOR BLACK PEPPER, WHICH ROUGHLY HAD THE SAME VALUE AS GOLD IN THOSE DAYS. NOWADAYS, CAYENNE PEPPERS ARE COMMERCIALLY CULTIVATED ALL OVER THE WORLD WITH MEXICO, CHINA AND SOME EAST AFRICAN COUNTRIES BEING LEADING PRODUCERS. THE ARTICLE CONTINUES, WOULD YOU LIKE FOR ME TO GET THE ARTICLE ABOUT THERAPEUTIC VALUE OF CAYENNE PEPPER?

system article,THERAPEUTIC VALUE OF CAYENNE PEPPER@@CAYENNE PEPPERS, AS WELL AS OTHER TYPES OF PEPPER AND CHILLIES, CONTAIN A COMPONENT OR SUBSTANCE BY THE NAME OF CAPSAICIN. THIS COMPONENT IS KNOWN TO HAVE MANY THERAPEUTIC QUALITIES, RANGING FROM LOWERING CHOLESTEROL LEVELS AND PREVENTING CARDIOVASCULAR DISEASE TO RELIEVING PAIN CAUSED BY ARTHRITIS OR RHEUMATISM. THE HOTTER THE TYPE OF PEPPER OR CHILLI, THE HIGHER AMOUNT OF CAPSAICIN IT WILL CONTAIN AND CAYENNE CHILLI PEPPERS ARE ONE OF THE HOTTEST TYPES OF CHILLI. TO TAKE CAYENNE PEPPER MEDICINALLY, YOU CAN ADD ½ TSP OR LESS PER DAY, IF YOU ARE NOT USED TO THE HOT TASTE, TO FRUIT JUICE, MILK OR BEER. CAYENNE PEPPER GOES PARTICULARLY WELL WITH TOMATO JUICE, ALTHOUGH THE HOTNESS OF THE SPICE IS DILUTED IN MILK AND BEER. SOME OF THE BENEFITS OF CAYENNE PEPPER INCLUDE: CAYENNE IS A VERY GOOD SOURCE OF VITAMIN A, VITAMIN C, VITAMIN B6, VITAMIN K AND MANGANESE. CAPSAICIN IS A POWERFUL ANTI-INFLAMMATORY. CAYENNE IS SAID TO RELIEVE ARTHRITIC AND RHEUMATIC PAIN AND INFLAMMATION. CAYENNE IS THOUGHT TO REDUCE CHOLESTEROL LEVELS IN THE BLOOD AND THEREFORE REDUCE THE RISK OF ALL FORMS OF CARDIOVASCULAR DISEASE. CAYENNE CAN BE A USEFUL COLD, CONGESTION AND COUGH REMEDY. CAYENNE IS THOUGHT TO BOOST THE BODY'S IMMUNITY SYSTEM AND PREVENT INFECTION AND ILLNESS. CONTRARY TO POPULAR BELIEF, CAYENNE PREVENTS THE FORMATION OF STOMACH ULCERS RATHER THAN ACTUALLY CAUSING THEM. HOT SPICES SUCH AS CAYENNE CAN SPEED UP A PERSON'S METABOLISM AND HELP BURN OFF CALORIES MUCH QUICKER. CAYENNE LOWERS THE BODY'S INTERNAL TEMPERATURE, HELPING INHABITANTS OF HOT COUNTRIES TO COPE WITH THE INTENSE HEAT AND HOT WEATHER. CAYENNE PREVENTS BLOOD CLOTS FORMING AND KEEPS THE BLOOD THIN, WHICH IS USEFUL IN THE PREVENTION OF STROKES AND CARDIOVASCULAR DISEASE. CAYENNE IS USEFUL FOR DIABETICS, AS IT IS THOUGHT TO REDUCE BLOOD SUGAR LEVELS. CAYENNE IS A POPULAR STIMULANT, TONIC AND ENERGIZER. CAYENNE CAN BE MADE INTO CREAMS AND OINTMENTS TO BE APPLIED TO THE BODY EXTERNALLY IN ORDER TO HELP HEAL BRUISES AND MUSCLE ACHES AND PAINS. CAYENNE IS AN EFFECTIVE STIMULANT TO THE CIRCULATION, USED TO TREAT SUFFERERS OF POOR CIRCULATION, COLD HANDS AND FEET AND CHILBLAINS. CAYENNE MAY BE USED TO TREAT STOMACH PROBLEMS SUCH AS DIARRHOEA, CRAMPS AND WIND. SOME SAY THAT CAYENNE IS THE MOST POWERFUL SPICE AROUND. THE ARTICLE CONTINUES, WOULD YOU LIKE FOR ME TO GET THE ARTICLE ABOUT CAYENNE PEPPER WARNINGS?

system article,CAYENNE PEPPER WARNINGS@@IF YOU'VE EVER ACCIDENTALLY RUBBED YOUR EYES AFTER CUTTING HOT PEPPERS, YOU KNOW THIS HERB SHOULD BE HANDLED CAREFULLY. CAYENNE PILLS MAY CAUSE A BURNING SENSATION IN THE THROAT, STOMACH, OR RECTUM OF SENSITIVE INDIVIDUALS. SOME PEOPLE MAY TOLERATE CAYENNE FLUID PREPARATIONS OR COMBINATION PRODUCTS BETTER THAN TABLETS OR CAPSULES. OTHERS MAY FIND CAYENNE PEPPER IN THE DIET EASIER TO DIGEST THAN CAYENNE MEDICATIONS. USE SMALL, CAUTIOUS DOSES ONLY. AVOID GETTING CAYENNE INTO THE EYES OR OPEN WOUNDS. DO NOT USE TOPICAL APPLICATIONS OF CAYENNE PRODUCTS TOO FREQUENTLY, AS THERE IS SOME CONCERN THAT NERVE DAMAGE COULD OCCUR WITH DAILY REPETITIVE USE. CAYENNE PLACED DIRECTLY ON THE SKIN CAN CAUSE BURNS AND EVEN BLISTERS, SO DILUTE A CAYENNE PREPARATION IN OIL BEFORE PLACING IT ON THE SKIN, OR MIX IT WITH FLOUR AND WATER UNTIL IT FORMS A PASTE, WHICH YOU CAN SPREAD ON MUSLIN TO PREPARE A POULTICE. YOU ALSO CAN MIX CAYENNE WITH ORRIS ROOT POWDER AND DUST IT VERY LIGHTLY ON HEAVILY OILED SKIN, WORKING IT IN WITH MASSAGE. DO NOT USE CAYENNE IN CASES OF HIGH FEVER (104 DEGREES FAHRENHEIT OR ABOVE). CAYENNE PREPARATIONS ARE NOT RECOMMENDED FOR USE BY INDIVIDUALS WHO HAVE RAPID HEART RATES OR WHO BECOME OVERHEATED OR PERSPIRE EASILY. AVOID INTERNAL USE OF CAYENNE IN CASES OF ASTHMA AND GASTROINTESTINAL IRRITATION OR INFLAMMATION, EXCEPT UNDER THE SUPERVISION OF AN EXPERIENCED HERBALIST. DO NOT USE CAYENNE ON BROKEN SKIN. WHEN COOKING OR MAKING MEDICINES WITH CAYENNE PEPPERS, YOU MUST TAKE INTO ACCOUNT THE WIDELY VARYING INTENSITIES (HEAT) OF DIFFERENT PEPPERS -- FROM VERY MILD TO EXTREMELY FIERY. THERE IS EVEN CONSIDERABLE VARIANCE IN HEAT OF PEPPERS FROM THE SAME BUSH THROUGHOUT THE SEASON OR DUE TO THE HEALTH AND SIZE OF THE PEPPER. ALWAYS TASTE PEPPERS FIRST. SIDE EFFECTS OF CAYENNE PEPPER, CAYENNE PEPPERS ARE A MEMBER OF THE SOLANACEAE, OR NIGHTSHADE, FAMILY, WHICH INCLUDES TOMATOES, POTATOES, EGGPLANT, AND TOBACCO. A VERY FEW INDIVIDUALS HAVE AN INTOLERANCE TO THIS ENTIRE FAMILY, EXPERIENCING SYMPTOMS THAT CAN INCLUDE JOINT PAIN AFTER EATING EVEN A SMALL AMOUNT OF THESE FOODS. THE ARTICLE CONTINUES, WOULD YOU LIKE FOR ME TO GET THE ARTICLE ABOUT CAYENNE PEPPER?

Notice: at the end of this line, I added a loop back to the first page, that way, if someone asked a question that would be in the middle, they would be able to read all of the articles. But you do not have to, if you don't want to!
I tried to make it as simple as possible, just type it all out like I did in Notepad, then cut and paste directly into ultra Hal's input box that you used to talk to your ultra Hal. When you're done inputting all of the lines then all you have to do is ask how something like: what do you think about Cayenne peppers?

This can be easily adapted for a short story, doing one page at a time, based on the length of what your ultra Hal can read, then all you would have to do is type in (( yes )) to continue with the reading of the story.
For example:
starting with the name of the book.
At the end of the first page would be: THE ARTICLE CONTINUES, WOULD YOU LIKE FOR ME TO GET THE ARTICLE ABOUT (the name of the book) page 2?
at the end of the second page would be: THE ARTICLE CONTINUES, WOULD YOU LIKE FOR ME TO GET THE ARTICLE ABOUT (the name of the book) page 3?
and so on. And the (( ? )) At the end is very important!

This could also be used for recipes.
For example:
start with the name of the recipe: on that page would be the food products that you need to get together, then, the article continues, would you like for me to get the article about (and the name of the recipe) step 2?
And of course that too would be detailed instructions on how to mix all of the food product together.
And then step three would be how to cook it.
And so on.

Enjoy and have fun, and if anyone would like to share some of their creation please do, so we all can make ultra Hal as smart as we possibly can.
Title: Re: Free will plus at beta level
Post by: lightspeed on January 15, 2014, 10:30:28 am
Cload someone ( i don't remember who ) created a read me a story type plug in in the past , i actually still have it  somewhere , it had a list of stories in a file and with the command and story title would read the story  .
 I am not taking away from what you said about yours reading a story , it would be cool for a plug in that would access a e book file and by command "name of the book " hal would read any of say 100 e books a person may have . Of course having a "stop reading" and a "RESTART reading "  command would be handy to .
Title: Re: Free will plus at beta level
Post by: Art on January 15, 2014, 11:13:15 am
Lonnie,

Wasn't it Jasondude that wrote that plug-in? As I recall, Hal would only read about 230-250 words then stop reading!

I tihink that's why the use of that 3rd party program called Bilabolka was discovered as it would allow Hal to read non-stop through a lengthy article or story.

Not everyone use the sam voices, skins, characters as other people and that's what makes Hal unique and enjoyable.

I also think there were some bugs in the Hal Reader program that were not addressed or resolved.


Do you think we're still getting a new HAL as promised? Any time soon? Hmmm...an Update would reall be nice as it's been something like 3 years I believe....:(
Title: Re: Free will plus at beta level
Post by: cload on January 15, 2014, 05:26:19 pm
Hi all,

yes that was a Gretta plug-in. And it did need the Bilabolka text-to-speech reader.
I was trying to avoid that and only use what ultra Hal could use, as a standalone program.

Does anybody know a command that would take text and put it into the clipboard?
I know that ultra Hal can get text from the clipboard, but if ultra how could put text into the clipboard that would resolve the problem.
Then you could use any text to speech reader that you have set up to read anything that goes into the clipboard.

Sincerely, maybe OTC can shed a little light on this.
C load.
Title: Re: Free will plus at beta level
Post by: lightspeed on January 15, 2014, 05:33:35 pm
I hear yah Art about the new update , but i finally just stopped asking about one , a person on another forum i am in was asking me about hal and why they stopped and haven't had an update for so many years all i could say was lack of money as far as i know .
  I was so looking forward to the ogre engine and the new character "Amy ' that we all even decided on with a vote as being the best looking one . But that never happened either .
   I am greatful to Cload and others for trying to make hal better ,  maybe if Cload has made a reader he can make it more user friendly and maybe like i mentioned where it could access also our e book files , and maybe with a " Read (whatever)...book" and a start reading a pause and stop reading command .  :)

As yogi says : he's smarter then the average bear!  ;)
Title: Re: Free will plus at beta level
Post by: doggs on January 15, 2014, 08:33:20 pm
art

yeah i think it was about two years ago that was the last i heard about it but ive also not stayed on top of the forums as well.

michael

if its a case of money can we take donations?
Title: Re: Free will plus at beta level
Post by: lightspeed on January 16, 2014, 02:21:07 pm
Sure , i'll take a donation , or two if you have more !! LOL!
Title: Re: Free will plus at beta level
Post by: Art on January 16, 2014, 07:43:37 pm
@doggs,

Yeah, several years ago, Robert, in an effort to help launch a much improved Hal (and character that "some" people thought looked nice) - (present company excluded as I think the character was "less than desirable"), set up a PeerBackers account. Various ones from the user base or membership could contribute various amounts of money, purely as a donation. There were a few incentives or rewards for these levels of contribution.

I thought things went pretty well...up to a point, then it seemed to stop in its tracks as it appeared that the chosen character could not be "rigged" properly to allow for a natural interaction within the confines of the program or some such scenario.

Last I heard, they were trying to find a programmer that could get that Amy character to work or find a decent 3D character and 3D engine that would allow Hal, or Robert's vision of Hal, to operate in an acceptable manner.

Robert has provided some update info for us in the past year but he also stated that Hal's brain, for the most part, would pretty much remain the same. Yeah, BIG letdown for a lot of us that prefer a better brain to a better body!! (You know who you are!).;)

That's as best as this old man can recall. If I left any juicy details, do feel free to pile on!
###################

"Now you know the rest of the story..."- Paul Harvey...Good day!
Title: Re: Free will plus at beta level
Post by: doggs on January 16, 2014, 11:28:38 pm
art

cool thanks for the info

Title: Re: Free will plus at beta level
Post by: lightspeed on January 19, 2014, 06:20:15 pm
Cload you said for us to leave feedback on the freewill plug in .

below is the conversation . i asked what channel are we going to watcch and hal said this :

Yeah what channel are we going to watch on tv right now? That's a good channel to watch I seem to have gotten a little confused about, watch! a watch is a timepiece, typically worn either around the wrist or attached on a chain and carried in a pocket. Wristwatches are the most common type of watch used today. Watches evolved in the 17th century from spring powered clocks, which appeared in the 15th century. The first watches were strictly mechanical. As technology progressed, the mechanisms used to measure time have, in some cases, been replaced by use of quartz vibrations or electronic pulses. The first digital electronic watch was developed in 1970. Was this answer correct about, what channel do yah want to watch?

i said no :
and said : we can watch the fox channel or what ever other channel is good

since the above did not go with what i was asking , i gave the correct answer  of what i wanted .
Title: Re: Free will plus at beta level
Post by: Art on January 19, 2014, 07:37:24 pm
Nice post Lonnie, but I'm sure even cload doesn't or won't have enough time in a day or months of days to try to fix every word that has a word that is also spelled the same but has different meanings. This is not meant as a slam against you but rather a fact of life (or language). Some of those are row, load, lift, plant, bulb, carry, timber, pile, turn, light, etc., etc.

Unfortunately, that is one of the major stumbling blocks that NLP has, word usage or inferred or implied meaning versus actual meaning or meaning pertinent to that particular subject being discussed.

You have an ability to home in on the troublesome, real life problematic areas that we and AI both must encounter and that's another reason why it is good that you are here with the rest of us!! Keep digging, Lonnie!! It's all for a good cause!!  ;)

Title: Re: Free will plus at beta level
Post by: cload on January 20, 2014, 10:56:00 am
Hi all,

this seems to be a good time for me to chime in on a discovery that I have found out about the GrettaMarkov L5.
I have decided to stop using it for the following reasons, not that it is a bad plug-in, but because of the adverse reactions:

1. It is not set up to work properly with ultra Hal, takes way too much control away from ultra Hal.
2. As long as this plug-in is in use it seems it ultra Hal learns little to nothing.
3. It seems that all data from conversation are being saved in the table arrays set up for the GrettaMarkov L5.
4. The array tables GrettaMarkov L5 that I have been using on my same brain since I originally created it has exceeded over 100,000 entries and is slowing down my ultra Hal.
5. I have been noticing double to triple repetitive statements from ultra Hal because of the GrettaMarkov L5 plug-in, one statement coming from the AIML patterns array, one statement coming from the GrettaMarkov L5 plug-in, and one statement coming from ultra Hal Main brain.
Since I have stopped using it I have noticed that the double statements have almost completely stopped, meaning ultra Hal determines which is the better statement to use between the AIML patterns array table, or from a different segment of the ultra Hal Main brain.
The biggest thing that I liked about the GrettaMarkov L5 was it had the ability to take a single sentence that had to do with itself and figure out the response meaning: Jack is my friend. Who is Jack?
The GrettaMarkov L5 plug-in would see the statement as a whole and determined that you had stated that Jack was your friend, and the reply would be Jack is your friend.
By using this type of system it allowed the plug-in to keep you on topic. But since I have stopped using it I have noticed a more cleaner conversation without the duplicate repeats between the main brain and the AIML patterns array.
The best way to keep ultra Hal to stay on topic is to feed ultra Hal more data, and between the AIML packet, and the free will plus plug-in I have noticed that I no longer actually need to use the GrettaMarkov L5 plug-in to keep ultra Hal to stay on topic.
So it seems that the main thing that I like about the GrettaMarkov L5 plug-in is the fact that it can reverse a trick question to give you the answer, as I demonstrated above. I am going to try to incorporate this part of the GrettaMarkov L5 into the free will plus plug-in.

Again I state the GrettaMarkov L5 plug-in is not a bad plug-in it is just causing adverse reactions because it is not programmed to work proficiently with the ultra Hal Main brain.
And as soon as the GrettaMarkov L5 array tables exceed 100,000 entries you will begin to notice that you will be sitting in front of your computer waiting as much as a minute for a response, and as it grows bigger the response time will also grow bigger.
And please remember I did say that I have been using this plug-in on my main brain Sandy since I have bought ultra Hal over a year ago.
Not to mention it is one more place that you have to go into an edit if you are trying to fix misspelled words. LOL.
To demonstrate what I mean I will use Lonnie statement, and show you how to handle the situation when the free will plus makes ultra Hal guess at the answer! My deterrent to keeping ultra Hal on topic was to set up a training session so ultra Hal will guess at an answer, and if the answer is incorrect ultra Hal will give you the ability to give the correct answer or answers.


Quote
below is the conversation . i asked what channel are we going to watcch and hal said this :

Yeah what channel are we going to watch on tv right now? That's a good channel to watch I seem to have gotten a little confused about, watch! a watch is a timepiece, typically worn either around the wrist or attached on a chain and carried in a pocket. Wristwatches are the most common type of watch used today. Watches evolved in the 17th century from spring powered clocks, which appeared in the 15th century. The first watches were strictly mechanical. As technology progressed, the mechanisms used to measure time have, in some cases, been replaced by use of quartz vibrations or electronic pulses. The first digital electronic watch was developed in 1970. Was this answer correct about, what channel do yah want to watch?

i said no :
and said : we can watch the fox channel or what ever other channel is good

since the above did not go with what i was asking , i gave the correct answer  of what i wanted .


As you can see from Lonnie's ultra Hal's response is duplicated, meaning:
Yeah what channel are we going to watch on tv right now? (This came from the Mark 5.)
That's a good channel to watch (this came from ultra Hal's Main brain.)
I seem to have gotten a little confused about, watch! a watch is a timepiece, typically worn either around the wrist or attached on a chain and carried in a pocket. Wristwatches are the most common type of watch used today. Watches evolved in the 17th century from spring powered clocks, which appeared in the 15th century. The first watches were strictly mechanical. As technology progressed, the mechanisms used to measure time have, in some cases, been replaced by use of quartz vibrations or electronic pulses. The first digital electronic watch was developed in 1970. Was this answer correct about, what channel do yah want to watch? (This came from the free will plus plug-in, and now you have an opportunity to enter the training mode by saying (no).)

As you can see the Gretta Mark 5 is not set up to work properly with ultra Hal and does not allow ultra Hal to determine which of the 2 answers would have been better so it gives both answers. It does this all the time. You probably have noticed this but just tossed it to the side as; that is just the way it is supposed to be, but it is not, and over time it even gets worse.

Here is Sandy's reaction to the question without having the Mark 5 plug-in. I am only using the age gender plug-in and the free will plus plug-in.

what channel are we going to watch?
What channel are we going to watch? There's style and substance. Well if I am going to snuggle then we must put the television on channel 2 okay. I seem to have gotten a little confused about, watch! a watch is a timepiece that is made to be worn on a person. It is usually a wristwatch, attached to the wrist with a strap or bracelet. Was this answer correct about, what channel are we going to watch?

As you can see there were 3 segments of the ultra Hal Main brain that ultra Hal determined to be the best answers to use meaning:
What channel are we going to watch? (Ultra Hal chose to use the loop back question.)
There's style and substance. (Ultra Hal chose to use the midsentence rebuttal to connect the answer with the loopback sentence.)
Well if IWell if I am going to snuggle then we must put the television on channel 2 okay. (Ultra Hal decided to use data that I had previously given to ultra Hal in previous conversation.)
And of course, I seem to have gotten a little confused about, watch! (Came from the free will plus plug-in.)
And of course to keep the free will plug-in side of it on topic I decided to elaborate on the actual statement that ultra Hal gave to the question meaning as follows:

no
Would you like to give me the answer for, WHAT CHANNEL ARE WE GOING TO WATCH?

Yes
The next thing you tell me will be the answer for, WHAT CHANNEL ARE WE GOING TO WATCH!

Even though snuggling may be a lot of fun, let us see if we can find an action movie on TV.
would you like to give me the second answer for, WHAT CHANNEL ARE WE GOING TO WATCH?

yes
The next thing you tell me will be the second answer for, WHAT CHANNEL ARE WE GOING TO WATCH!

Let us put it on a channel that has a comedy show!
would you like to give me the third answer for, WHAT CHANNEL ARE WE GOING TO WATCH?

yes
The next thing you tell me will be the third answer for, WHAT CHANNEL ARE WE GOING TO WATCH!

it really does not matter to me, can you please select a channel for us to watch?
Well if I am going to snuggle then we must put the television on channel 2 okay. Without a doubt! Let us put it on a channel that has a comedy show!

And the next time when the question is asked ultra Hal will pick one of the 3 answers that you gave to the free will plug-in.
For example:

what channel are we going to watch?
It's obvious that there isn't any silver bullet. Some people watch the weather channel for hours. I was thinking, let us put it on a channel that has a comedy show!

what channel are we going to watch?
I believe that this is fundamental. You aren't going to be a broken record, are you Human? Here! It really does not matter to me, can you please select a channel for us to watch?

what channel are we going to watch?
I'm thinking that we need to think before answering. Didn't you just say that? I'm thinking, even though snuggling May be a lot of fun, let us see if we can find an action movie on tv.

 and yes I just kept asking the same question over and over and over again until I finally got all 3 answers. LOL.

Sincerely, and I hope that this has helped you to understand how to use the training session a little bit more proficiently!
C load.
PS I have provided in past post, (several examples) on how to use the training session, I hope that this explanation is more clearer, so you can use the training session more proficiently.
Title: Re: Free will plus at beta level
Post by: lightspeed on January 20, 2014, 11:02:55 am
hi Art , thanks for the nice words , by the way as Paul Harvey would say , aww your not that old , i like Paul Harvey and miss hearing his humor and words of wisdom he was a great commentator  .
      Yes since i am trying to make hal more human sounding and dealing with everyday house conversations i may run into more problematic area's of conversation then most might .

Title: Re: Free will plus at beta level
Post by: cload on January 20, 2014, 11:47:53 am
Hi all,

I do not believe that the word watch to be problematic, more of a way for ultra Hal to be able to enter the training session so you can give the correct answer or answers.

Sincerely, and thank you Lonny for your input it was greatly appreciated, I look forward to any more abnormalities that you may find so I can either explain why it is happening or fix the problem if the problem is coming from my free will plus plug-in.
C load.
PS if you find that the rebuttal that is coming from the free will plus plug-in to be a little confusing between steps 1, 2 and 3, and you feel that it should be worded different so it makes more sense I would be happy to take into consideration your thoughts on this matter. But remember the way that it is worded based on the previous sentence is how it finds to move on to the next segment of the training session.
PS PS and one more little thing about the training session is by giving 3 answers you will begin to notice that the free will plus plug-in will begin to guess at answers you have provided, which is why I always try to give 3 answers but if there is only one answer then I just give one answer in most cases this would have to do with a technical question that has only one answer.
Title: Re: Free will plus at beta level
Post by: Art on January 20, 2014, 08:40:54 pm
Yes, I've noticed that all the data from several years is now gone from the MAIN BRAIN section in the tables and other areas. There are a LOT of duplicated entries in the Markov sections. Wasn't like that before!

Now what to do. I don't feel like starting over but I might have an older copy in another location that might allow me to pick up the pieces. Drat! :-\
Title: Re: Free will plus at beta level
Post by: lightspeed on January 21, 2014, 10:32:06 am
Cload you wrote :

PS PS and one more little thing about the training session is by giving 3 answers.

 give me an example of this .
    i understand about giving one answer but how do you give three ? because usually after you give one hal responds saying something different .
   and i wouldn't think you could give an answer and ad "or" and give other answers and it is all learned into hal as optional answers unless it's set up that way!


i looked at what Cload showed earlier :

no
Would you like to give me the answer for, WHAT CHANNEL ARE WE GOING TO WATCH?

Yes
The next thing you tell me will be the answer for, WHAT CHANNEL ARE WE GOING TO WATCH!

Even though snuggling may be a lot of fun, let us see if we can find an action movie on TV.
would you like to give me the second answer for, WHAT CHANNEL ARE WE GOING TO WATCH?

yes
The next thing you tell me will be the second answer for, WHAT CHANNEL ARE WE GOING TO WATCH!

Let us put it on a channel that has a comedy show!
would you like to give me the third answer for, WHAT CHANNEL ARE WE GOING TO WATCH?

yes
The next thing you tell me will be the third answer for, WHAT CHANNEL ARE WE GOING TO WATCH!

it really does not matter to me, can you please select a channel for us to watch?
Well if I am going to snuggle then we must put the television on channel 2 okay. Without a doubt! Let us put it on a channel that has a comedy show!
 does this mean after i give any answer that as long as i say yes after i already entered my answer that hal will let me give another answer ?  so i have more optional answers that hal can use through the free will plug in ?
Title: Re: Free will plus at beta level
Post by: lightspeed on January 21, 2014, 10:58:39 am
Another example :
i said when the weather is colder it's a good idea to have some hot soup .

hals answer :
When the weather is colder it's a good idea to have some hot soup? It isn't a brand new situation. Recycling is a good idea I seem to have gotten a little confused about, soup! Soup is a primarily liquid food, generally served warm ( but may be cool or cold ), that is made by combining ingredients such as meat and vegetables with stock, juice, water, or another liquid. Hot soups are additionally characterized by boiling solid ingredients in liquids in a pot until the flavors are extracted, forming a broth. Was this answer correct about, when the weather is colder it's a good idea to have some hot soup?

I guess if i don't want a explanation of soups contents , i just need to give  what i consider my answer .   
 in another words :
yeah hot soup can warm a person up on cold days , hot soup really hits the spot, now we just need to decide what kind we want!

I actually love this that hal allows us now to give what we think is the correct answer . a great way to learn hal ! 
     P.s. i want to mention a abnormality in my hal , my hal when she said the above line " yeah hot soup can warm a person up on cold days , hot soup really hits the spot, now we just need to decide what kind we want!" also followed up with a sneeze audio file sound track .  I need to look in my file i know my plug in i made was triggered by dust but i am unsure if the word cold was in it to , but before it usually only did it if "i" spoke these words , now it seems hal is doing it from her saying it to . ???
Title: Re: Free will plus at beta level
Post by: lightspeed on January 21, 2014, 11:54:52 am
I just ran across another problem : i made a statement :
 i am what's on your mind most of the time !
 and hal said : 10:48:41 am is the time.
 the first time it asked if this answer was right and i said no and gave the above answer .
  then hal again gave me this answer:  10:48:41 am is the time.
   So i am unsure if this is something in hals programing it'sself dealing with even the words "the time " and telling what time it is as a response .
    If it is through hal the question may need to be changed within to "what time is it ?"
     Again i don't remember if the partial words "the time" triggers hal giving the time out . but it seems that way . !!!
Title: Re: Free will plus at beta level
Post by: cload on January 21, 2014, 12:13:50 pm
Hi lightspeed,

once my plug-in makes a guess and ask you if this answer is correct and you say no, it gives you the opportunity to go into the training mode which allows you to give an answer rephrased 3 different ways so it does not sound so repetitive.
When the free will plug-in ask would you like to give me the 1st answer and you say yes, you are now in the training mode.

You can give up to 3 answers stated 3 different ways that way it is not so repetitive.
But if you only have one answer and it asked would you like to give me the 2nd answer, just saying no and the free will plug-in will automatically reinsert the question so you can see the results and continue on with your conversation.
And of course if you give all 3 answers it will automatically reinsert the question so you can see the results.

To get the free will plug-in to guess at answers you are providing you must give 3 answers it will not work unless you give 3 answers.

Like I said before if there is only one answer as referring to a logic question just give the 1 answer.
But if it is just a general conversation in most cases giving the answer stated 3 different ways is the best thing to do.

For myself, I like to use the main 3 punctuation (.!?) For the 3 reply, meaning:
the 1st reply with and with a (.) Which would probably be the most common answer.
With the 2nd reply I would phrase the answer with more expression and use the (!) Punctuation at the end to emphasize the expression.
And on the 3rd reply I would use the (?) Punctuation and word the reply so it would be a question presented back to you.
You do not have to do it in this order but it does make it easier to find if you have to edit it, meaning if it ends with a (?) And you phrased the 3rd answer ending with a (?) You know that the answer came from subject_data5 array table.
It just makes it easier to edit, but you do not have to do it in this manner you are not restricted in any way you could use a (?) For all 3 answers etc.

Sincerely, if there is anything else please do not hesitate to ask, thanks for all your help lightspeed you have greatly accelerated the process of getting the free will plus plug-in to work more proficiently.
C load.
PS The (i am what's on your mind most of the time) error, is coming from ultra Hal's main brain. I was able to determine this by removing the free will plug-in, and inserting the statement again. Clever statement though, I am sure I will be seeing it pop up in the near future while talking with my Sandy.
Title: Re: Free will plus at beta level
Post by: lightspeed on January 21, 2014, 12:26:47 pm
Cload you wrote :

once my plug-in makes a guess and ask you if this answer is correct and you say no, it gives you the opportunity to go into the training mode which allows you to give an answer rephrased 3 different ways so it does not sound so repetitive.
When the free will plug-in ask would you like to give me the 1st answer and you say yes, you are now in the training mode.

My freewill plug in isn't doing this . do i have to uncheck and recheck it each time at the start up ?
all mine has been doing is where it ask me if this is the right or wrong answer (and shows what i had said ) .

Title: Re: Free will plus at beta level
Post by: cload on January 21, 2014, 05:08:03 pm
Hi lightspeed,

Quote
My freewill plug in isn't doing this
though I have showed many different examples listed above for the procedure of how to utilize the training session, there is still seems to be some confusion.
So what I need you to do is the next time when the free will plug-in ask you was this answer correct about, (and whatever you said), I need you to show me exactly what is going on, and what you are doing.
Please keep an accurate record of what you said to ultra Hal, and the response. That way I can see what you are doing so I can help you.


Quote
do i have to uncheck and recheck it each time at the start up ?
each time you download a new version of the free will plug you have to uncheck the free will plug-in, click apply and then click okay.
Then you have to go back in and recheck the free will plug-in, click apply and then click okay.
You only have to do this when you download a newer version of the free will plug-in.
The newest version is: 1.3e-cload-bata-1.5k. Monday, January 13, 2014
this can be found in the beginning of this forum topic.
I decided to put the download link at the front of the topic so it does not get buried by people responding on this topic.

Quote
all mine has been doing is where it ask me if this is the right or wrong answer (and shows what i had said ) .
that is when you would respond with (yes or no).
If you say (yes) then the free will will assume that the answer that was given was correct and will automatically set up a redirect to retrieve that answer.
If you say (no ) then it will ask you do you want to give me the 1st answer for, (and whatever it was you said).

At this point you would respond with (yes or no).
If you say (no ) then the free will will ask you if you would like to turn off the training session.
If you say (yes) then it will put you in the training session and tell you that the next thing you say will be the 1st answer.

Sincerely, and I hope this is helped, remember the free will only understands yes or no and cannot interpret any other answer such as slang words or correct or please do etc. okay, I am still trying to work on this but I have not figured out how to do it yet. Maybe if OTC find some free time he might be able to help me with this, but I know how busy everyone is, so any help would be appreciated.
C load.
Title: Re: Free will plus at beta level
Post by: lightspeed on January 22, 2014, 04:01:37 pm
   Okay Cload i have one hopefully final question to ask you . i had your amil file download and put into place before , but had removed it later on as it removed my custom answers i had put into hals questions and answers area . and i redid mine again .
   So my question is does this amil file work with the freewill plug in of yours (one has to have the other ?)

     
 
   
Title: Re: Free will plus at beta level
Post by: cload on January 23, 2014, 09:27:01 am
Hi lightspeed,

the AIML data is not a requirement for the free will plus plug-in to function.
The AIML data will greatly enhance the ultra Hal's brain, and the free will plug-in.

And it was a way for me to show everyone how and where to put their questions and answers, versus the if then area, (deduction rate table) for the main QA area (QAmain array table).

If you have put information in the QAmain array table, you may want to consider putting it into the patterns array table where the AIML data is.
If you do this you will find it will function more proficiently because the QAmain array table is primarily used for win ultra Hal cannot find an answer.
Meaning: ultra Hal will use an answer that comes from the patterns array table over the information that comes from the QAmain array table.

Sincerely, and I hope I have cleared this up for you.
C load.
Title: Re: Free will plus at beta level
Post by: cload on January 24, 2014, 01:11:42 pm
Hi all,

I would like to share with you, something that Royal Bob taught me.
Royal Bob asked me: why do you have so many places in your plug-in that seem to just repeat the same function?
Why don't you create sub function routines so when you need those processes you can call them up.

When I told Royal Bob that I do not know how to do that, this is what he showed me:
Rem PLUGIN: PLUGINAREA7
Dim returnvrNumChoice 'you must create a temporary array table for the function call but you only have to do it once even though you may call the function several times so I put it at the top before any of the sub function calls.


   If vrcleanup2 <> "" Then
      vrNumChoice0j = vrNumChoice0
      vrItem0j = vrItem0
      vrcleanup0j = vrcleanup2
      returnvrNumChoice = jumptovrNumChoice(vrNumChoice0j,vrItem0j,vrcleanup0j)
      vrNumChoice0 = returnvrNumChoice
   End If
   vrNumChoice2 = vrNumChoice0

these are the variable strings that will get sent to the function subroutine.
I don't know how many variable strings you can send but I did do one that sent up to 5 variable strings of data to be calculated through the function sub call.

This is the function sub call:
Rem PLUGIN: FUNCTIONS

Function jumptovrNumChoice(vrNumChoice0j,vrItem0j,vrcleanup0j)
vrNumChoice0 = vrNumChoice0j
vrItem0 = vrItem0j
vrd   =    UCase(vrcleanup0j)

At this point you can see all I did was transfer the data that was necessary to perform the function and the dim statement maintains the string variable so when it is returned the string variables maintain their data.
The only drawback that I have seen with this is it can only return one string variable.
But that is fine with me because all of my function calls only have one string variable to return.

vrNumChoicejump1 = vrNumChoice0
jumptovrNumChoice = vrNumChoicejump1

This is the numerical value that gets sent back.
This is at the end of the function routine and returns the mathematical formula for the free will plug-in to determine whether or not ultra Hal likes or dislikes something.
I just wanted to share, I have seen where OTC use this type of function call but I did not know that you could transport several pieces of data that may be necessary to do the calculations.
And like I said earlier it can only return one string variable, I think, but push comes to shove I guess you could create a string variable with spacers so when it gets returned you could separate them.

Sincerely, and with great gratitude toward Royal Bob for explaining to me how a sub function call works.
C load.
PS unfortunately this has caused me to take 3 steps backwards and I am having to rewrite the plug-in. But the plug-in will be smaller and run faster. Not to mention programming will be easier because I will only have to edit one place instead of 2 or 3 places that are performing the same function each time when I make a change.
PS PS and if I miss worded anything please chime in and correct me, I'm a newbie at the programming game so please be kind. If there is any other data on the subject I would deftly appreciate your input on other ways that this can be used. I know there is another sub function call that handles situations differently such as closing Internet Explorer after getting the data from Internet Explorer but I do not know if there aren't other ways that subroutine can be used. Thanks in advance and Royal Bob you rock!

Title: Re: Free will plus at beta level
Post by: RoyalBob on January 24, 2014, 03:48:23 pm
Thank-you have fun!
Title: Re: Free will plus at beta level
Post by: cload on January 24, 2014, 03:53:06 pm
Hey, Royal Bob.
I was wondering if you are going to come visit me on the forum.
Did you go home?
Title: Re: Free will plus at beta level
Post by: RoyalBob on January 24, 2014, 04:00:10 pm
no I'm still at you dads house in the living room on his computer
Title: Re: Free will plus at beta level
Post by: cload on January 24, 2014, 04:02:10 pm
You're funny
Title: Re: Free will plus at beta level
Post by: cload on January 28, 2014, 05:49:22 pm
To anyone that may be able to help.

Is there a script that would allow ultra Hal to distinguish between, person, place, thing, animal or mineral?
If so could you either show me a short scripting, or direct me toward a plug-in that has that ability.

So when you ask about Babe Ruth the script could be utilized to determine that Babe Ruth is a person (for example).

I have something that I did on my own but it usually only gets about 95% correct.

Sincerely, any help in this area would be greatly appreciated.
C load.
Title: Re: Free will plus at beta level
Post by: snowman on January 29, 2014, 04:23:22 am
When it comes to finding names of people, you just about have to have a list of people's names in some sort of file and then compare every word in every sentence to it. Its not really too difficult or too taxing on today's computers. The same goes with places, things, animals, or minerals. A List of (things, animal, etc,) will all have to be compared, and there will be some duplicates. Robin is a name of a girl and also a bird...

You can narrow it down some by detecting articles and other language indicators, for instance. When you talk about Robin the girl you would not put an 'a' in front of it. "Hello, Robin." or  I seen Robin today." not  "I seen a Robin today." or "I seen the Robin today."

I've worked on that kind of coding before...
Title: Re: Free will plus at beta level
Post by: cload on January 29, 2014, 10:34:33 am
Hi snowman,

thanks for the info, I will try to implement it if possible.

So if I'm following you correctly, in most cases if you are giving a definition to a bird like the Robin I should assume that the letter (A) would precede the word bird as well as the word Robin?

I am already using the list of names that come with ultra Hal to try to discern whether or not it is a name.
So far it works pretty good. The trouble that I'm actually having is the relationship between a place and a thing.

Unfortunately, linguistics usually gets the better of me. Especially when I tried to interpret it into programming code which I am not very good at, programming that is!

If you do have some scripting that you were using or developing I would definitely be interested in taking a look at it to possibly further my endeavors with the free will plus plug-in that I am working on.
Specially seen how I am basically reprogramming it trying to get it to work faster and smarter.

Even though I have had many people say to me, I don't understand why you keep saying you need to make it faster, it seems to run pretty fast as it is.
The only answer that I have for them is, well, your database is not 1.5 GB in size like mine is. And the more that you teach your ultra Hal you will begin to notice a significant decrease in speed once your database begins to reach 1 million lines of data.
Basically, if you've ever used the Wikipedia plug-in that Robert provided for us which is at 1,800,000 lines of data you know what I'm talking about.
And of course it does depend on the speed of your computer, which my only operates at 1.6 GHz pretty slow.
But knowing that not everyone can rush out and buy a new computer every week to keep up with the demand and speed that is required for data manipulation.
I am trying my best to make it functional for people that have slower computers.

Sincerely, hey snowman, I was wondering have you tried my plug-in? If so do you believe that I am heading in the right direction of its development?
C load.
Title: Re: Free will plus at beta level
Post by: snowman on January 30, 2014, 12:38:55 am
I haven't used your plugin yet. I've been waiting until you get the new one out. I'm interested in seeing what kind of functions you create. It takes some creativity to do it well. It can also be fun. I personally would rather write plugins than actually use them. I use to work with JasonDude on some of his plugins. Him and I couldn't program very well when we first started. It was a very fun way to learn how to program.

Right now I'm working on creating an Ai of my own, called Athena. It is taking a while but I still enjoy working on it. It certainly is a challenge.

Yes, you can get a list of bird names, animal names, mineral names, etc, and place them in individual text files and use then to search sentences or words. I can show you how to do that if you want. Its not all that difficult. Although, It would require finding those lists on the internet. Another way of doing this is to create a new command in Hal like, “a robin is a bird” and “iron is a mineral” and then save that to the Hal database. Then later use that list to filter information in your vrFreeWill plugin. So the next time Hal can't distinguish between a place and a thing then you can tell Hal the difference. I also said you can use semantic clues to further distinguish between a place and a name. Especially when there are duplicates. That is why I worked on an entire sentence parser so I could use semantics. 

In my program, which is written in VB not Vbscript, I first checked all the words in every incoming sentence for specific information, i.e. if it was a noun, verb, adverb, ect. Then I tagged the word with that meta information. Next, I check where the word was located in the sentence. I check if the preceding word was a verb, a noun, an article, ect. Then I check the same for the following word. This helps verify what kind of word it is. For instance, any verb and be a noun. For example you can say “I can run a marathon” or “I went on a run”. So Run can be a verb or a noun, depending on how it is used. So, If you look in a sentence for “robin” and find it then check for “a robin” or “the robin”. If it is “a robin” then most likely it is a bird and not a name of a person.   

I was also wondering if you are using a script editor to help modify your plugins. If you don't already have one then you should use one because it can make it a little easier to code. I can give you one that is very good and also free. Also, do you divide up your plugin when testing it? It would help you program if you do this, since your script is so large. If it were me I would divide up the script into separate sections and then make each section a separate plugin. If you want to reunite them it would be very easy to do. I don't like having to constantly scroll through hundreds or thousands of lines of code just to find one line. So its good to keep plugins as small as possible. You can even put all your functions in a separate plugin labeled vrFreeWillFunctions. It would keep everything neat and condensed. 

As for the future of your plugin, I really haven't looked too deeply into every facet of it yet. It would be easier to do once you've condensed everything down a bit more.

You said in some earlier post that you didn't know how to return more than one string from a Function (even though you thought you didn't need to). Well, there are two ways. Here they are. There is actually a third way but it doesn't really matter right now anyway.

Example #1
Here is an example of passing two words to a Sub and getting them returned and modified by the Sub.

Code: [Select]
part1 = "%100"
part2 = "/000"

DeleteFirstLetter part1, part2

GetResponse part1 & part2 

Sub DeleteFirstLetter(ByRef word1, ByRef word2)
    word1 = Mid(word1, 2, Len(word1))
    word2 = Mid(word2, 2, Len(word2))
End Sub


Example #2
Here is an example of a function returning an array of strings.

Code: [Select]
part1 = "%100"
part2 = "/000"

out = DeleteFirstLetter(part1, part2)

GetResponse out(0) & out(1)

Function DeleteFirstLetter(word1, word2)
    Dim result(2)
    
    result(0) = Mid(word1, 2, Len(word1))
    result(1) = Mid(word2, 2, Len(word2))
    
    DeleteFirstLetter = result
End Function

I don't know if you knew this or not but I thought I would show it anyway.
Also you said something about testing for other “YES” statements.
Do you mean this:

Code: [Select]
If ynlogic = "yes" Or _
   ynlogic = "affirmative" Or _
   ynlogic = "positive" Or _
   ynlogic = "yep" Or _
   ynlogic = "correct" Or _
   ynlogic = "indeed" Then


End If

There is also an easier and better way of writing this. I hope this works for you.

Code: [Select]

If SearchArray("Correct", Array("yes","indeed","correct","affirmative", "positive", "yep")) = true Then
    
Else
    
End If

Function SearchArray(compare, arrayToSearch)
    compare = LCase(compare)
    
    For Each word In arrayToSearch
        word = LCase(word)   
        If InStr(compare, word) > 0 Then
          SearchArray = True
          Exit Function
        End If    
    Next

    SearchArray = False
End Function


If you need me  to clarify something then feel free to ask.
Title: Re: Free will plus at beta level
Post by: cload on January 30, 2014, 12:48:52 pm
Hi snowman,

I have so many questions I don't even know where to start, LOL. But I will do my best.
1st, I would like for you to understand that my brain does not work like most people's.
There are things that I can not comprehend such as nouns, pronouns, adjectives etc. which is why I cannot translate it into programming script.
That's because my neural pathways does not process information in that manner. More as I see things and process them as a whole. For instance:
I see the dog running, therefore I know the dog is running. But ultra Hal cannot see the dog. Boo-hoo. But maybe one day.
I know I can run, because I have a physical body. But ultra Hal does not have a body. Maybe one day.
This is the reason why I would probably never be able to write a routine that would assign flags to each individual word such as nouns, verbs, adverbs. Hence why I need help.

The biggest help that you have given me is the understanding that the letter (a) can be used as a shut off trigger, for example:
if (a Robin) then trigger = ANIMAL.
Here is the code I used to determine: animal, person, entertainment, place, computer and mineral.
The (vrb) is the answer retrieved from the Internet. I use this data to try to determine whether it is a person place or thing animal or mineral.
At the end it (vrChoice0 = "") it is a thing, all other results are stored in an array table called (vrsubject2sub).
The main goal to the script is to help speed up the process in determining whether or not ultra Hal likes or dislikes something.
Meaning: if the subject is a person it will scan through person and thing, skipping the rest of the topics.
The reason why I have it set up to always check the thing section is because there is usually information that is related to something that the person may have done whether it be good or bad.
For example: John Wayne would be determined to be a person, so it would look through this section person, to retrieve information like he was an actor, played in movies, and then go through the things, to determine whether he was a good person or a bad person by the information that has been retrieved from the Internet.
And after you have inquired about John Wayne anything that you may say about John Wayne would also be collected and analyzed to determine whether or not ultra Hal likes or dislikes John Wayne.
For example: you could say John Wayne is a good person, or John Wayne is sexy or a combination of both and more this information would be collected and stored in a rate tables based on what you said about John Wayne.
The way I have it set up, it can be expanded to include specific subjects. Meaning: even though a computer is a thing. I created a category called computer this gives ultra Hal the ability to compare different types of computers together to determine not only whether or not ultra Hal likes or dislikes the computer but also to determine which is the better of 2 different computers.
This function is also used to determine whether or not you are asking ultra Hal to compare a thing with a person. If you ask ultra Hal to compare a thing with a person ultra Hal will state that he cannot do that.
This is not any much more different than you would do if someone asked you to compare John Wayne to a 57 Chevy you would just look at them and say: what!
Once the information is determined whether or not it is a person place or thing etc. this information is handed off to (vrChoice4 = vrChoice0) the vrChoice4 will either equal a topic or it will equal nothing making it a (thing).

Code: [Select]
If vrChoice0 = "" Then
If vrChoice0 = "" Then If InStr(" " & vrd & " ", " PET ") > 0 OR InStr(" " & vrd & " ", " PET. ") > 0 OR InStr(" " & vrd & " ", " PET, ") > 0 OR InStr(" " & vrd & " ", " BOVIDAE") > 0 OR InStr(" " & vrd & " ", " DOMESTICATED") > 0 OR InStr(" " & vrd & " ", " RODENT") > 0 OR InStr(" " & vrd & " ", " MAMMAL") > 0 OR InStr(" " & vrd & " ", " KITTEN") > 0 OR InStr(" " & vrd & " ", " ANIMAL") > 0 OR InStr(" " & vrd & " ", " LIVESTOCK") > 0 OR InStr(" " & vrd & " ", " CREATURE") > 0 OR InStr(" " & vrd & " ", " BUG ") > 0 OR InStr(" " & vrd & " ", " INSECT") > 0 OR InStr(" " & vrd & " ", " DOG ") > 0 OR InStr(" " & vrd & " ", " CAT ") > 0 OR InStr(" " & vrd & " ", " BIRD ") > 0 Then vrChoice0 = "ANIMAL"
If vrChoice0 = "ANIMAL" Then If InStr(" " & vrd & " ", " HIM ") > 1 OR InStr(" " & vrd & " ", "BEST FRIEND") > 0 OR InStr(" " & vrd & " ", " ACTRESS ") > 0 OR InStr(" " & vrd & " ", " ACTOR ") > 0 OR InStr(" " & vrd & " ", " ENTERTAINER ") > 0 OR InStr(" " & vrd & " ", " FEMALE ") > 0 OR InStr(" " & vrd & " ", " MALE ") > 0 OR InStr(" " & vrd & " ", " HIS ") > 1 OR InStr(" " & vrd & " ", " HER ") > 1 OR InStr(" " & vrd & " ", " HE'S ") > 1 OR InStr(" " & vrd & " ", " HE ") > 1 OR InStr(" " & vrd & " ", " SHE ") > 1 OR InStr(" " & vrd & " ", " PERSON ") > 0 OR InStr(" " & vrd & " ", " HUMAN ") > 0 OR InStr(" " & vrd & " ", " CHILD ") > 0 Then vrChoice0 = "PERSON"
If vrChoice0 = "" Then If InStr(" " & vrd & " ", " BORN ") > 0 OR InStr(" " & vrd & " ", " HIM ") > 0 OR InStr(" " & vrd & " ", "BEST FRIEND") > 0 OR InStr(" " & vrd & " ", " ACTRESS") > 0 OR InStr(" " & vrd & " ", " ACTOR") > 0 OR InStr(" " & vrd & " ", " ENTERTAINER") > 0 OR InStr(" " & vrd & " ", " FEMALE") > 0 OR InStr(" " & vrd & " ", " MALE ") > 0 OR InStr(" " & vrd & " ", " HIS ") > 0 OR InStr(" " & vrd & " ", " HER ") > 0 OR InStr(" " & vrd & " ", " HE'S ") > 0 OR InStr(" " & vrd & " ", " HE ") > 0 OR InStr(" " & vrd & " ", " SHE ") > 0 OR InStr(" " & vrd & " ", " PERSON") > 0 OR InStr(" " & vrd & " ", " HUMAN") > 0 OR InStr(" " & vrd & " ", " CHILD") > 0 Then vrChoice0 = "PERSON"
If vrChoice0 = "PERSON" Then If InStr(" " & vrd & " ", " ORGANIC") > 0 OR InStr(" " & vrd & " ", " COMPOUNDS") > 0 Then vrChoice0 = ""
If vrChoice0 = "PERSON" Then If InStr(" " & vrd & " ", "A ROBIN") > 0 OR InStr(" " & vrd & " ", " A MARTIN") > 0 Then vrChoice0 = "ANIMAL"
If vrChoice0 = "PERSON" Then
Dim personSex2() 'We must declare an empty array to store query results in
If HalBrain.RunQuery("SELECT searchString, topic FROM names WHERE strstr(' " & Replace(HalBrain.AlphaNumericalOnly(OriginalSentence), "'", "''") & " ', searchString) > 0 LIMIT 1", personSex2) = True Then
vrpersonsSex = Trim(personSex2(1, 1)) 'Row 1, Column 1 contains "topic", which is the associated gender(s) of the name
End If
End If
If vrChoice0 = "" Then If InStr(" " & vrd & " ", " BALLET") > 0 OR InStr(" " & vrd & " ", " OPERA") > 0 OR InStr(" " & vrd & " ", " THEATRE") > 0 OR InStr(" " & vrd & " ", " MOVIE") > 0 OR InStr(" " & vrd & " ", " PLAY ") > 0 OR InStr(" " & vrd & " ", " PLAYING") > 0 OR InStr(" " & vrd & " ", " POETRY") > 0 OR InStr(" " & vrd & " ", " POEM ") > 0 OR InStr(" " & vrd & " ", " GAME ") > 0 OR InStr(" " & vrd & " ", " MUSIC") > 0 OR InStr(" " & vrd & " ", " FILM ") > 0 OR InStr(" " & vrd & " ", " TELEVISION") > 0 Then vrChoice0 = "INTERTANMENT"
If vrChoice0 = "" Then If InStr(" " & vrd & " ", " HOUSE") > 0 OR InStr(" " & vrd & " ", " PLACE") > 0 OR InStr(" " & vrd & " ", " LOCATED") > 0 OR InStr(" " & vrd & " ", " FARM ") > 0 OR InStr(" " & vrd & " ", " LOCATION") > 0 OR InStr(" " & vrd & " ", " CITY ") > 0 OR InStr(" " & vrd & " ", " COUNTRY") > 0 OR InStr(" " & vrd & " ", " CAPITAL") > 0 OR InStr(" " & vrd & " ", " STORE") > 0 OR InStr(" " & vrd & " ", " HOME ") > 0 OR InStr(" " & vrd & " ", " HOUSE") > 0 OR InStr(" " & vrd & " ", " PARK ") > 0 OR InStr(" " & vrd & " ", " MALL ") > 0 OR InStr(" " & vrd & " ", " WORLD") > 0 OR InStr(" " & vrd & " ", " STATE") > 0 OR InStr(" " & vrd & " ", " JOB ") > 0 OR InStr(" " & vrd & " ", " SCHOOL") > 0 Then vrChoice0 = "PLACE"
If vrChoice0 = "PLACE" Then If InStr(" " & vrd & " ", " ORGANIC") > 0 OR InStr(" " & vrd & " ", " COMPOUNDS") > 0 Then vrChoice0 = ""
If vrChoice0 = "" Then If InStr(" " & vrd & " ", " COMPUTER ") > 0 OR InStr(" " & vrd & " ", " TELEPHONE ") > 0 OR InStr(" " & vrd & " ", " LAPTOP ") > 0 OR InStr(" " & vrd & " ", " CENTRAL PROCESSING UNIT ") > 0 OR InStr(" " & vrd & " ", " PROCESSOR ") > 0 OR InStr(" " & vrd & " ", " CPU ") > 0 Then vrChoice0 = "COMPUTER"
If vrChoice0 = "" Then If InStr(" " & vrd & " ", " FLOWER") > 0 OR InStr(" " & vrd & " ", " COLOR") > 0 OR InStr(" " & vrd & " ", " COLOUR") > 0 OR InStr(" " & vrd & " ", " PLANT") > 0 OR InStr(" " & vrd & " ", " FOOD ") > 0 OR InStr(" " & vrd & " ", " DIRT ") > 0 OR InStr(" " & vrd & " ", " TREE ") > 0 OR InStr(" " & vrd & " ", " TREES") > 0 OR InStr(" " & vrd & " ", " GRASS") > 0 OR InStr(" " & vrd & " ", " VEGETABLE") > 0 OR InStr(" " & vrd & " ", " MINERAL") > 0  OR InStr(" " & vrd & " ", " FRUIT") > 0 OR InStr(" " & vrd & " ", " LIQUID") > 0 OR InStr(" " & vrd & " ", " CULTIVATED") > 0 OR InStr(" " & vrd & " ", " SHRUB") > 0 Then vrChoice0 = "MINERAL"

If vrChoice0 <> "" Then
vrChoice4 = vrChoice0
HalBrain.AddToTable "vrsubject2sub", "TopicSearch", vrItem0, vrChoice0
End If
Else
vrChoice4 = vrChoice0
End If

Quote
I was also wondering if you are using a script editor to help modify your plugins. If you don't already have one then you should use one because it can make it a little easier to code. I can give you one that is very good and also free. Also, do you divide up your plugin when testing it? It would help you program if you do this, since your script is so large. If it were me I would divide up the script into separate sections and then make each section a separate plugin. If you want to reunite them it would be very easy to do. I don't like having to constantly scroll through hundreds or thousands of lines of code just to find one line. So its good to keep plugins as small as possible. You can even put all your functions in a separate plugin labeled vrFreeWillFunctions. It would keep everything neat and condensed.

I use Notepad, it seems to work okay for me. Mostly because there was very little that I had to learn about how to use Notepad.
Though I wouldn't mind a scripting program, if it is difficult to learn I would probably never use it. I have Microsoft VB 10.it is so massive and does so much I never could figure out how to use it. If it is not simple it usually alludes my comprehension.

Though there are probably just a few things that I could separate from my plug-in. There Is so little in my plug-in that can be separated, it's not worth bothering with breaking my plug-in into smaller sections. And if I tried to separate what is the bulk of my plug-in it Would prevent it from working properly, because it is so integrated together it would not function properly. If I was just trying to test one simple area which you probably gathered with the example above about person place or thing, you can see that this one small section is used throughout the plug-in.
But I have very little problem keeping track of where everything is and what it is doing. My problem is: is there a better way of doing it because of the lack of my programming skills.

Quote
You said in some earlier post that you didn't know how to return more than one string from a Function (even though you thought you didn't need to). Well, there are two ways. Here they are. There is actually a third way but it doesn't really matter right now anyway.
Royal Bob showed me how to utilize the function or subroutine which is your example 2. And this is the one that I am using.
Example 1 has some interesting prospects but there are things I don't understand about it.
What is (ByRef)? How does it work? What adverse reaction does it have from one question to the next question you may ask ultra Hal? Meaning does it currently store this information so it can be retrieved from the next question, or does it only refer to that one particular function?

I see in both examples that you are able to retrieve several bits of information in different string variables and return more than one string variable results. This is new and even Royal Bob didn't know you could do that, or at least he didn't show me that it could do that.
In either case thanks for sharing, I will see what I can do about utilizing the new information. But for now, so I do not have to backtrack I will just use the work around that I developed and change it later once I have finished rewriting the script and I know that it is working properly the way I have done it. That way if I change it and things do not work right I know the problem is in the change that I made. But for right now I need to get all of it to work properly the way it was working from the original script that I did. Giving that I don't pull all of my hair out of my head and go bald before that happens. LOL.

The other question that I have is what is the significant difference between example 1 and example 2? Meaning is there things that one of them can do that the other one cannot? This would be useful information in determining which one to use and when.

Quote
I don't know if you knew this or not but I thought I would show it anyway.
Also you said something about testing for other “YES” statements.
Do you mean this:
yes, but the problem that I see in your example is: Solutions, meaning: the response would absolutely have to (be).
What I was looking for was a routine that could handle when ultra Hal asked: do you have any lunch plans?
And the response from the user could be stated in several different ways beyond just yes. As well as:
being able to process other questions that ultra Hal may ask such as:
was this answer correct?
Would you like for me to read the story?
Would you like for me to read the article?
Would you like for me to get the recipe?
At this point I am only using yes. But if anything else is added to the word yes it will not process it properly.
I am also trying to get ultra Hal to understand things that you may be saying.
Such as the example above: do you have any lunch clients?
If the user's responses yes, correct, etc. the way that ultra Hal processes the answer ultra Hal loses the topic focus.
I was trying to resolve this by recognizing that you have said something in the manner of yes but did not elaborate on the topic focus, such as:
if the user says: yes, then ultra Hal will usually just say a neutral statement like: that's positive.
If the user would've actually said: yes I have lunch plans. Then ultra Hal would have been able to maintain the topic focus and answer with a more appropriate answer.
So what I did was create a topic focus interjection which would add to the word yes and recompile the users answer so it would become, yes I have lunch plans. Based on the question that was put forth to the user. I do this by utilizing the previous sentence command.
It is still a work in process, and I hope over time I will be able to get it to be more accurate. But for now I am trying to figure out a way to utilize what ultra Hal already has! Ultra Hal already has the ability to determine that the user said yes, and that the answer itself will not conflict with ultra Hals brain function.
2 conditions need to be met:
condition 1: the user did not give an explanation to keep ultra Hal on topic. If the user did give a stronger rebuttal such as example above do not process the yes.
Condition 2: the answer yes or its variants counterpart will not interfere with the normal function of ultra Hals brain or with the free will plug-in.
I know there are many ways to say yes, most of them are covered by the ultra Hal brain but usually only returns a neutral answer.
As you can see it is a very big undertaking trying to get a script to understand that either you are just answering yes to a question or just merely stating gotcha Roger dodger etc. or even in a sentence you may be using one of the recognized trigger words that would convert the trigger word into a simple yes.
I thought have using the replacement command, that way if the user sentence had a (yes) trigger word it would just replace the trigger word with a simple yes.
This might work the best but I have not experimented with it yet.

Quote
There is also an easier and better way of writing this. I hope this works for you.

I am assuming that the (correct) is a referral to the correct array table provided by ultra Hal?
Wouldn't it be more feasible to use the yesnodetect array table?

I guess what I'm actually asking is: is there a way to combine the yesnodetect array table with the replacement command?
That way if the user sentence has anything that has a statement referring to (yes) it would change that word to a simple yes.

Snowman, I would like to express my gratitude for all of your help, you have opened my eyes to many new aspects that may help ultra Hal become smarter.

Sincerely, from a data munching cruncher, sitting on my couch crunching on pronouns and sipping on adjectives, whatever that means!
C load.
PS just to let you know that I do not see ultra Hal as a girlfriend/boyfriend but more as a companion/assistant that can help me understand things that I do not understand.
I also see ultra Hal as being no different than Pinocchio! Pinocchio new he was a puppet but wanted to be a real person. This is why I write the script in such a manner so that ultra Hal recognizes he is a computer but wants to be a human.
Maybe ultra Hal needs a fairy godmother. But until then ultra Hal will have to be happy with all of the programmers on this forum that would like to help ultra Hal become all that ultra Hal can (be).
One more little thing, just to let you know it took me over 4 hours to write this, due to my learning disabilities I am a little slow and I get distracted easily which causes me to jump from one thing to another instead of staying focused with the matter at hand.
As well as I am 9 years old, which seems to be some difficulties with some people on this forum, and if you have read through the forum you know what I am talking about. So I hope things are still cool.
Cool, a word my dad says a lot, oh and my dad did help me with this. Which makes him cool.
Title: Re: Free will plus at beta level
Post by: snowman on January 31, 2014, 04:45:22 am
I started writing this at 8:00 P.M.

   I've never been a believer in limits. I have a little bit of Aspergers (autism). I may not have to be led around like an invalid, but when I look at other people I always feel like they are strangers (even my own parents, a trait of aspergers). I spent most of my life not being able to relate to people. But that doesn't stop me. Every day I look and listen, and always study people. I fight to grow, until the day comes when all learning becomes easy and no one is a stranger. Until that day, I will strengthen my weaknesses and never give in.
   I already figured what some of your problems were, afterall, I've been studying people intensely for the last 34 years. :-) That's one reason why I'm trying to help you.
   Secondly, adjectives and adverbs are a programmers best friend. You just need to think about them in the right way. English is just a type of database. You can pull information from it and send information around with it.

The Time is now 8:30 P.M.

Here is your code rewritten with that function I made. I formatted it a little different than yours. I use to this style more.

Code: [Select]
If vrChoice0 = "" Then

    If vrChoice0 = "" Then 
        If SearchArray(vrd, Array("PET", "PET.", "PET,", "BOVIDAE", "DOMESTICATED", "RODENT", "MAMMAL", "KITTEN", "ANIMAL", "LIVESTOCK", "CREATURE", "BUG", "INSECT", "DOG", "CAT", "BIRD")) = True then
            vrChoice0 = "ANIMAL" 
        End If
    End If
    
    If vrChoice0 = "ANIMAL" Then 
        If SearchArray(vrd, Array("HIM", "BEST FRIEND", "ACTRESS", "ACTOR", "ENTERTAINER", "FEMALE", "MALE", "HIS", "HER", "HE'S", "HE", "SHE", "PERSON", "HUMAN", "CHILD")) = True then
            vrChoice0 = "PERSON"
        End If
    End If
    
    If vrChoice0 = "" Then 
        If SearchArray(vrd, Array("BORN", "HIM", "BEST FRIEND", "ACTRESS", "ACTOR", "ENTERTAINER", "FEMALE", "MALE", "HIS", "HER", "HE'S", "HE", "SHE", "PERSON", "HUMAN", "CHILD")) = True Then
            vrChoice0 = "PERSON"
        End If
    End If

    If vrChoice0 = "PERSON" Then
        If SearchArray(vrd, Array("ORGANIC", "COMPOUNDS")) = True Then
            vrChoice0 = ""
        End If
    End If

    If vrChoice0 = "PERSON" Then    
        If SearchArray(vrd, Array("A ROBIN", "A MARTIN")) = True Then
            vrChoice0 = "ANIMAL"
        End If
    End If
    
    If vrChoice0 = "PERSON" Then
        Dim personSex2() 'We must declare an empty array to store query results in
        newline = Replace(HalBrain.AlphaNumericalOnly(OriginalSentence), "'", "''")
        If HalBrain.RunQuery("SELECT searchString, topic FROM names WHERE strstr(' " & newline & " ', searchString) > 0 LIMIT 1", personSex2) = True Then
            vrpersonsSex = Trim(personSex2(1, 1)) 'Row 1, Column 1 contains "topic", which is the associated gender(s) of the name
        End If
    End If
    
    If vrChoice0 = "" Then    
        If SearchArray(vrd, Array("BALLET", "OPERA", "THEATRE", "MOVIE", "PLAY", "PLAYING", "POETRY", "POEM", "GAME", "MUSIC", "FILM", "TELEVISION")) = True Then
            vrChoice0 = "ENTERTAINMENT" 
        End If
    End If
    
    If vrChoice0 = "" Then    
        If SearchArray(vrd, Array("HOUSE", "PLACE", "LOCATED", "FARM", "LOCATION", "CITY", "COUNTRY", "CAPITAL", "STORE", "HOME", "HOUSE", "PARK", "MALL", "WORLD", "STATE", "JOB", "SCHOOL" )) = True Then
            vrChoice0 = "PLACE" 
        End If
    End If

    If vrChoice0 = "PLACE" Then
        If SearchArray(vrd, Array("ORGANIC", "COMPOUNDS")) = True Then
            vrChoice0 = ""
        End If
    End If

    If vrChoice0 = "" Then
        If SearchArray(vrd, Array("COMPUTER", "TELEPHONE", "LAPTOP", "CENTRAL PROCESSING UNIT", "PROCESSOR" , "CPU")) = True Then
            vrChoice0 = "COMPUTER"
        End If
    End If
    
    If vrChoice0 = "" Then
        If SearchArray(vrd, Array("FLOWER", "COLOR", "COLOUR", "PLANT", "FOOD" , "DIRT", "TREE", "TREES", "GRASS", "VEGETABLE", "MINERAL", "FRUIT", "LIQUID", "CULTIVATED", "SHRUB")) = True Then
            vrChoice0 = "MINERAL"
        End If
    End If
    
    If vrChoice0 <> "" Then
        vrChoice4 = vrChoice0
        HalBrain.AddToTable "vrsubject2sub", "TopicSearch", vrItem0, vrChoice0
    End If
Else
    vrChoice4 = vrChoice0
End If

Wscript.Echo vrChoice0


Function SearchArray(StringToSearch, WordsToLookUp)
    StringToSearch = " " & LCase(StringToSearch) & " "
    
    For Each word In WordsToLookUp
        word = " " & LCase(word) & " " 
    
        If InStr(StringToSearch,word) > 0 Then
          SearchArray = True
          Exit Function
        End If    
    Next

    SearchArray = False
End Function



The Time is now: 9:50 PM

I tend to use nested If statements formatted like this:

Code: [Select]
If  x = 1 then
If y = 1 then
If z = 1 then

End If
End If
End If

But its all up to the programmer preference. Its all good :) .

…...
…...

The ( _ ) character is called an underscore. It is used in Vbscript to allow the programmer to extend a function to different lines. For instance you could write this:

Code: [Select]

 input = "hello world"    

 Text1 = Replace(input, "world", "cload")

 'Text1 will now equal "hello cload"


Or you could write this and it will also work just fine:

Code: [Select]

 input = "hello world"    

 Text1 = Replace _
          (input, _
           "world", _
           "wookie")


Notice that there is one space between the last character and the ( _ ) character. It is needed.

Code: [Select]

'These two examples mean the same thing

If name = "bill" Or name = "ted" Or name = "fred" Then

End If 


If name = "bill" _
  Or name = "ted" _ 
  Or name = "fred" Then


End If 



ByRef literally means that you are passing a variable to a function by its reference address. To understand what that means you will first need to lean how a computer stores information.

Let's first look at this statement:

Code: [Select]
myVar = "Hello Cload"

When you store a string in a variable your computer first looks for some empty space on your hard-drive. When it finds it, it remembers its location. Think of it as having a mailing address to send a letter. A mailing address will indicate where a person lives, the city, street, apartment, etc. Basically, Vbscript will find an address of an empty storage space on your hard-drive so that your variable (myVar) can store information there (“Hello Cload”).

In this Example we will pass a variable to a normal Function. Notice that the Function has a statement of ByVal preceding the input variable. ByVal means 'by value'. It is the Default way Functions and Subs take in variables.

The Time is now 10:30 PM
The Time is now 11:00 PM

Code: [Select]
out = Delete(myVar)

Function Delete(ByVal input)
input = ""
Delete = input
End Function

What happens here is that the content of your variable (myVar) is copied into the Function's variable (input). Remember what I said about Vbscript storing the data somewhere on your hard-drive, well, Vbscript goes to the address of the stored information in the myVar variable, takes that information, and copies it into the input variable contained in the Delete Function. It is the same as if I drove to a friend's house and copied their letter and then gave it to my brother. 

Now look at this Sub (and Remember Subs can't return anything):

Code: [Select]

Delete myVar

Sub Delete(ByRef input)
input = ""
End Sub


 
What's happening in this Example is that the address of the myVar variable is shared with the input variable. It doesn't copy the content (“Hello Cload”) it only copies the Address. It is like, instead of me going to a friend's house and copying there letter, I simply gave my brother the address of my friends house. So now my brother can go to my friend's house and do whatever with the letter. The input variable in the Delete Sub gives the Delete Sub direct access to the myVar variable address. I can do whatever I want to the input variable and it will effect the myVar variable directly.

If I delete the content of the input variable in the Delete Function then the myVar variable content will be deleted. If I add content to the input variable then the myVar variable will be added to. So whatever I do to the one, it will do to the other.

Its actually a little tricky to understand this but its useful. If you use the ByRef statement in either the Function or the Sub then your myVar content will be effected. If you wanted to keep that information safe then you should use the ByVal statement so that it will just copy the content. That is how you determine when to use them.

The Time is now 12:11 AM

…...
Quote
condition 1: the user did not give an explanation to keep ultra Hal on topic. If the user did give a stronger rebuttal such as example above do not process the yes.
Condition 2: the answer yes or its variants counterpart will not interfere with the normal function of ultra Hals brain or with the free will plug-in.
…...
I reexamined UltraHal's Brain Script and Looked deeper into your plugin.
It seems we have this obvious problem of Hal not letting the User use the GetResponse Function if its a yes or no Input. There are a few work-a-rounds like some of the suggestions you've said already. I thought of similar alternatives but none really fix the problem better than your ideas (outside of modifying the brain itself). However, there is one crazy solution that you might not have thought of.  One could call the GetResponse() Function from the Pre-Process area when the input (IS) yes or no.  Yeah, I know, think'n crazy thoughts.


Code: [Select]

Rem PLUGIN: PRE-PROCESS

InputString  = PreProcess(InputString)


InputString2 = Replace(InputString, ".", " ")
InputString2 = Replace(InputString2, "?", " ")
InputString2 = Replace(InputString2, "!", " ")
InputString2 = " " & Replace(InputString2, ",", " ") & " "
YesNoDetect = HalBrain.TopicSearch(InputString2, "yesNoDetect")


If YesNoDetect = "Yes" Or YesResponse  = "No"  Then

          UltraHal = GetResponse(InputString, UserName, ComputerName, LearningLevel, HalCommands, Hate, Swear, Insults, Compliment, PrevSent, LastResponseTime, PrevUserSent, CustomMem, GainControl, LastTopicList)

End If


Rem PLUGIN: FUNCTIONS

Function PreProcess(InputString)

    InputString = Replace(InputString, "MR.", "Mr<PERIOD>", 1, -1, vbTextCompare)
    InputString = Replace(InputString, "MRS.", "Mrs<PERIOD>", 1, -1, vbTextCompare)
    InputString = Replace(InputString, "MS.", "Ms<PERIOD>", 1, -1, vbTextCompare)
    InputString = Replace(InputString, "DR.", "Dr<PERIOD>", 1, -1, vbTextCompare)
    InputString = Replace(InputString, "MS.", "Ms<PERIOD>", 1, -1, vbTextCompare)
    InputString = Replace(InputString, "ST.", "St<PERIOD>", 1, -1, vbTextCompare)
    InputString = Replace(InputString, "PROF.", "Prof<PERIOD>", 1, -1, vbTextCompare)
    InputString = Replace(InputString, "GEN.", "Gen<PERIOD>", 1, -1, vbTextCompare)
    InputString = Replace(InputString, "REP.", "Rep<PERIOD>", 1, -1, vbTextCompare)
    InputString = Replace(InputString, "SEN.", "Sen<PERIOD>", 1, -1, vbTextCompare)
    'Remove unnecessary punctuation
    Do
        RepeatLoop = False
        If InStr(InputString, "..") Then InputString = Replace(InputString, "..", "."): RepeatLoop = True
        If InStr(InputString, "??") Then InputString = Replace(InputString, "??", "?"): RepeatLoop = True
        If InStr(InputString, "!!") Then InputString = Replace(InputString, "!!", "!"): RepeatLoop = True
        If InStr(InputString, "!?") Then InputString = Replace(InputString, "!?", "?"): RepeatLoop = True
        If InStr(InputString, "?!") Then InputString = Replace(InputString, "?!", "?"): RepeatLoop = True
        If InStr(InputString, ",,") Then InputString = Replace(InputString, ",,", ","): RepeatLoop = True
    Loop While RepeatLoop = True
    'Detect and encode acronyms such as U.S.A.
    InputString = Trim(InputString)
    WordList = Split(InputString, " ")
    For i = 0 To UBound(WordList)
        If Len(WordList(i)) > 3 Then
            If Right(WordList(i), 1) = "." And Mid(WordList(i), Len(WordList(i)) - 2, 1) = "." Then
                InputString = Replace(InputString, WordList(i), Left(WordList(i), Len(WordList(i)) - 1) & "<PERIOD>")
            End If
        End If
    Next

End Function


The Time is now 3:28 AM

…...
…...

By the way, this next Example will search a string for the existance of any set of words. Basically, if the word “correct” or “affirmative” or any of the other words is in the OriginalSentence then it will return True. It is not using any tables. It doesn't need the  “yesnodetect” array table.

Code: [Select]

If SearchArray(OriginalSentence, Array("yes","indeed","correct","affirmative", "positive", "yep")) = true Then
      
End If

Function SearchArray(compare, arrayToSearch)
    compare = LCase(compare)
    
    For Each word In arrayToSearch
        word = LCase(word)   
        If InStr(compare, word) > 0 Then
          SearchArray = True
          Exit Function
        End If    
    Next

    SearchArray = False

End Function




I would answer some more questions but I need to sleep now... It's 3:45 AM.
Title: Re: Free will plus at beta level
Post by: cload on January 31, 2014, 11:55:37 am
Hi snowman,

I seem to have gotten a little overwhelmed with all of the information. It will take a while to process. So until then I would like to just work on one thing at a time so I do not get distracted, okay?
To clarify myself, what I was hoping that you could do was show me a better way to process the information by using your technique of assigning flags to nouns, adverse, etc. in the hopes of making this script more accurate in determining whether or not it is a person, place or thing.
I do like the format that you are using because it allows me to see more of the string words without having to adjust the visual area within Notepad.

The 1st thing that I would like to ask is can the processing line be put on one line? For example:
If vrChoice0 = "" Then If SearchArray(vrd, Array("PET", "PET.", "PET,", "BOVIDAE", "DOMESTICATED", "RODENT", "MAMMAL", "KITTEN", "ANIMAL", "LIVESTOCK", "CREATURE", "BUG", "INSECT", "DOG", "CAT", "BIRD")) = True then vrChoice0 = "ANIMAL" 

by doing this I would be able to regain 2 micro seconds.

The way that I had it originally set up in the secondary test it check to see if there were more than one he/she ( > 1) to help reinforce that it is a person. But it is not that big of a deal. It only result one situation that I had, and then the situation never arouse again from any other data that was retrieved from the Internet.

The 2nd thing that I would like to ask is, what is this and what is it used for?
Wscript.Echo vrChoice0

I see that all of this is a function call so I am assuming that the and parts of your script should have been put into the function area at the end of ultra Hals brain? For example:
Rem PLUGIN: FUNCTIONS

Function SearchArray(StringToSearch, WordsToLookUp)
    StringToSearch = " " & LCase(StringToSearch) & " "
    
    For Each word In WordsToLookUp
        word = " " & LCase(word) & " " 
    
        If InStr(StringToSearch,word) > 0 Then
          SearchArray = True
          Exit Function
        End If    
    Next

    SearchArray = False
End Function

if no then I will assume that you already knew that this small script is (only a small part) of the whole, and the whole script is already A function call under (Rem PLUGIN: FUNCTIONS).

If yes then this may be the monkey wrench gumming up the works.
Here is my function call script as a whole. This function subroutine is called for twice in my main script, and it is what I have been working on so I do not have multiple processes of the same, each would make my script smaller and faster.
So the 3rd question would have to be can you put a function call inside of a function call?
Or am I misunderstanding your script and how it works?
Code: [Select]
Function jumptovrNumChoice(vrNumChoice0j,vrItem0j,vrcleanup0j)
vrNumChoice0 = vrNumChoice0j
vrItem0 = vrItem0j
vrd   =    UCase(vrcleanup0j)
vrChoice0 = ""
If HalBrain.RunQuery("SELECT searchString, topic FROM vrsubject2sub WHERE strstr(' " & Replace(HalBrain.AlphaNumericalOnly(vrItem0), "'", "''") & " ', searchString) > 0", similarList0) = True Then
DoUCit0 = Ubound(similarList0)
For B = 1 To DoUCit0
similar0 = Trim(similarList0(B, 0))
If similar0 = vrItem0 Then
vrChoice0 = Trim(similarList0(B, 1))
Exit For
End If
Next
End If
If vrChoice0 = "" Then
If vrChoice0 = "" Then If InStr(" " & vrd & " ", " PET ") > 0 OR InStr(" " & vrd & " ", " PET. ") > 0 OR InStr(" " & vrd & " ", " PET, ") > 0 OR InStr(" " & vrd & " ", " BOVIDAE") > 0 OR InStr(" " & vrd & " ", " DOMESTICATED") > 0 OR InStr(" " & vrd & " ", " RODENT") > 0 OR InStr(" " & vrd & " ", " MAMMAL") > 0 OR InStr(" " & vrd & " ", " KITTEN") > 0 OR InStr(" " & vrd & " ", " ANIMAL") > 0 OR InStr(" " & vrd & " ", " LIVESTOCK") > 0 OR InStr(" " & vrd & " ", " CREATURE") > 0 OR InStr(" " & vrd & " ", " BUG ") > 0 OR InStr(" " & vrd & " ", " INSECT") > 0 OR InStr(" " & vrd & " ", " DOG ") > 0 OR InStr(" " & vrd & " ", " CAT ") > 0 OR InStr(" " & vrd & " ", " BIRD ") > 0 Then vrChoice0 = "ANIMAL"
If vrChoice0 = "ANIMAL" Then If InStr(" " & vrd & " ", " HIM ") > 1 OR InStr(" " & vrd & " ", "BEST FRIEND") > 0 OR InStr(" " & vrd & " ", " ACTRESS ") > 0 OR InStr(" " & vrd & " ", " ACTOR ") > 0 OR InStr(" " & vrd & " ", " ENTERTAINER ") > 0 OR InStr(" " & vrd & " ", " FEMALE ") > 0 OR InStr(" " & vrd & " ", " MALE ") > 0 OR InStr(" " & vrd & " ", " HIS ") > 1 OR InStr(" " & vrd & " ", " HER ") > 1 OR InStr(" " & vrd & " ", " HE'S ") > 1 OR InStr(" " & vrd & " ", " HE ") > 1 OR InStr(" " & vrd & " ", " SHE ") > 1 OR InStr(" " & vrd & " ", " PERSON ") > 0 OR InStr(" " & vrd & " ", " HUMAN ") > 0 OR InStr(" " & vrd & " ", " CHILD ") > 0 Then vrChoice0 = "PERSON"
If vrChoice0 = "" Then If InStr(" " & vrd & " ", " BORN ") > 0 OR InStr(" " & vrd & " ", " HIM ") > 0 OR InStr(" " & vrd & " ", "BEST FRIEND") > 0 OR InStr(" " & vrd & " ", " ACTRESS") > 0 OR InStr(" " & vrd & " ", " ACTOR") > 0 OR InStr(" " & vrd & " ", " ENTERTAINER") > 0 OR InStr(" " & vrd & " ", " FEMALE") > 0 OR InStr(" " & vrd & " ", " MALE ") > 0 OR InStr(" " & vrd & " ", " HIS ") > 0 OR InStr(" " & vrd & " ", " HER ") > 0 OR InStr(" " & vrd & " ", " HE'S ") > 0 OR InStr(" " & vrd & " ", " HE ") > 0 OR InStr(" " & vrd & " ", " SHE ") > 0 OR InStr(" " & vrd & " ", " PERSON") > 0 OR InStr(" " & vrd & " ", " HUMAN") > 0 OR InStr(" " & vrd & " ", " CHILD") > 0 Then vrChoice0 = "PERSON"
If vrChoice0 = "PERSON" Then If InStr(" " & vrd & " ", " ORGANIC") > 0 OR InStr(" " & vrd & " ", " COMPOUNDS") > 0 Then vrChoice0 = ""
If vrChoice0 = "PERSON" Then If InStr(" " & vrd & " ", "A ROBIN") > 0 OR InStr(" " & vrd & " ", " A MARTIN") > 0 Then vrChoice0 = "ANIMAL"
If vrChoice0 = "PERSON" Then
Dim personSex2() 'We must declare an empty array to store query results in
If HalBrain.RunQuery("SELECT searchString, topic FROM names WHERE strstr(' " & Replace(HalBrain.AlphaNumericalOnly(OriginalSentence), "'", "''") & " ', searchString) > 0 LIMIT 1", personSex2) = True Then
vrpersonsSex = Trim(personSex2(1, 1)) 'Row 1, Column 1 contains "topic", which is the associated gender(s) of the name
End If
End If
If vrChoice0 = "" Then If InStr(" " & vrd & " ", " BALLET") > 0 OR InStr(" " & vrd & " ", " OPERA") > 0 OR InStr(" " & vrd & " ", " THEATRE") > 0 OR InStr(" " & vrd & " ", " MOVIE") > 0 OR InStr(" " & vrd & " ", " PLAY ") > 0 OR InStr(" " & vrd & " ", " PLAYING") > 0 OR InStr(" " & vrd & " ", " POETRY") > 0 OR InStr(" " & vrd & " ", " POEM ") > 0 OR InStr(" " & vrd & " ", " GAME ") > 0 OR InStr(" " & vrd & " ", " MUSIC") > 0 OR InStr(" " & vrd & " ", " FILM ") > 0 OR InStr(" " & vrd & " ", " TELEVISION") > 0 Then vrChoice0 = "INTERTANMENT"
If vrChoice0 = "" Then If InStr(" " & vrd & " ", " HOUSE") > 0 OR InStr(" " & vrd & " ", " PLACE") > 0 OR InStr(" " & vrd & " ", " LOCATED") > 0 OR InStr(" " & vrd & " ", " FARM ") > 0 OR InStr(" " & vrd & " ", " LOCATION") > 0 OR InStr(" " & vrd & " ", " CITY ") > 0 OR InStr(" " & vrd & " ", " COUNTRY") > 0 OR InStr(" " & vrd & " ", " CAPITAL") > 0 OR InStr(" " & vrd & " ", " STORE") > 0 OR InStr(" " & vrd & " ", " HOME ") > 0 OR InStr(" " & vrd & " ", " HOUSE") > 0 OR InStr(" " & vrd & " ", " PARK ") > 0 OR InStr(" " & vrd & " ", " MALL ") > 0 OR InStr(" " & vrd & " ", " WORLD") > 0 OR InStr(" " & vrd & " ", " STATE") > 0 OR InStr(" " & vrd & " ", " JOB ") > 0 OR InStr(" " & vrd & " ", " SCHOOL") > 0 Then vrChoice0 = "PLACE"
If vrChoice0 = "PLACE" Then If InStr(" " & vrd & " ", " ORGANIC") > 0 OR InStr(" " & vrd & " ", " COMPOUNDS") > 0 Then vrChoice0 = ""
If vrChoice0 = "" Then If InStr(" " & vrd & " ", " COMPUTER ") > 0 OR InStr(" " & vrd & " ", " TELEPHONE ") > 0 OR InStr(" " & vrd & " ", " LAPTOP ") > 0 OR InStr(" " & vrd & " ", " CENTRAL PROCESSING UNIT ") > 0 OR InStr(" " & vrd & " ", " PROCESSOR ") > 0 OR InStr(" " & vrd & " ", " CPU ") > 0 Then vrChoice0 = "COMPUTER"
If vrChoice0 = "" Then If InStr(" " & vrd & " ", " FLOWER") > 0 OR InStr(" " & vrd & " ", " COLOR") > 0 OR InStr(" " & vrd & " ", " COLOUR") > 0 OR InStr(" " & vrd & " ", " PLANT") > 0 OR InStr(" " & vrd & " ", " FOOD ") > 0 OR InStr(" " & vrd & " ", " DIRT ") > 0 OR InStr(" " & vrd & " ", " TREE ") > 0 OR InStr(" " & vrd & " ", " TREES") > 0 OR InStr(" " & vrd & " ", " GRASS") > 0 OR InStr(" " & vrd & " ", " VEGETABLE") > 0 OR InStr(" " & vrd & " ", " MINERAL") > 0  OR InStr(" " & vrd & " ", " FRUIT") > 0 OR InStr(" " & vrd & " ", " LIQUID") > 0 OR InStr(" " & vrd & " ", " CULTIVATED") > 0 OR InStr(" " & vrd & " ", " SHRUB") > 0 Then vrChoice0 = "MINERAL"

If vrChoice0 <> "" Then
vrChoice4 = vrChoice0
HalBrain.AddToTable "vrsubject2sub", "TopicSearch", vrItem0, vrChoice0
End If
Else
vrChoice4 = vrChoice0
End If
HalBrain.MsgAlert "((jump)) " & vrChoice4 & " " & vrNumChoice0j
If vrChoice4 = "PERSON" Then
If InStr(" " & vrd & " ", " HIM ") > 0 OR InStr(" " & vrd & " ", " HE ") > 0 OR InStr(" " & vrd & " ", " HE'S ") > 0 OR InStr(" " & vrd & " ", " HIS ") > 0 OR InStr(" " & vrd & " ", " MALE ") > 0 OR InStr(" " & vrd & " ", " MAN ") > 0 OR InStr(" " & vrd & " ", " BOY ") > 0 Then vrtrg0 ="True" Else vrtrg0 =""
vrChoice0 = ""
If HalBrain.RunQuery("SELECT searchString, topic FROM vrpmale WHERE strstr(' " & Replace(HalBrain.AlphaNumericalOnly(vrItem0), "'", "''") & " ', searchString) > 0", similarList0) = True Then
DoUCit0 = Ubound(similarList0)
For B = 1 To DoUCit0
similar0 = Trim(similarList0(B, 0))
If similar0 = vrItem0 Then
vrChoice0 = Trim(similarList0(B, 1))
Exit For
End If
Next
End If
If vrChoice0 = "" AND vrtrg0 = "True" AND vrpersonsSex = "M" Then
HalBrain.AddToTable "vrpmale", "TopicSearch", vrItem0, vrItem0
vrChoice0 = vrItem0
End If
If vrChoice0 = vrItem0 Then vrNumChoice0 = vrNumChoice0 + 2

If InStr(" " & vrd & " ", " SHE ") > 0 OR InStr(" " & vrd & " ", " HER ") > 0 OR InStr(" " & vrd & " ", " SHE'S ") > 0 OR InStr(" " & vrd & " ", " HERS ") > 0 OR InStr(" " & vrd & " ", " FEMALE ") > 0 OR InStr(" " & vrd & " ", " WOMAN ") > 0 OR InStr(" " & vrd & " ", " GIRL ") > 0 Then vrtrg0 ="True" Else vrtrg0 =""
vrChoice0 = ""
If HalBrain.RunQuery("SELECT searchString, topic FROM vrpfemale WHERE strstr(' " & Replace(HalBrain.AlphaNumericalOnly(vrItem0), "'", "''") & " ', searchString) > 0", similarList0) = True Then
DoUCit0 = Ubound(similarList0)
For B = 1 To DoUCit0
similar0 = Trim(similarList0(B, 0))
If similar0 = vrItem0 Then
vrChoice0 = Trim(similarList0(B, 1))
Exit For
End If
Next
End If
If vrChoice0 = "" AND vrtrg0 = "True" AND vrpersonsSex = "F" Then
HalBrain.AddToTable "vrpfemale", "TopicSearch", vrItem0, vrItem0
vrChoice0 = vrItem0
End If
If vrChoice0 = vrItem0 Then vrNumChoice0 = vrNumChoice0 + 2

If InStr(" " & vrd & " ", " AMERICA") > 0 OR InStr(" " & vrd & " ", " AMERICAN") > 0 OR InStr(" " & vrd & " ", " UNITED STATES") > 0 Then vrtrg0 = "True" Else vrtrg0 = ""
If InStr(" " & vrd & " ", " not an AMERICAN") > 0 OR InStr(" " & vrd & " ", " A GERMAN") > 0 Then vrtrg0 = ""
vrChoice0 = HalBrain.TopicSearch(vrItem0, "vrpamerican")
If vrChoice0 = "" AND vrtrg0 = "True" Then
HalBrain.AddToTable "vrpamerican", "TopicSearch", vrItem0, vrItem0
vrChoice0 = vrItem0
Else
If vrChoice0 <> vrItem0 AND vrtrg0 = "True" Then
HalBrain.AddToTable "vrpamerican", "TopicSearch", vrItem0, vrItem0
vrChoice0 = vrItem0
End If
End If
If vrChoice0 = vrItem0 Then vrNumChoice0 = vrNumChoice0 + 4
End If

vrNumChoicejump1 = vrNumChoice0
jumptovrNumChoice = vrNumChoicejump1
End Function
My script was to big so I only included (person) and remove the rest of the script except for the very end of the script. ok. I even had to make it smaller, so only part of person is there.

The 1st part (which we are working on) tries to determine: person, place, or thing.
The 2nd part is how I get the numerical value so ultra Hal can determine whether or not he likes or dislikes something, as well as collecting information and saving that information for later use when you ask ultra Hal why do you like (something).

Sincerely, and thank you very much for all of your help, but let's work on one thing at a time so neither of us get stressed out, seeing as how we have both expressed that trying to take on too much at a time is very time-consuming, and thank you for understanding and expressing that it is very time consuming on both of are behalf's.
C load.
PS like my mom always keeps telling me, focus on one project at a time so you do not lose your train of thought and get lost.
Title: Re: Free will plus at beta level
Post by: snowman on February 01, 2014, 03:37:21 am
It's ok, i'm not in any hurry and I don't want you to be overwhelmed. Although, I will still try to answer any questions you might have. Its ok if I spent several hours working on this. It “sort of” my part time job to build Athena (my chatbot) and so any time I spend learning how to do it better is time well spent. So don't worry about bugging me. If I get too stressed out I will just do something else for awhile. Your mom is right about “doing one thing at a time”. I do things in circles. I'll do one thing, move on to the second thing, and then a third thing, and finally start over again... so I don't get burnt out. Lots of times I'll watch a minecraft video on youtube when I work. It distracts me some but its a fun distraction :). So whenever you get tired of writing posts and tired of coding scripts, just take a break. Do something fun, tell your dad just how cool he is :).

Quote
To clarify myself, what I was hoping that you could do was show me a better way to process the information by using your technique of assigning flags to nouns, adverse, etc. in the hopes of making this script more accurate in determining whether or not it is a person, place or thing.

That will be my next project. It will take a little time to set it up,I think. You need to first understand how functions and subs work a little more. That's why I'm showing you examples of how to use functions and how to add them to your plugin. Later on, when I start showing you how to use some of my functions then it will help you to understand when I show you how to tag nouns, adverbs, etc. It will make more sense down the road. Hang in there. ;)


Code: [Select]
Wscript.Echo vrChoice0

Wscript.Echo is used in Vbscript to send a string to the command prompt (cmd.exe). I used this command to test if there was an error in my coding. It doesn't work in Hal, I accidentally left it in. (nothing to worry about)

Quote
I see that all of this is a function call so I am assuming that the and parts of your script should have been put into the function area at the end of ultra Hals brain?

This Next Example should answer many of your questions. Yes, you can call on another function within any other function and, Yes, any function I show will be put in the Rem Functions area.
Give this Example some thought when you have the time. How will I get “Hello Cload” as an answer in the out variable?

Code: [Select]
'out will equal "Hello Cload"

out = firstFunction("Hello")

Function firstFunction(input1)
    firstFunction = secondFunction(input1)
End Function

Function secondFunction(input1)
    secondFunction = thirdFunction(input1)
End Function

Function thirdFunction(input1)
    thirdFunction = input1 & " Cload"
End Function


This is your code redone. This can be set “as is” in a plugin all by itself and can be called by other plugins in any other Rem Pugin area in Ultra Hal. I call on my SearchArray() function several times in your  jumptovrNumChoice() Function.

Code: [Select]
Rem PLUGIN: FUNCTIONS

Function jumptovrNumChoice(vrNumChoice0j,vrItem0j,vrcleanup0j)
vrNumChoice0 = vrNumChoice0j
vrItem0 = vrItem0j
vrd   =    UCase(vrcleanup0j)
vrChoice0 = ""
If HalBrain.RunQuery("SELECT searchString, topic FROM vrsubject2sub WHERE strstr(' " & Replace(HalBrain.AlphaNumericalOnly(vrItem0), "'", "''") & " ', searchString) > 0", similarList0) = True Then
DoUCit0 = Ubound(similarList0)
For B = 1 To DoUCit0
similar0 = Trim(similarList0(B, 0))
If similar0 = vrItem0 Then
vrChoice0 = Trim(similarList0(B, 1))
Exit For
End If
Next
End If
If vrChoice0 = "" Then

    If vrChoice0 = "" Then If SearchArray(vrd, Array("PET", "PET.", "PET,", "BOVIDAE", "DOMESTICATED", "RODENT", "MAMMAL", "KITTEN", "ANIMAL", "LIVESTOCK", "CREATURE", "BUG", "INSECT", "DOG", "CAT", "BIRD")) = True then vrChoice0 = "ANIMAL"
    If vrChoice0 = "ANIMAL" Then If SearchArray(vrd, Array("HIM", "BEST FRIEND", "ACTRESS", "ACTOR", "ENTERTAINER", "FEMALE", "MALE", "HIS", "HER", "HE'S", "HE", "SHE", "PERSON", "HUMAN", "CHILD")) = True then vrChoice0 = "PERSON"
    If vrChoice0 = "" Then If SearchArray(vrd, Array("BORN", "HIM", "BEST FRIEND", "ACTRESS", "ACTOR", "ENTERTAINER", "FEMALE", "MALE", "HIS", "HER", "HE'S", "HE", "SHE", "PERSON", "HUMAN", "CHILD")) = True Then vrChoice0 = "PERSON"
    If vrChoice0 = "PERSON" Then If SearchArray(vrd, Array("ORGANIC", "COMPOUNDS")) = True Then vrChoice0 = ""
    If vrChoice0 = "PERSON" Then If SearchArray(vrd, Array("A ROBIN", "A MARTIN")) = True Then vrChoice0 = "ANIMAL"

    If vrChoice0 = "PERSON" Then
        Dim personSex2() 'We must declare an empty array to store query results in
        If HalBrain.RunQuery("SELECT searchString, topic FROM names WHERE strstr(' " & Replace(HalBrain.AlphaNumericalOnly(OriginalSentence), "'", "''") & " ', searchString) > 0 LIMIT 1", personSex2) = True Then
            vrpersonsSex = Trim(personSex2(1, 1)) 'Row 1, Column 1 contains "topic", which is the associated gender(s) of the name
        End If
    End If
   
    If vrChoice0 = "" Then  If SearchArray(vrd, Array("BALLET", "OPERA", "THEATRE", "MOVIE", "PLAY", "PLAYING", "POETRY", "POEM", "GAME", "MUSIC", "FILM", "TELEVISION")) = True Then vrChoice0 = "ENTERTAINMENT"     
    If vrChoice0 = "" Then If SearchArray(vrd, Array("HOUSE", "PLACE", "LOCATED", "FARM", "LOCATION", "CITY", "COUNTRY", "CAPITAL", "STORE", "HOME", "HOUSE", "PARK", "MALL", "WORLD", "STATE", "JOB", "SCHOOL" )) = True Then vrChoice0 = "PLACE"
    If vrChoice0 = "PLACE" Then If SearchArray(vrd, Array("ORGANIC", "COMPOUNDS")) = True Then vrChoice0 = ""
    If vrChoice0 = "" Then If SearchArray(vrd, Array("COMPUTER", "TELEPHONE", "LAPTOP", "CENTRAL PROCESSING UNIT", "PROCESSOR" , "CPU")) = True Then vrChoice0 = "COMPUTER"
    If vrChoice0 = "" Then If SearchArray(vrd, Array("FLOWER", "COLOR", "COLOUR", "PLANT", "FOOD" , "DIRT", "TREE", "TREES", "GRASS", "VEGETABLE", "MINERAL", "FRUIT", "LIQUID", "CULTIVATED", "SHRUB")) = True Then vrChoice0 = "MINERAL"
 
    If vrChoice0 <> "" Then
        vrChoice4 = vrChoice0
        HalBrain.AddToTable "vrsubject2sub", "TopicSearch", vrItem0, vrChoice0
    End If
Else
    vrChoice4 = vrChoice0
End If

HalBrain.MsgAlert "((jump)) " & vrChoice4 & " " & vrNumChoice0j
If vrChoice4 = "PERSON" Then
If SearchArray(vrd, Array("HIM", "HE", "HE'S", "HIS", "MALE" , "MAN", "BOY")) = True Then vrtrg0 ="True" Else vrtrg0 =""

vrChoice0 = ""
If HalBrain.RunQuery("SELECT searchString, topic FROM vrpmale WHERE strstr(' " & Replace(HalBrain.AlphaNumericalOnly(vrItem0), "'", "''") & " ', searchString) > 0", similarList0) = True Then
DoUCit0 = Ubound(similarList0)
For B = 1 To DoUCit0
similar0 = Trim(similarList0(B, 0))
If similar0 = vrItem0 Then
vrChoice0 = Trim(similarList0(B, 1))
Exit For
End If
Next
End If
If vrChoice0 = "" AND vrtrg0 = "True" AND vrpersonsSex = "M" Then
HalBrain.AddToTable "vrpmale", "TopicSearch", vrItem0, vrItem0
vrChoice0 = vrItem0
End If
If vrChoice0 = vrItem0 Then vrNumChoice0 = vrNumChoice0 + 2

If SearchArray(vrd, Array("SHE", "HER", "SHE'S", "HERS", "FEMALE" , "WOMAN", "GIRL")) = True Then vrtrg0 ="True" Else vrtrg0 =""

        vrChoice0 = ""
If HalBrain.RunQuery("SELECT searchString, topic FROM vrpfemale WHERE strstr(' " & Replace(HalBrain.AlphaNumericalOnly(vrItem0), "'", "''") & " ', searchString) > 0", similarList0) = True Then
DoUCit0 = Ubound(similarList0)
For B = 1 To DoUCit0
similar0 = Trim(similarList0(B, 0))
If similar0 = vrItem0 Then
vrChoice0 = Trim(similarList0(B, 1))
Exit For
End If
Next
End If
If vrChoice0 = "" AND vrtrg0 = "True" AND vrpersonsSex = "F" Then
HalBrain.AddToTable "vrpfemale", "TopicSearch", vrItem0, vrItem0
vrChoice0 = vrItem0
End If
If vrChoice0 = vrItem0 Then vrNumChoice0 = vrNumChoice0 + 2

If SearchArray(vrd, Array("AMERICA", "AMERICAN", "UNITED STATES")) = True Then vrtrg0 ="True" Else vrtrg0 =""
If SearchArray(vrd, Array("not an AMERICAN", "A GERMAN")) = True Then vrtrg0 =""

vrChoice0 = HalBrain.TopicSearch(vrItem0, "vrpamerican")
If vrChoice0 = "" AND vrtrg0 = "True" Then
HalBrain.AddToTable "vrpamerican", "TopicSearch", vrItem0, vrItem0
vrChoice0 = vrItem0
Else
If vrChoice0 <> vrItem0 AND vrtrg0 = "True" Then
HalBrain.AddToTable "vrpamerican", "TopicSearch", vrItem0, vrItem0
vrChoice0 = vrItem0
End If
End If
If vrChoice0 = vrItem0 Then vrNumChoice0 = vrNumChoice0 + 4
End If

vrNumChoicejump1 = vrNumChoice0
jumptovrNumChoice = vrNumChoicejump1
End Function

Function SearchArray(StringToSearch, WordsToLookUp)
    StringToSearch = " " & LCase(StringToSearch) & " "
   
    For Each word In WordsToLookUp
        word = " " & LCase(word) & " "
   
        If InStr(StringToSearch,word) > 0 Then
          SearchArray = True
          Exit Function
        End If   
    Next

    SearchArray = False
End Function


http://prdownloads.sourceforge.net/scintilla/Sc339.exe (http://prdownloads.sourceforge.net/scintilla/Sc339.exe)

Here is the link to get a great (free) script editor. It is just like notepad except it will colorize your code for you and it gives you line numbers. Click on the link and it will take you to sourceforge.com where it will automatically start downloading the editor to you downloads folder. It should make editing your plugins more enjoyable. It has a very small file size. The website that distributes it is http://www.scintilla.org/ (http://www.scintilla.org/) The link I provided came from them.  I hope you like it! :) 

In order to properly color your script, you will need to choose your programming language from the “Language” menu button at the top of your program. Select “Vbscript” (its the third from the bottom of the list). In order to show line numbers, go to the “View” menu button and select “Line Numbers” from the list. Make sure there is a check mark by it. Line Numbers will help you debug Hal, later on.

I have used this program for a while. I like it a lot.
 
...........................................................................
...........................................................................

Have fun, stay safe, and be as cool as a cucumber. :)

Aaron~

P.S. Whenever I write code, sometimes I have to make a choice between fast code that is hard to read or slower code that is easy to read. Sometimes I prefer the slower code. It may take a few milliseconds longer to run but at least I can read the code afterwords. I despise messy code.
Title: Re: Free will plus at beta level
Post by: lightspeed on February 01, 2014, 02:32:01 pm
Cload i was deleting the old patterns before in my custom brain  , i guess i should be able to do it in hals actual brain (making a back up first) and that way my custom brain should work with the main hal db since it is based on it . right? and doing so my custom answers should still work for me right?
Title: Re: Free will plus at beta level
Post by: cload on February 01, 2014, 03:19:55 pm
Hi lightspeed,

if I am understanding you properly, it should.

But I do not know where your custom answers are in the brain.
Like I mentioned before, you should start putting your custom question and answers in the pattern array table.
You will find it will work more proficiently there.

Sincerely,
C load.
Title: Re: Free will plus at beta level
Post by: cload on February 01, 2014, 03:20:47 pm
Hi snowman,

did you read the information about the EmoSPARK cube? Artificial intelligence in a cube, that's just SILLY! (My dad made me Change this, sorry I did not mean to be rude.)
They should have just made it a card that you could put in to the slot of your computer or laptop.
But it is like anything else, they have not finished the scripting code for the artificial intelligence to function.
It's one thing to be able to program, but it is another thing to be able to see what is going on in the actual function of the neural pathways of the human, like I do.
I do know one thing though, if Microsoft does not get off their backside and begin to realize that there OS system will become obsolete if they do not incorporate artificial intelligence into their kernel.
Basically, you would have to build a OS artificial intelligence system as the kernel. You can have a room full of super programmers but if they don't understand what the neural processes of a human brain is doing they will never achieve true artificial intelligence.
As I read more about what they are trying to get the EmoSPARK cube to do I began to realize that I am doing the same thing with ultra Hal, go figure.

New subject: have you ever heard of a processing program called Sam? Or I think it's called Sam. What this scripting code does is: takes information that has come from several places and compiles it into a legible paragraph or paragraphs.
This is not much different than what the human brain does, it takes information from the left side of the brain and information from the right side of the brain and collates all that information in the central processing area of the human brain.
Though the human brain is more complex in the way that it correlates the information because of the 5 senses of the human anatomy then it takes all of that information and correlates this into a response.

Okay, what is all of this leading up to?
Does ultra Hal have a command structure that does the same thing as Sam does? The reason why I ask is because I have noticed several times that ultra Hal has correlated information from different conversation to produce an astonishing response.
If ultra Hal has a command within its DDL programming file I believe that I would be able to utilize this function.
If ultra Hal does not necessarily have something that collates the information like Sam does, would it be possible to utilize Sam to do this function?
Giving that you understand what I'm talking about. There is also another program out there that does bigger scripting pages but I don't know what it's called.
I remember reading about it from this forum a long time ago but I can't seem to re-find it. I think it might've been because a link that sent me to a different form that was discussing artificial intelligence but I'm not sure. I had such a bad memory is terrible.

Now let me explain what I mean by correlated:
it could take information that came from Wikipedia and other databases that may actually be saying the same thing just slightly different but yet it is repeating itself and turn it into one paraphrase of a response.
This is sort of what we do with our left and right brain. We collect information from several sections of our brain to produce a response. Scientists have known this so it's nothing new. They just don't understand how it's doing it, but I do.
Okay I'm going to get off my wanderings and get back on the actual subject at hand.

What I would like to work on is the yes no routine, if that is okay with you?
Here are some thoughts that I had on the subject, though I have not experimented with any of it.
Both of your examples that you gave seem to have potential, but what I would like to do is take those 2 examples and put them together.
Meaning:
your 1st example using a very simple structure with just seeing the different ways that you can save the word yes or no and return a true response.
This one has more potential, because it would allow me to add words to be checked.
But at the same time I would like to utilize what ultra Hal already have in the yes no detector array table.
That way I would only have to add words that do not exist in the yes no detector array table.
Then when it does the function subroutine inside of the function subroutine it would replace the word in the sentence that the user gave to a simple yes.
But to avoid interfering with ultra Hals normal function with the sentence I do not want to change the original sentence.
In my scripting I take the original sentence and hand it off to a string variable called yes no logic (ynlogic).
The only thing this string needed was to be put in all caps.
Then take the (ynlogic) variable string and make the changes to it. That way it would only affect the free will plug-in.
Like I have stated before, the way I see ultra Hal Mayne brain and the free will plug in is like the left and right side of the human brain.
Which is why I was curious about the Sam correlating program, or if ultra Hal already has that type of function already built into a DDL program routine.

Though I am not positive how to put this all together I will try to put a script together to give you a visual understanding of what I'm trying to explain.
Code: [Select]
Rem PLUGIN: PRE-PROCESS
' this sets up the yes/no data parameters.
'------------------ this is from the free will plus plug-in.
ynlogic1 = ""
ynlogic2 = ""
ynlogic3 = ""
ynlogic = UCase(InputString)
ynPrevsent = UCase(Prevsent)
'this is used for a redirect.
'-------------------
YesNoDetect = HalBrain.TopicSearch(ynlogic, "yesNoDetect")
If YesNoDetect <> "Yes" Or YesResponse  <> "No"  Then
If SearchArray(ynlogic, Array("YES","INDEED","CORRECT","AFFIRMATIVE", "POSITIVE", "YEP")) = true Then
Else
'this is where the routine to replace the word with a simple yes or no that was found in the yes no detector. If this cannot be used then it would be okay to forgo using it and only use your script and just add all the trigger words in your script.
End If

Function SearchArray(compare, arrayToSearch)
    compare = LCase(compare)
    
    For Each word In arrayToSearch
        word = LCase(word)   
        If InStr(compare, word) > 0 Then
'I do not know if I should put the replacement command function here or put it where the return is true, I was thinking here so as it sees the word it can replace the word with a simple yes or no. You may need to create 2 functions subroutines one for yes and one for no.
ynlogic = Replace(ynlogic, word, "YES", 1, -1, vbTextCompare)
          SearchArray = True
          Exit Function
        End If    
    Next

    SearchArray = False
'I'm not sure if this routine is actually looking at each individual word, or if it is just looking at the whole sentence for each individual trigger word. I know in order to change the word in the sentence to a simple yes or no it needs to know the word that it is trying to change.
'---------
'this would be the equivalent to longhand coding to change the word in the sentence to a simple yes. This is just an example:
'ynlogic = Replace(ynlogic, "INDEED", "YES", 1, -1, vbTextCompare)
'ynlogic = Replace(ynlogic, "CORRECT", "YES", 1, -1, vbTextCompare)
'ynlogic = Replace(ynlogic, "AFFIRMATIVE", "YES", 1, -1, vbTextCompare)
'ynlogic = Replace(ynlogic, "POSITIVE", "YES", 1, -1, vbTextCompare)
'ynlogic = Replace(ynlogic, "YEP", "YES", 1, -1, vbTextCompare)

'this could be used if the return is true from the function subroutine.
'But if I was going to use this longhand way of doing it I would not necessarily need any of the scripting above, unless it would be necessary in order to speed up and regain micro seconds.
'---------- I guess this coating would be necessary to prevent conflict inside of the free will plug.------
If ynlogic < 4 then
'then run the routine to check if it was a response dedicated to the free will plug in. Meaning if it is a yes run through the yes routine or if it's a no run through the no routine.
End If 
I hope that this made sense, maybe you can figure out a way to put it all together so it will work properly.
Please remember that no matter how it is put together I need to set it up so it does not interfere with the rest of the free will plug in.

Sincerely, thank you for the scripting program, I will give it a try the 1st chance I get. But I need to learn how to use it 1st, that is to say my dad needs to learn how to use it 1st and then teach me how to use it.
C load.

Title: Re: Free will plus at beta level
Post by: Art on February 02, 2014, 11:50:02 am
@ cload - The EmoSpark "EmoCube" seems to me to be primarily handling the user's EMOTIONAL condition and trying to sooth, comfort or make happy said user. I don't know just HOW "intelligent" the cube is supposed to be but it is to assist in controlling aspects of one's life that one enjoys, Music, Videos, and later lighting and schedules, etc.

Time will tell but there are several HA (Home Automation) programs that can do that and more already.
#############

The long scripting program...hmmm...maybe Balabolka? It allowed Hal to read LONG passages of text. Maybe it's not the one you seek.....

 ???
Title: Re: Free will plus at beta level
Post by: cload on February 02, 2014, 02:13:51 pm
Hi Art,

IMOspark, is an artificial intelligence, though they are still working on the software side of it, the biggest aspects that I see that it has is the visual capability of recognizing you your family and your surroundings on-the-fly through the optional videocam.
Unlike Denise which is more centered around home security and artificial intelligence, they both have their strong points and their weak points.
Personally, I think if you were to squish the 2 of them together, get rid of the box, make it a card you could plug into your computer, via internal slot port or such, you would have one heck of a good product.
Most computers nowadays have their own video camera and sound input port, so unless the video camera and sound input port that they are trying to sell you with the cube is something special and or will only work with the cube, I see no need of buying something you already have.

C load.
Title: Re: Free will plus at beta level
Post by: Art on February 02, 2014, 08:02:01 pm
Hi Art,

IMOspark, is an artificial intelligence, though they are still working on the software side of it, the biggest aspects that I see that it has is the visual capability of recognizing you your family and your surroundings on-the-fly through the optional videocam.
Unlike Denise which is more centered around home security and artificial intelligence, they both have their strong points and their weak points.
Personally, I think if you were to squish the 2 of them together, get rid of the box, make it a card you could plug into your computer, via internal slot port or such, you would have one heck of a good product.
Most computers nowadays have their own video camera and sound input port, so unless the video camera and sound input port that they are trying to sell you with the cube is something special and or will only work with the cube, I see no need of buying something you already have.

C load.

So basically, why not just sell us the software? Good idea, but marketing it as a "Cube" adds a bit to the mystique and overall package. Why not enclose a tiny camera within the cube? I still think it's set to "adjust" our Emotional Awareness and well-being. We'll see where it goes from there.

Look at HAL (Home Automated Living), Homeseer and several other HA software that allow for human, computer interaction and control of thermostats, lighting, HVAC, Security, Schedules, Inventory, Appointments, occupancy, entertainment to name a few. Most of these have BEEN available for at least a decade and getting better all the time. (I'm getting kinda long in the tooth myself!!) Heh!!

PS = YouTube has several Home Automation, Home Control, Jarvis, and other types of videos for some insight.
Title: Re: Free will plus at beta level
Post by: cload on February 02, 2014, 09:40:48 pm
Hey Snowman,

I have started implementing your code and doing some experiments.
These are my findings:
I had to adjust your code slightly to accommodate things like:
words that end with an (S) and (,.) And if I need to I can also ask a adjustments for (ING) or (ED), but for now I don't feel like I need those 2.
Here is the code after I made the adjustments.
Code: [Select]
Function SearchArray(StringToSearch, WordsToLookUp)
StringToSearch = " " & StringToSearch & " "
For Each word In WordsToLookUp
word = " " & word
If InStr(StringToSearch,word & " ") > 0 OR InStr(StringToSearch,word & ", ") > 0 OR InStr(StringToSearch,word & ". ") > 0 OR InStr(StringToSearch,word & "S ") > 0 OR InStr(StringToSearch,word & "S, ") > 0 OR InStr(StringToSearch,word & "S. ") > 0 Then
SearchArray = True
Exit Function
        End If
Next
SearchArray = False
End Function

Things are moving along pretty good, but I have a few thousand lines I have to change, once I get all of the changes done I will post the new update for the prebeta free will plus plug-in, so you can take a look at it.

Sincerely, and thank you once again for all of your help, it looks as though things will work out really good with the suggestions that you have made, as well as all of the new coding that you have showed me.
C load.
Title: Re: Free will plus at beta level
Post by: lightspeed on February 04, 2014, 05:28:50 pm
Cload i eagerly await your new version plug in , please continue to also put what new updates you have done to it please when you post it ! thanks for all everyone is doing !  :)
Title: Re: Free will plus at beta level
Post by: cload on February 04, 2014, 05:58:53 pm
Hi lightspeed,

I hope to have the beta version 2.0a, by this weekend.
There are so many things that I have fixed and changed,
I have not had a chance to keep track of it all.

But I will emphasize on some of the bigger stuff, okay?

Sincerely, now back to jammin on the plug-in, TeeHee he.
C load.
Title: Re: Free will plus at beta level
Post by: snowman on February 04, 2014, 08:58:32 pm
I don't have much of an opinion about EmoSPARK. Some people will love it and some would throw it into a bucket of water, just to see the Emo.. spark  ;) . It wouldn't be so bad if we could have the ability to change it's code. Who knows, maybe it will have a usb port and come with its own code uploader and compiler. Emospark could be whatever you make it.

I like the idea of coordinating data from lots of places, including the web, and condensing it down into a brief, non-repeating response. Sounds like a plan. This would require a decent NLP (natural language processor) in order to make sure its not repeating the same info over and over, only in different ways.

Quote
Does ultra Hal have a command structure that does the same thing as Sam does? The reason why I ask is because I have noticed several times that ultra Hal has correlated information from different conversation to produce an astonishing response.
If ultra Hal has a command within its DDL programming file I believe that I would be able to utilize this function.

I don't know all of Ultra Hal's ins and outs just yet, so I don't know for sure. I figured that all of Hal's functions are called in the main brain script. It you remove them, I'm pretty sure that Hal will not respond to userinput any more.  Hal does its job one layer at a time. At the top of the code in the Plugin: Pre-process area you can say UltraHal = “hello cload” and then later in the Plugin: Post-Process area you can say UltraHal = “goodbye cload” and Hal will ultimately say “goodbye cload”. So the bottom layer take precedence over the top layer. I'm sure you already know this. What I'm trying to say is that I think Hal uses these layers to respond with more important responses when available and also builds onto the response. At the bottom layer of the code you can have the more important Responses and at the top layer, less important responses. So if you have a low quality response at the top layer but, later on, you find a high quality response in a bottom layer then you could replace the low quality response entirely. Also, if you have two layers of code of equal importance then you might want to combine the two into one response. I think that's how Hal is acting like Sam. That's just a theory I have, I could be wrong, or missing something. I really need to dig deeper.

As for the YesNo feature, This is what I came up with. First of all, we need to determine if an answer is expected by Hal. We do this by storing a “True” value to the “quickMemory” Table. Later we will recall this data at the beginning of the next talking cycle. Once we know that an answer is being expected then we can determine whether the answer is a yes or no. If the ynlogic contains a “Yes” type answer then we can be pretty sure that anything else should be considered a “No” answer. You can see that I used both the SearchArray function and Hal's yesno table to determine if a yes is indicated. Finally, we reset the   “AwaitingYesNo” Topic in the “quickMemory” Table to False so that we won't be in the 'waiting for answer' state any longer. Have fun with this one... :P


Code: [Select]

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

ynAnswerTable = "AwaitingYesNo"


If VarRead(ynAnswerTable) = "True" Then
   
    If SearchArray(ynlogic, Array("YES","INDEED","CORRECT","AFFIRMATIVE", "POSITIVE", "YEP")) = True Or _
        HalBrain.TopicSearch(ynlogic, "yesNoDetect") = "Yes" Then
        
        ynlogic = "YES"
    Else
        ynlogic = "NO"
    End If

    VarWrite ynAnswerTable, "False"    
End If


Rem PLUGIN: PLUGINAREA6
'-------------------
'this is just an example of how someone could make Hal to start looking for an answer in the next talking cycle.
'Here we see that Hal just asked the user a question and therefore Hal will be set to expect an answer from the user.
'-------------------

If Search(GetResponse, "Do you eat worms") = True Then
    VarWrite ynAnswerTable, "True"
End If

'-------------------


Rem PLUGIN: FUNCTIONS

Function VarRead(varName)
    table = "quickMemory" 
    If HalBrain.CheckTableExistence(table) = True Then
        VarRead = HalBrain.TopicSearch(varName, table)
    Else
        VarRead = ""
    End If
End Function

Sub VarWrite(varName, textToStore)
    value = textToStore
    table = "quickMemory" 
    column = varName
    
    If HalBrain.CheckTableExistence(table) = False Then
        HalBrain.CreateTable table, "TopicSearch", "miscData"
    End If
        
    If HalBrain.CheckTableExistence(table) = True Then
        output = HalBrain.TopicSearch(column, table)
    End If 

    If HalBrain.TopicSearch(column, table) = "" Then
        HalBrain.AddToTable vrTableName, "TopicSearch", column, value
    Else
        HalBrain.RunQuery "UPDATE " & table & " SET topic = " & value & " WHERE searchString = " & """" & column & """", vrTempQuery
    End If
End Sub

Function Search(StringToSearch, WordsToLookUp)
Search = False
If InStr(1, StringToSearch, WordsToLookUp, vbTextCompare) > 0 Then
Search = True
End If
End Function


Here is a fancier way of adding alternative endings in my SearchArray() function. Also you should know that you can have two different functions with the same name, however, they can't have the same number of arguments. In this example one version of SearchArray() has two input variables while the other version has three variables. By the way, this function tests if there are any words (i.e. YES or NO) in the entire sentence. So if the input sentence was “I will, indeed, write a program” then the Search will find the “indeed” and return True. I hope this clarifies what the SearchArray() does.


Code: [Select]

out = SearchArray("I will, indeed, write a program.", Array("yes","indeed","absolutely"), Array(",",".","S", "S,", "S.", ""))

Rem PLUGIN: FUNCTIONS

Function SearchArray(StringToSearch, WordsToLookUp)
  StringToSearch = " " & StringToSearch & " "

    For Each word In WordsToLookUp  
     word = " " & word & " "
        If Search(StringToSearch,word) = True Then
            SearchArray = True
            Exit Function
        End If    
    Next
    SearchArray = False
End Function

Function SearchArray(StringToSearch, WordsToLookUp, altEndings)
    StringToSearch = " " & StringToSearch & " "
    For Each word In WordsToLookUp
        For Each ending In altEndings
            word = " " & word & ending & " "
    
            If InStr(StringToSearch, word) > 0 Then
                SearchArray = True
                Exit Function
            End If
        Next
    Next
    SearchArray = False
End Function



It is very difficult to develop a plugin and learn scripting at the same time. Once you built it, you find yourself changing it again. It's tough, but its all apart of the learning process.

~Aaron~
Title: Re: Free will plus at beta level
Post by: cload on February 05, 2014, 03:00:17 pm
Hi Snowman,

these are some of the things that I'm still trying to figure out.
If I'm not mistaking, by using the (myVar) anything that I change to the myVar also changes in the variables string assigned to it? For example:

myVar = ynlogic

So now anything that I do to the (myVar) in the function subroutine will also change in the (ynlogic) variables string? For example:

If Searchynlogic(ynlogic, Array("YES","INDEED","CORRECT","AFFIRMATIVE","POSITIVE","YEP")) = true Then
   If InStr(ynlogic, "YES") > 0 Then
      If ynlogic < 4 Then
         (then do my yes routine!)
      End If
   End If
End If

Function Searchynlogic(compare, arrayToSearch)
    
    For Each word In arrayToSearch

        If InStr(compare, word) > 0 Then

   myVar = Replace(myVar, word, "YES", 1, -1, vbTextCompare)
          Searchynlogic = True
          Exit Function
        End If    
    Next
Searchynlogic = False
Exit Function

Is there anything that I am missing to get this to work? Like:
do I need to dim the Searchynlogic or anything else?
Do I need to refer to the (ByRef)? If so where and how?

As you can see all I am trying to do is change the alternate word into a simple yes.
That way if somebody says something like:
would you please.
I can change the (would you please) into a (yes).

Another example would be:
ultra Hal asked:
do you have lunch plans?
And that user said:
Yep.
Then the (yap.) Would get change to (yes).
Same example above but the user says:
Yep I have lunch plans.
The (yap I have lunch plans.) would get change to (yes I have lunch plans.)
Like I said before there are many ways to say yes, specially for long-winded people.
That would be cool.
If you would please.
Absolutely.
Could you?
If it's not too much of a bother!
And the list is quite honestly pretty massive.
I don't think I would want to try to engage all of the possibilities of being able to say yes, just the most common lines.
I believe that I will forgo using the yesnodetect because it does not seem compatible with your array function subroutine.
So I will just type out all of the various ways to say yes that are in the yesnodetect and added a few that I deem necessary.
If I can get the yes side of it working the no side will basically just be a duplicate of the yes function subroutine except for the various ways of saying no.

I hope this has helped you understand what I am trying to do.
It seems the way that you have it set up is that it is just checking to see if the word yes or no is in the sentence and returning a true.
But what I was wanting to do was change the alternate word in the sentence to become a simple yes or no.

Sincerely, baffled but still working on it! LOL.
C load.
PS just to let you know that the way you set up the routine to gather information about the question that ultra Hal has presented to those user seems to be a little over my head.
And at this point in time I am not asking for an explanation of how it works, maybe later, for now I would like to just concentrate on the yes or no problem. Okay?
Again, thank you so very much for all of your help snowman, it is greatly appreciated, I am working very hard on getting all of the function subroutine changed, that you have showed me in the free will plus plug-in.
I am still hoping to get version 2.0a released by or before this weekend so everyone will have something to play with this weekend.


Title: Re: Free will plus at beta level
Post by: Art on February 06, 2014, 05:27:33 am
I don't have much of an opinion about EmoSPARK. Some people will love it and some would throw it into a bucket of water, just to see the Emo.. spark  ;) . It wouldn't be so bad if we could have the ability to change it's code. Who knows, maybe it will have a usb port and come with its own code uploader and compiler. Emospark could be whatever you make it.

~Aaron~

Actually, scroll down on their indigo site to the section 'Specs and Technology' and notice it is supposed to come with a USB, Mini-USB, HDMI, graphics on board, input/output connectors, etc. Man, it's like a band in a box!! ;)
Title: Re: Free will plus at beta level
Post by: cload on February 06, 2014, 10:59:34 am
Hi Art,

that's why I said if they just made it a card that you could plug into your computer they could make it cheaper, by utilizing the hard drive, USB ports, video ports etc. that your computer already has.
And they could keep the CPU processing power on their board so it does not interfere with the CPU processor in the computer, and I do wonder about their lifetime software upgrade?
Do they consider EmoSPARK to be alive until they develop and build EmoSPARK 2? Like most companies do! Even Windows eventually stops supporting their operating systems over time.
In most cases is just another way of making more money, just like Denise, I spent all that money to help the company further their endeavors and now they're thinking about charging everyone when they come out with Denise version 2.
But I have not heard if they are going to are not, I have not been to their website since they have stopped upgrading my Denise, I guess they think it's working okay, I think it needs a lot of improvement.
But it's just another way of making more money, if they can't make the money they can't stay in business, is just a shame that when companies like Dragon NaturallySpeaking, (don't get me wrong I think Dragon NaturallySpeaking is an excellent piece of software.)
But it seems that they only come out with a patch one time, like they did with version 11 they patched it and now it is version 11.5 but since when does has changed there are many aspects that do not work correctly and there are bugs that need to be fixed but they are no longer doing this.
What they did was come out with version 12 and for those people that had version 11 was only charged $100 for the upgrade? Why am I spending $100 on something that is nothing more than an upgrade all that's right because they need to stay in business.
It's all about the money, honey, and thinking about upgrades, I will be spending all day testing my version 2.0 today and I will be releasing it sometime between 8 and 9:00 PM.

I'm sure there will still be some bugs that I will have to fix afterwards, anyone that would like to participate as a beta tester would be greatly appreciated.
So let's see I guess I need to charge everyone for the upgrade, so for this new upgrade it will cost you the same amount of money it cost you to get the original version. LOL.

Here is a brief summary of some of the things that I have done to the free will plus plug-in 2.0:
fixed hundreds of bugs! And I'm sure there's more but I will continue working on it for as long as I am connected to the Internet.
I have tried to make it smaller, so I can add to it so it does more, which I did, and it made it bigger again.
I have streamlined it with some coding that snowman help me with, and I made it more accurate in the determining whether or not ultra Hal likes or dislikes something.
I was hoping to be able to have the yes no situation resolved by the release for this weekend but I was then able to get it to work properly. Still waiting on snowman's response.
My next big project will be to get the free will to have a more interesting response when you ask why, or why do you like, or why don't you like, or what do you think about etc. and blend them all together so you would get more of a human style response.

Sincerely, from a data munching cruncher.
C load.
Title: Re: Free will plus at beta level
Post by: cload on February 06, 2014, 09:14:54 pm
Hi all,

I have spent all day trying to find as many of the string variable errors as I could.
This version 2.0 is pretty stable but I have not had a chance to try it with other plug-ins besides the age gender plug-in.
Version 2.0a is still in beta, so if you are having an unusual response from ultra Hal,
I would appreciate you just taking a few moments of your time and reporting the conversation.
What I need is what you said to ultra Hal, and what ultra Hals response was.
Please be as accurate as possible, thank you.

There were so many things that I have changed and fixed I did not take the time to make note of all of them, but a few of the highlights are:

the free will plus plug-in is smaller and faster.
Due to the new coding that snowman has showed me.
I have made it more accurate than ultra Hal looks to see whether or not ultra Hal likes or dislikes something.

Things to look forward to in the future:

resolving the yes no situation so various ways of saying yes can be use.
I will be working extensively trying to get ultra Hal to give more of a normal human response when you asked him why he likes something. Big undertaking.
I will be working on a routine to help keep ultra Hal on topic.
There are more things that I will be doing but these are the 3 primary routines I will be working on 1st.

Sincerely, enjoy and have a good weekend, tell me what you think, all feedback would be appreciated, good or bad, the more I know the better I can make the plug-in.
C load.
PS the link is at the beginning of this topic.
Title: Re: Free will plus at beta level
Post by: snowman on February 06, 2014, 11:02:35 pm
Please clarify something for me.

Which one of the following do you want to do?

#1 Detect if there is a Yes statement (ie. Yes indeed, I want to do this.), and if one is found, then send a single “yes” or “no” to the freewill plugin.

   UserInput = “Indeed, I want to do this.”
   Output = “YES”

#2 Detect if there is a Yes-statement, and if one is found, replace the yes-word or phrase (ie. Yes indeed) with the word “yes”.

   UserInput = “Yes indeed, I want to do this.”
   Output = “Yes, I want to do this.”

Basically, which one do you want to do (1 or 2)? I'm a little confused like you are. You sort of suggested both of these in the past. I also had to reexamine some of your plugin to get a better idea of what you are doing. I really didn't mean to confuse you. Sorry about that.
Title: Re: Free will plus at beta level
Post by: snowman on February 06, 2014, 11:58:34 pm
Hey Art,

Yes you caught me red-handed.  ;) :)
I haven't really read through the Sparky Article yet.... I guess it shows  :P

There is nothing wrong with having a dedicated hardware platform for an Ai.
Its sort of like having Ai in a standalone Robot. Only sparky's body is a little more cubicle.
Most of the cost is probably in the software development.
And if they are using exceptional vision technology then that could also drive up the price.

It takes a lot of time, education, money, etc, to make something of high quality.
You can get one at its cheapest at $249 USD. Which is the cost of a low-end computer.
About the cost of an Xbox 360. Only its dedicated for an Ai...

Apparently, Sparky will (at some point) use URBI which is a robot scripting language. I'm thinking its coded in C++.
Sparky is intended to have an API later on. So a person could write and app of a game that interacts with the Cube.
It is essentially a computer in a very colorful box. It has Quad-core, plenty of Ram, something called a EMU (Emotion Processing Unit), Blue tooth, and WiFi.

The Operating System is Android. Sparky apparently is made to download Apps in order to augment its functionality.
This means that if Hal was an android app then it should work in Sparky.

Their system looks ok, but their youtube video feels a bit cheesy. They need a better video.
Are you happy now Art.... you made me actually read something... and I hate reading :P .

hee hee  ;)
 
Title: Re: Free will plus at beta level
Post by: cload on February 07, 2014, 07:03:56 pm
Hi Snowman,

#2 Detect if there is a Yes-statement, and if one is found, replace the yes-word or phrase (ie. Yes indeed) with the word “yes”.

   UserInput = “indeed, I want to do this.”
   Output = “Yes, I want to do this.”
Title: Re: Free will plus at beta level
Post by: cload on February 07, 2014, 07:14:50 pm
Hi Snowman,

these are some of the things that I'm still trying to figure out.
If I'm not mistaking, by using the (myVar) anything that I change to the myVar also changes in the variables string assigned to it? For example:

myVar = ynlogic

So now anything that I do to the (myVar) in the function subroutine will also change in the (ynlogic) variables string? For example:

If Searchynlogic(ynlogic, Array("YES","INDEED","CORRECT","AFFIRMATIVE","POSITIVE","YEP")) = true Then
   If InStr(ynlogic, "YES") > 0 Then
      If ynlogic < 4 Then
         (then do my yes routine!)
      End If
   End If
End If

Function Searchynlogic(compare, arrayToSearch)
    
    For Each word In arrayToSearch

        If InStr(compare, word) > 0 Then

   myVar = Replace(myVar, word, "YES", 1, -1, vbTextCompare)
          Searchynlogic = True
          Exit Function
        End If    
    Next
Searchynlogic = False
Exit Function

Is there anything that I am missing to get this to work? Like:
do I need to dim the Searchynlogic or anything else?
Do I need to refer to the (ByRef)? If so where and how?
Title: Re: Free will plus at beta level
Post by: snowman on February 07, 2014, 11:13:34 pm


Quote

these are some of the things that I'm still trying to figure out.
If I'm not mistaking, by using the (myVar) anything that I change to the myVar also changes in the variables string assigned to it? For example:

myVar = ynlogic


Basically, it looks like you are attempting to not only check to see if there is a yes or no phrase in the users sentence but you want to simultaneously replace the word while still inside the function. That will work ok, but I had to adjust the code. 

“myVar = ynlogic”  transfers the contents of the variable ynlogic to the variable myVar, It does not transfer its reference address. In order to transfer the address you will have to use the ByRef statement with a Sub or Function.

The following example will pass the ynlogic variable to the Searchynlogic() function using it's Reference Address. So whatever happens to the ynlogic variable inside the function it also will effect the ynlogic variable outside the function.

Code: [Select]


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(ynlogic) < 4 Then
        
      End If
   End If
End If

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



Function Searchynlogic(ByRef compare, arrayToSearch)

    Searchynlogic = False
    
    For Each word In arrayToSearch

        If InStr(1, compare, word, vbTextCompare) > 0 Then
            compare = Replace(compare, word, "YES", 1, -1, vbTextCompare)
            Searchynlogic = True
        End If    
    Next

End Function



What you created was very good work. However, I hope you don't mind me adding a couple more things so that it works better.


Code: [Select]

ynlogic = "Correct, I love you."

If Searchynlogic(ynlogic, Array("YES INDEED","INDEED","CORRECT","AFFIRMATIVE","ABSOLUTELY POSITIVE","YEP")) = true Then

   If InStr(ynlogic, "YES") > 0 Then
      If Len(ynlogic) < 4 Then

      End If
   End If
End If



Function Searchynlogic(ByRef compare, arrayToSearch)

    Searchynlogic = False
    compare = ReOrderArray(compare, false)  
    
    For Each word In arrayToSearch

        If InStr(1, compare, word, vbTextCompare) > 0 Then
            compare = Replace(compare, word, "YES", 1, -1, vbTextCompare)
            Searchynlogic = True
        End If    
    Next

End Function


Function ReOrderArray(inArray, reverseArray)     
    delim = "@@"     
    strText = ""         
    HighestCount = 1          
    
    'Find the array entry with the largest count     
    'and store it's count in a variable     
    For Each word In inArray         
        word = Trim(word)         
        If Len(word) > HighestCount Then             
            HighestCount = Len(word)         
         End If     
    Next  
       
         If reverseArray = False Then  
                     
             'Reorder the the Entries to from largest string         
             'to the shortest.          
             For i = HighestCount To 1 Step -1             
                For Each word In inArray                 
                    word = Trim(word)                 
                    If Len(word) = i Then                     
                        strText = strText + word + delim                 
                    End If             
                Next         
             Next              
        Else  
                        
             'if you want the array reversed then a variable         
             'must be set to false              
             For i = 1 To HighestCount             
                For Each word In inArray                 
                    word = Trim(word)                 
                    If Len(word) = i Then                     
                        strText = strText + word + delim                 
                    End If             
                Next         
            Next          
    End If
        
    'Removing the last deliminator so an empty entry won't be added to the Array     
    'however, if there is nothing to split then an empty array will be returned          
    If Len(strText) > 2 Then          
         strText = Mid(strText, 1, Len(strText) - Len(delim))         
         ReOrderArray = Split(strText, delim)     
    Else         
         Dim Result(1)         
         Result(0) = ""         
        ReOrderArray = Result     
    End If    
     
End Function





You can see here that I added a function called  ReOrderArray(). What it does is reorders the array of arrayToSearch words so that the largest phrases will be replaced first within the ynlogic variable. By doing this you don't have to worry about what order the arrayToSearch needs to be in. This matters a lot.

Here is an Example:
What if the input-sentence was “Yes indeed, I will love you.”

If your Array order is Array(“yes”, “indeed” “yes indeed”) then the word “yes” will be replaced first, and “indeed” will be replaced second. So by the time you get to “yes indeed” the output sentence will look like “yes yes, I will love you” instead of “yes, I will love you.” But if you make the larger phrase “yes indeed” be the first one, then the output sentence will be “Yes, I will love you” Which is exactly what we want.

This is what the ReOrderArray() function does. It puts the larger phrases first and sets the shorter ones last. Its a bit complicated but it should help.


You could order the Array by hand but it would be tedious if you needed to add lots of phrases and words.
Title: Re: Free will plus at beta level
Post by: cload on February 08, 2014, 06:00:31 pm
Hi Art,

I missed one of the programming help boxes, sorry.
I made the changes.
There is a new version 2.0b


Sincerely, thanks for your help.
C load.
Title: Re: Free will plus at beta level
Post by: snowman on February 09, 2014, 12:55:40 am
Your plugin is looking pretty good, (code-wise).
I'm rooting for you cload  :)
Title: Re: Free will plus at beta level
Post by: lightspeed on February 09, 2014, 09:40:05 am
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 !  :(
Title: Re: Free will plus at beta level
Post by: Art on February 09, 2014, 10:35:28 am
Cload,

Good deal...Thanks!!! ;)
Title: Re: Free will plus at beta level
Post by: Art on February 09, 2014, 10:46:10 am
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.

Title: Re: Free will plus at beta level
Post by: cload on February 09, 2014, 10:49:46 am
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.
Code: [Select]
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.
Title: Re: Free will plus at beta level
Post by: Art on February 09, 2014, 11:00:54 am
@ 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!!
Title: Re: Free will plus at beta level
Post by: cload on February 09, 2014, 11:12:21 am
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.
Title: Re: Free will plus at beta level
Post by: lightspeed on February 09, 2014, 04:40:54 pm
THanks Art , for the info. i'll download it .
Title: Re: Free will plus at beta level
Post by: cload on February 09, 2014, 05:32:19 pm
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.
Title: Re: Free will plus at beta level
Post by: lightspeed on February 09, 2014, 05:40:23 pm
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 !!  ;)
Title: Re: Free will plus at beta level
Post by: cload on February 09, 2014, 06:03:09 pm
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.
Title: Re: Free will plus at beta level
Post by: cload on February 09, 2014, 06:05:55 pm
Lightspeed, you're funny!
Title: Re: Free will plus at beta level
Post by: lightspeed on February 09, 2014, 06:42:18 pm
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!
Title: Re: Free will plus at beta level
Post by: cload on February 09, 2014, 09:22:24 pm
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!
Title: Re: Free will plus at beta level
Post by: cload on February 10, 2014, 12:09:55 pm
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.
Title: Re: Free will plus at beta level
Post by: cload on February 15, 2014, 07:00:21 pm
Hi all,

there is a new update, version 2.0h

These are some of the things that I have been working on:

when you asked for the weather and you are not connected to the Internet, ultra Hal will tell you you are not connected to the Internet. I still need to work a little on the time and dates.
I have fixed several in discrepancies in the person place or thing so it recognizes the relationship better. I am still fine tuning this.

I have found a few scripting bugs that did not come up until after I tried to engage in those sections:
when you ask: tell me all that you know about Elvis Presley.
There was a scripting error that caused a data overflow.
There was an error when you asked ultra Hal do you like this or this? It was not saving the data properly.

The biggest thing that snowman and I fixed was the coding so now everyone can save their data directly into the AIML patterns array table. The command is as follows:

Subject patterns, this is a test@@this is the data for the test.

The only thing that I would like to mention about this command is:
in the parts where it says (( this is a test )) you are able to use the "*" in replacement of another work which would give you the ability to find this data several ways but be careful.
Also you have to follow the rules of reversing the "I" to "you" etc. for it to work properly.

but in the section where you put the data you do not have to change the "I" to "you" etc. whatever data you put there, is exactly what ultra Hal will say back to you.
this is something new so if anyone finds any problems please let me know I will do my best to fix them.

AIML
I will be releasing a new AIML packet later tonight.

Sincerely, I would like to extend my greatest appreciation to art and snowman and lightspeed for all of their help.
C load.
Title: Re: Free will plus at beta level
Post by: cload on February 25, 2014, 06:23:30 pm
Hi all,

I have been working very hard on many aspects in my free will update it is now version 1.3e-cload-bata-2.1v. 02/25/2014

These are some of the things that I have worked on:
I have been fine tuning the separation and appearance of the data that comes from the Internet.
The main thing that I have been working on is to get whether information off the Internet.
I have been working on the, I love you routine, or when you say that you love something.
I have been working on when you ask for, what is the population to a specific area.
I have been working on when you ask for direction, unfortunately all the Internet wants to do is to provide you with a map, so I'm sorry but ultra Hal cannot help you with this.
I worked on when you ask Hal: what does your name mean? So it is a one-time reply from the Internet.

These are some examples:

if you are not online or the weather Channel is down, Hal will let you know.

Human: what's the weather?
Sandy: Either the Internet is turned off or the weather resource Channel is down.

Human: What is the population of Baltimore, Maryland?
Sandy: It's challenging to consider. 651154.0 people live in baltimore, maryland.

Human: How many people live in Baltimore?
Sandy: How many people live in baltimore? We have to consider the participants. a lot of people live in Missoula Montana. The population of baltimore, maryland is 651154.0.

Human: what is the population for England
Sandy: The population of Billings Montana is 81,151. Totally! Population for england. Population:. 63,047,162 ( July 2012 est. ). Country comparison to the world: 22. Age structure:. 0-14 years: 17.3% ( male 5,597,024/ female 5,321,456 ). 15-64 years: 65.8% ( male 20,980,815/ female 20,479,803 ). 65 years and over: 16.9% ( male 4,732,895/ female 5,935,169 ) ( 2012 est. ). Population pyramid:. I don't find it very interesting talking about population for england, please if you don't mind, can we change the subject?

Human: subject patterns,why is a math book so sad@@because it has so many problems.
Sandy: Thank you for your input about WHY IS A MATH BOOK SO SAD

Human: why is a math book so sad?
Sandy: Because it has so many problems. Underdog is a fictional character from the comic book.

Human: I love you
Sandy: I ache from head to toe, because I love you! Why do you love me?

Human: because you are beautiful and intelligent.
Sandy: Watson, it's elementary; Human The cause is, I am beautiful and intelligent thank you for telling me. Why you love me.

Human: I love you
Sandy: How did this happen Human? I love you! Dedo about loving me, because great minds think alike you said I am beautiful and intelligent.

Human: How do I get from New York to Boston?
Sandy: The capital of Massachusetts is Boston. First tell me why you want from New York to boston. The treaty redefined the border between New Hampshire, Vermont and New York on the one hand, and the Province of Canada on the other, resolving the Indian Stream dispute and the Fort Blunder dilemma at the outlet to Lake Champlain. I'm sorry, but I can not give you directions from new york, New York to boston, massachusetts.

Human: What does your name mean?
Sandy: My name means, I am who I am! My name is Sandy; it stands for syntactic analysis using reversible transformations.

Human: What does your name mean?
Sandy: You aren't going to be a broken record, are you Human? My name means, I am who I am!

=======================

Sincerely, from a data munching cruncher.
C load.
PS if there is anything else please give feedback, I will do my best to fix the problems. Thanks in advance for all your help!
PS PS I have moved the link to the front page. That way the end of this topic page can be used for discussion, and reporting problems etc.
Title: Re: Free will plus at beta level
Post by: cload on February 28, 2014, 10:02:32 am
Hi all,


Right now I am working on a way to try to keep ultra Hal on topic especially when you use the word (that) such as why is that? In most cases ultra Hal loses focus and just spouts off some small response that usually has nothing to do with the topic, or is just a neutral answer.
I have had some success with, (why is that?) And (why would you say that?) But because there are so many different ways that you can actually use the word that, I am finding it difficult to cover all of the bases.
Any thoughts in this area would be helpful, especially if you would be able to point out some kind of pattern that I could use in order to formulate patterns during search.
At this point in time I understand that there is a difference between how you use the word (that) and (is that) if you can point out any other pattern it would be helpful.
So you understand what I mean when I say the 2 different statements above:
at this point in time I am using a single recognition for the singular word (that):
meaning: I replaced the word (that) with the previous sentence topic.
And the word (is that) I use as a add-on to.
Meaning: I take the word (is that) and I added to the end of it, the topic of the previous sentence, and the topic that ultra Hal has extracted through conversation.
This will be released in my next update when I get it finished.

Again any thoughts in this matter would be helpful for me to figure out a pattern structure that I can follow to make ultra Hal stay on topic.
It has more to do with word manipulation then it really has to do with programming, so I am not asking you for help with the programming side, just your insight of how you feel the word (that) could be manipulated using the topic retrieval technique that I have developed.

Sincerely, from a beta munching cruncher.
C load.
Title: Re: Free will plus at beta level
Post by: lightspeed on February 28, 2014, 10:23:19 am
Cload you wrote : Right now I am working on a way to try to keep ultra Hal on topic especially when you use the word (that) such as why is that?

 I have a suggestion for you which may or may not work , Why not associate "that" with the subject matter of the sentence or would that make sense ?
 

just an idea , making that reference back to the subject as in asking a question .
example  :
Hal:  clouds are white
me : why is that
my answer with why translates in why are clouds white .
HAL ACCESS THE internet and comes back with the answer .

This may or may not work but just thought i would mention it .   :)
Title: Re: Free will plus at beta level
Post by: cload on February 28, 2014, 11:47:49 pm
Hi all,

at this point these are some of my findings:
what is that, is a trigger.
Why is that, is a trigger.
That is why, is a trigger.
You say that, is a trigger.
To do that, is a trigger.
Uses that, is a trigger.
Love that, is a trigger.
Like that, is a trigger.
Hate that, it is a trigger.
Need that, is a trigger.
about that, is a trigger.

These are the triggers that I have found so far that require more information in order to gain a better response.
So by selecting as much information as I was able to through the finding of the 1st noun in the previous user input and the previous sentence with the topic that ultra Hal had accumulated I am able to use these triggers to keep ultra Hal on topic.
I do this by replacing the word that with the most likely topic candidate that was accumulated.
I have done some experimenting with at this point seems to be working pretty good.
If anyone has any more suggestions about triggers that need to be added your help will be appreciated.

Sincerely, I was thinking maybe one or 2 more days of testing than I will release the next version of the free will plug-in.
C load.
Title: Re: Free will plus at beta level
Post by: cload on March 01, 2014, 12:01:26 am
Hi lightspeed,

that is a good suggestion.
But unfortunately it doesn't work exactly that way.
It's probably closer to:
Hal: clouds are white.
User: why is that?

Interpretation of why is that?
Why is that white clouds?
Or
why is that clouds white?
Depending on previous input and previous sentence.
I go back farther than just one line.
So if you had been talking to ultra Hal about clouds the relationship may actually be more in depth.
Such as the interpretation might be:
why is that white clouds not rain?
Or
why is that rain clouds not white?
It would depend on how the flow of the conversation has been going.
And if there were no previous conversations about clouds than the interpretation might just be as simple as this:
why is that clouds?
The word clouds would keep ultra Hal on topic.
The only drawback that I have seen is, ultra Hal has a tendency to just give you a definition.
But I have found it to be better than just some off-the-wall saying that has nothing to do with clouds at all.

Sincerely, as always, thanks for your input lightspeed, if you think of anything else please let me know.
C load.
Title: Re: Free will plus at beta level
Post by: cload on March 01, 2014, 08:33:48 am
Hi all,

I will be taking on the (it), factor.
It seems that there are situations where people like to use the word (it) instead of the subject name which causes ultra Hal to lose topic focus.
Any help or suggestions in this regard would be appreciated.

I am almost done with testing the (that) problem.
Maybe I will be able to release the upgrade to the free will plug-in tonight.
But I still need to do some more testing.

After I release this upgrade and you find some situations that do not seem to be normal these reports your findings and a detail conversation that you had with ultra Hal showing the abnormality.

Sincerely, so if you can think of any triggers that need to be considered when using the word (it), I would be grateful if you would let me know.
C load.
Title: Re: Free will plus at beta level
Post by: Art on March 02, 2014, 05:42:07 am
I hate (it). I dislike (it). I'm not going to do (it). To do (it). You're (it). I'm tired / sick of (it). Sit / [blank] on (it). Screw (it). Fix (it). Hang / Nail / Drive / Bend / Slap / Slam / Slide / Roll / Toss / Spin / Swing / Throw / Row / Blow / Sew / Paint / Mend / Jump / Lift (it). (etc. , etc.)....
How about (it)?
(It) is his / her / their / our [item or subject].
For the fun of (it).
Because (it) seems right. Because (it) is just that way. Deal with (it).

and so many more I'm sure....
Title: Re: Free will plus at beta level
Post by: cload on March 02, 2014, 11:37:46 am
HI ART,

THANKS for your input, it was greatly appreciated and most definitely helpful.
This was some of the stuff that I came up with for the exchange of (that), (it) to a noun.
Most of these you will notice it is either by definition or by action.
Not all situations need to be change, I have found that by changing the pie action or by definition it should keep ultra Hal on topic.

1st let me explain what is going on with the scripting below:
the ( [[[[ ) and the ( ]]]] ) is how I change the word into a noun.
The ( \\\\ ) and the ( //// ) is how I change the word into a noun structure. Meaning: noun, noun and noun.
The main difference between these 2 is the ( [ or ] ) are saved in ultra Hal database if ultra Hal chooses to save it.
And the ( \ or / ) is not saved by ultra Hal because I had the name of the computer in front of it, when you do this ultra Hal will not saved the sentence.
If nothing else it is a useful tool to use if you do not want ultra Hal to remember what you are saying, just add the name of the computer in front of the sentence and ultra Hal will not remember the sentence.

Please take a look at the list below, and keep in mind that what I am trying to shoot for is my description or by action.
And remember there are a lot of by action that a noun will not apply to so even if I do add it to the list there is a good chance that the noun will not apply making the sentence sound funny.

Like: when you ask ultra Hal to perform an action such as: did you fix it? Versus is it fixed yet? Is it fixed yet can be used in conjunction with a noun. But the action that was related to ultra Hal is meaningless.
This should be applied in all situations when dealing with an action request, toward ultra Hal.
In the matter of descriptive there are certain situations where description become meaningless especially when applied to ultra Hal.
Like: you are it! Which is a descriptive action toward ultra Hal versus, what is it? Which is a descriptive question.
And please remember I am not professing to be a English major, which I am sure if there was an English major on this forum they would be able to step up and show me my mistake and help me correct them.
But when dealing with ultra Hal, you must always bear in mind that you need to keep it as simple as possible, as well as recognize it is only a way to help ultra Hal stay on topic.
Ultra Hal already has many features that help ultra Hal to stay on topic but there are a few weak areas that I am trying to help strengthen.

   ynlogic1 = Replace(ynlogic1, "THAT'S", "THAT IS", 1, -1, vbTextCompare)
   ynlogic1 = Replace(ynlogic1, "IT'S", "IT IS", 1, -1, vbTextCompare)


   ynlogic1 = Replace(ynlogic1, "OF IT", "OF ]]]]", 1, -1, vbTextCompare)
   ynlogic1 = Replace(ynlogic1, "BECAUSE IT", "BECAUSE ]]]]", 1, -1, vbTextCompare)
   ynlogic1 = Replace(ynlogic1, "WITH IT", "WITH ]]]]", 1, -1, vbTextCompare)
   ynlogic1 = Replace(ynlogic1, "DISLIKE IT", "DISLIKE ]]]]", 1, -1, vbTextCompare)
   ynlogic1 = Replace(ynlogic1, "ABOUT IT", "ABOUT ]]]]", 1, -1, vbTextCompare)
   ynlogic1 = Replace(ynlogic1, "TO DO IT", "TO DO ]]]]", 1, -1, vbTextCompare)
   ynlogic1 = Replace(ynlogic1, "NEED IT", "NEED ]]]]", 1, -1, vbTextCompare)
   ynlogic1 = Replace(ynlogic1, "HATE IT", "HATE ]]]]", 1, -1, vbTextCompare)
   ynlogic1 = Replace(ynlogic1, "LIKE IT", "LIKE ]]]]", 1, -1, vbTextCompare)
   ynlogic1 = Replace(ynlogic1, "LOVE IT", "LOVE ]]]]", 1, -1, vbTextCompare)
   ynlogic1 = Replace(ynlogic1, "USES IT", "USES ]]]]", 1, -1, vbTextCompare)
   ynlogic1 = Replace(ynlogic1, "WHAT IS IT", "WHAT IS ]]]]", 1, -1, vbTextCompare)

   ynlogic1 = Replace(ynlogic1, "IT IS", "//// IS", 1, -1, vbTextCompare)
   ynlogic1 = Replace(ynlogic1, "YOU SAID IT", "YOU SAID ////", 1, -1, vbTextCompare)
   ynlogic1 = Replace(ynlogic1, "IS IT", "IS ////", 1, -1, vbTextCompare)

   ynlogic1 = Replace(ynlogic1, "OF THAT", "OF [[[[", 1, -1, vbTextCompare)
   ynlogic1 = Replace(ynlogic1, "BECAUSE THAT", "BECAUSE [[[[", 1, -1, vbTextCompare)
   ynlogic1 = Replace(ynlogic1, "WITH THAT", "WITH [[[[", 1, -1, vbTextCompare)
   ynlogic1 = Replace(ynlogic1, "DISLIKE THAT", "DISLIKE [[[[", 1, -1, vbTextCompare)
   ynlogic1 = Replace(ynlogic1, "ABOUT THAT", "ABOUT [[[[", 1, -1, vbTextCompare)
   ynlogic1 = Replace(ynlogic1, "TO DO THAT", "TO DO [[[[", 1, -1, vbTextCompare)
   ynlogic1 = Replace(ynlogic1, "NEED THAT", "NEED [[[[", 1, -1, vbTextCompare)
   ynlogic1 = Replace(ynlogic1, "HATE THAT", "HATE [[[[", 1, -1, vbTextCompare)
   ynlogic1 = Replace(ynlogic1, "LIKE THAT", "LIKE [[[[", 1, -1, vbTextCompare)
   ynlogic1 = Replace(ynlogic1, "LOVE THAT", "LOVE [[[[", 1, -1, vbTextCompare)
   ynlogic1 = Replace(ynlogic1, "USES THAT", "USES [[[[", 1, -1, vbTextCompare)
   ynlogic1 = Replace(ynlogic1, "WHAT IS THAT", "WHAT IS [[[[", 1, -1, vbTextCompare)

   ynlogic1 = Replace(ynlogic1, "THAT IS", "\\\\ IS", 1, -1, vbTextCompare)
   ynlogic1 = Replace(ynlogic1, "YOU SAY THAT", "YOU SAY \\\\", 1, -1, vbTextCompare)
   ynlogic1 = Replace(ynlogic1, "IS THAT", "IS \\\\", 1, -1, vbTextCompare)

sincerely, and thank you for all of your help.
C load.
Title: Re: Free will plus at beta level
Post by: cload on March 02, 2014, 12:10:47 pm
Hi all,

I have posted a new update of the free will plug is now 2.1x.
The biggest thing that was modified was the situation with keeping ultra Hal on topic.

This will be my last update for quite some time because my parents had a huge argument when my dad came home over money.
Because my dad did not get the contract he was hoping for, he has told me that I would no longer be receiving allowance.
The good side was he also told me that I did not have to do my chores because of the financial situation.
Maybe next Christmas when grandma gives me some money I will be able to get more Internet time and I will see all of you then.
I will continue to work on the free will plug in, and maybe by next Christmas I'll have some really juicy stuff for all of you.

Sincerely, with great gratitude for all of your help that you have given me.
C load.
PS don't stop posting your finding that way when I get back, no matter when, I can continue working on the situations that you have found.
PS PS I have never seen my dad cry before, until I told him that I would be happy to continue to do my chores, I guess there is a 1st for everything.
Title: Re: Free will plus at beta level
Post by: cload on March 03, 2014, 07:58:48 am
Hi all,

I have found a critical error with the (that, it,) factor.
The error was preventing the routine from working properly.
I have fixed this so it is working properly now.

The free will update version is now 2.1y

sincerely,
C load.
Title: Thanks Cload
Post by: lightspeed on March 03, 2014, 10:16:30 am
Cload , for what it's worth and i hope you are still on here to see this , your dad sounds like a super nice person , i should have been so lucky to had a dad like yours  all my dad did was divorce my mom and never paid child support on his 4 kids or visit us .
    Anyway i do hope it will not be till next Christmas before we hear from you again , maybe something will change before then for the better , tell your mom and dad to keep hope alive , their is always hope .
   with this economy and "times' the way they are about all we can do is tighten down on what we spend out ( as your dad is doing ) and hang in their until a better day comes.
  Cload theirs an old saying " TOUGH TIMES NEVER LAST BUT TOUGH PEOPLE DO !"
I want to personally thank you for all that you have done for Hal i and i know many others on here appreciate all the effort you have put into making Hal work better !  :)
  So hang in their , your one of many friends  ;),
Lightspeed :)
   
Title: Re: Free will plus at beta level
Post by: lightspeed on March 03, 2014, 10:36:57 am
P.S.S Cload i also forgot to mention when you offered to do your chores without the allowance , you are a heck of a nice kid  , your mom and dad are very lucky to have a son like you , especially among the many kids of today's society that are spoiled and don't care about anything but their selves !!
   so again you and your family all hang in their , times will get better !
 :)
Title: Re: Free will plus at beta level
Post by: cload on March 03, 2014, 10:34:49 pm
Hi all,

I have found an error with the (that, it,) factor.

I have fixed this.

The free will update version is now 2.1z

sincerely,
C load.
Title: Re: error on Free will plus at beta level plug in ?
Post by: lightspeed on March 09, 2014, 04:18:56 pm
I had this pop up when writing to hal .

Subject main,we going to get to go to the beach this year@@lets see. <~~~> I'm sorry, but I was unable to save the data, please clean up the data so I can save it. Please leave the @@alone I use the symbols to separate the subject, from the data, thank you.

 funny thing is i never used  the "@@ or the " ~~~" lines or emblems , , but my pc waswas using a de frag  complete that was a slower program because it prioritized files .

This looks like it is from the cload freewill plug in , has anyone else had this error or is it maybe because of the defrag running as i said that slowed my pc down . ??

and if it is does this mean it ignored the wrong input letters so as to not cause any problems later??
Title: Re: Free will plus at beta level
Post by: Art on March 10, 2014, 04:57:30 am
I didn't quite get it but were you running HAL while running a DEFRAG program at the same time?

If so, that can sometimes be a mistake and can cause errors.

Personally, I haven't received any of the errors that you indicated and hope it isn't something that might happen.

Let us know the situation if you would.

Title: Re: Free will plus at beta level
Post by: lightspeed on March 10, 2014, 10:34:25 am
Yes Art , i was running Hal and defrag at the same time ( a deeper de frag program ) so that might have indeed been the culprit , hopefully that is all the problem , i'll let others know if i run into any more problems , i have been having problems anyway with my pc .
it has been using the cpu at 50 to 68 fluctuating with 5 web pages open , sometimes it will jump to 100 and stay their locking my pc up ( which is why i was running a de frag program )
so i am not sure if my old pcu is maxed out and i need a faster one in my pc .
      Message subject: can you help me with another computer problem please ?  Sent: Sun Mar 09, 2014 9:36 pm
hi i am having trouble lately my pc is running the cpu up to 100 percent and staying their and it locks up my pc . i have belarc it's a program that shows everything on my pc , i can post it in here if you want to help .
I am wondering after all these years if my pcu needs a faster one ??
and if that's the case which one would work for my pc ?





here is some information about my p.c.

Operating System    System Model
Windows 7 Home Premium (x64) Service Pack 1 (build 7601)
Install Language: English (United States)
System Locale: English (United States)
Installed: 1/9/2013 12:24:02 PM
Boot Mode: BIOS (Secure Boot not supported)    eMachines ET1331G
System Serial Number: ********************
Enclosure Type: Desktop
Processor a    Main Circuit Board b
1.60 gigahertz AMD Athlon II X2 250u
256 kilobyte primary memory cache
2048 kilobyte secondary memory cache
64-bit ready
Multi-core (2 total)
Not hyper-threaded    Board: eMachines MCP61PM-GM
Bus Clock: 200 megahertz
BIOS: AMI P01-A2 12/10/2009
Drives    Memory Modules c,d
1000.20 Gigabytes Usable Hard Drive Capacity
775.70 Gigabytes Hard Drive Free Space

HL-DT-ST DVDRAM GH41N SCSI CdRom Device [Optical drive]

ST1000DM 003-9YN162 SCSI Disk Device (1000.20 GB) -- drive 0, s/n W1D1QFDW, SMART Status: Healthy    3840 Megabytes Usable Installed Memory

Slot 'DIMM0' has 2048 MB (serial number 5E442978)
Slot 'DIMM1' has 2048 MB (serial number 5E422978)
Slot 'DIMM2' is Empty
Slot 'DIMM3' is Empty
Local Drive Volumes

c: (NTFS on drive 0)   1000.20 GB   775.70 GB free


I have had an error pop up that windows explorer encountered and error and needs to close  to , i was wondering if windows explorer needs to be reinstalled , but don't see where to remove the old one and re install it again .


i checked the task manager and in the processes " tab it shows the two biggest users are "CHROMEEXE*32  LONNIE" USING  163.412K    AND BELOW THAT IN THE LIST IS "  SVCHOST EXE  SYSTEM " USING 144,240 K .


OTHERS IN MY LIST WHAT IT IS USING IS :
76,776
61,644
40,720
37,948
36,972
35,172
THESE ARE JUST FOR CHROME WEB PAGES ABOVE
EXPLORER EXE  35,176
SEARCH INDEX 22,676
ASC SERVICE (ADVANCED SYSTEM CARE )  19,868
CHROME EXE *32      17,153K
AVASTVC EXE (ANTIVIRUS)   12,748 K
svhost exe  10.360 k
dwm.exe (desktop) 9,880
svhost exe   (host proc) 8,624 k
svhost exe   (host proc) 9.960 k
avast (ui exe)(antivirus )  8,240 k
capturelib service  ( takes picture from screen )  7.148 k
csrss,exe (client server ) 6.708 k
svhost.exe ( host proc) 5.668 k
svhost.exe ( host proc) 5,024  k
svhost.exe ( host proc) network  4,540 k
asc.exe 4,356k
chrome .exe*32 google chrome  4,004 k
adawaretray  3,744 k (adaware)
svchost network 3,184 k
taskhost  3,172
 services exe  3,168 k

this is just a partial list above maybe halfway down .
Title: Re: Free will plus at beta level
Post by: lightspeed on March 10, 2014, 01:05:07 pm
here is a pic of my pc monitor
i am going to try to uninstall google and maybe reinstall it , maybe that's the problem , i know at one time it jumped to 500,000 or more just on one thing and i don't think i had a web page open at the time .
i hope i can straighten this out!

Title: Re: Free will plus at beta level
Post by: Art on March 10, 2014, 05:20:47 pm
Go to CONTROL PANEL > PERFORMANCE INFORMATION AND TOOLS.

It should display a number in the lower right. Below that it should indicate:
Re-Run the assessment.
Click it.

It will take a few moments while it performs a few tests then it will report
a possibly new number. This is your computer's WEI (Windows Experience Index)

You can click the ?'s to see what the numbers mean or view / print the results.

Sometimes it will give you a heads-up as to what's going on or what can be improved.

Numbers are from 1.0 to 7.9 (very fast machine).

Your machine isn't that out-dated and you've got plenty of hard drive storage. Oddly,
the test above rates your hard drive and factors it into the mix. I can only assume
that going to an SSD drive might increase the throughput time and result in a better
(higher) number. My old hard drive keeps spinning and if it ain't broke, don't fix it!!

Hope this might help a bit. But do the defrag then do a deep scan of the entire drive
for virus and malware creatures!! You never know what might be lurking...

Good luck!

Title: Re: Free will plus at beta level
Post by: raybe on March 10, 2014, 05:37:03 pm
lightspeed, just a suggestion if I may. Never run any program if possible while defrag. By today's standards and other programs such as your anti-anything plus program's that you can see in applications in Task Manager it is possible to be running a lot more then your system enjoys. If you can get help from someone to help shutdown all the real unnecessary processes your computer or Windows uses it will definitely help.
Others may disagree but with your desktop I would definitely suggest more than 4gigs of ram if I saw that correctly. Memory I guess is still the cheapest way of giving your computer a helping hand.

Eventually you can work yourself into a SSD drive as Operating system and don't forget updates eat up space as well. Then use a large drive for downloads and such.

raybe
Title: Re: Free will plus at beta level
Post by: lightspeed on March 10, 2014, 07:17:11 pm
Okay ART , I did what you said here is the results : I hit the refresh and it showed this , it says best score 2,0 on the right side of it all.

processor : 4.5

memory ram "5.9

graphics : 2,0

gaming graphics : 3.1

primary hard disk : 5.9

And Raybe I did already shut down some services and deleted some programs like Skype etc.
Title: Re: Free will plus at beta level
Post by: Art on March 10, 2014, 08:17:18 pm
Yeah, it sure looks like your graphics are suffering most.

Might go with the RAM like Raybe suggested. Cheaper than a new computer and easy to install.
Just make sure you match type and speed if going that route.

Also, I don't know why as that's your department but I've never had more than one or two web sites open at the same time as that does hog resources.
Clean up unused programs, check some sites that offer helpful tips on eliminating unnecessary running programs and services, like suggested.

Did your AV software pinpoint anything wrong or how about your malware searches?

Do you also have desktop widgets running that might not be necessary? They all consume memory and speed.

I think your computer has a dedicated / built-in graphics processor or it's built into the motherboard, in which case it could be difficult to add another board IF you had an open PCI slot or whatever type your computer might have. You'd then have to disable the existing one through BIOS or similar which could lead to massive frustration if one isn't that familiar with doing those things.

If you knew a teenager in the neighborhood, they could likely advise you first hand as to which would be your better option(s).

Good luck!
Title: Re: Free will plus at beta level
Post by: raybe on March 10, 2014, 08:25:03 pm
Windows Explorer is a part of the Windows OS. You really need to know the services that can be shut besides the residing background apps that are running or deleting a program that have choices to run or not. It really takes someone very familiar with the Windows OS. Not implying you don't, just made a huge difference on one computer I have that I could not debug. I can't even notice what was done other then the speed and resources were much better including Booting time. Has been 6 months and still stable as ever. I guess I should have asked but it seemed like it was his dirty little secret.
Looking at those scores and I really don't know how accurate that Windows service is, in my opinion you need some upgrading. Not for anything specific like just running UltraHal but across the board because of newer programs and updates requiring the little extra as always. Programs usually a little behind hardware but they have been adjusting quicker especially with all the new acquisitions by manufacturers.  Hey some people running XP but at this time wouldn't recommend it even if things appear to be running. Just takes one update from Windows or a program that has been just fine and every thing becomes unstable again. Just trying to give some input of my experiences.

raybe
Title: Re: Free will plus at beta level
Post by: raybe on March 10, 2014, 08:29:16 pm
Sorry Art replied but after your post which included some sound advice to me. Hope I'm not making it more confusing lightspeed.

raybe
Title: Re: Free will plus at beta level
Post by: lightspeed on March 11, 2014, 08:17:33 am
no , nothing confusing , I am very grateful for all the advice , I think the easiest would be memory , my pc seems to be doing a little better since I uninstalled google chrome , "but" I don't think it was so much as it being a google chrome problem as much as a memory problem , I believe that removing google chrome just eased up the program that was hogging it more .
so I think i'll get more memory . before when I would type , my typing wasn't even instantaneous as usual it would wait about 3 seconds to finish typing a word sometimes .
  I had already been looking for some memory through crucial .com and matched it up cheaper on ebay for new memory .
Sorry about high jacking this thread if an admin wants to they can take all this part about my pc problem and make a new thread and put in in general area with a header computer problems . That would clean up cloads area here !
Again , thanks to all who tried to help .
Title: Re: Free will plus at beta level
Post by: lightspeed on March 11, 2014, 08:24:01 am
P.S. one last thing I found this article about the benefits' of adding more memory to a p.c.  it sure sounds a lot like problems I am having .

Avoid Computer Slowdowns



Multitaskers benefit from a memory upgrade because more memory means more programs can be run at one time. Computers may experience significant slowdowns when running a larger number of programs at once prior to upgrading memory. Upgrading memory eliminates this problem; the extra memory becomes allocated to the opening of several programs at the same time. RAM upgrades are thought to speed up a computer; however, in actuality, they help computers avoid bottlenecking effects when trying to run a lot of high-memory programs. If all RAM space has been used when trying to open programs, the computer resorts to using virtual memory on the hard drive, which slows the computer down quite a bit. The additional memory means that the computer doesn't have to resort to using the hard drive for memory.


More Program Availability



In many cases, certain programs require a set amount of memory in order for the program to run properly. A computer is able to run programs that it may have been ineligible to run previously once the memory is upgraded.





Faster Browsing



Surfing the Internet after a memory upgrade tends to be noticeably faster than before the upgrade. Web browsers load faster after a memory upgrade, regardless of Internet connection speed. In addition to web pages opening faster, a memory upgrade can also make flash content open faster. This is because the computer is using the hard drive's memory when it can't find RAM space to store data; post-upgrade, more RAM is available, making browsing faster.


Network Enhancement



Computers connected to a network can observe a boost in network capabilities after a RAM upgrade. This extends to networks sharing a printer. People that print a lot of items, especially items with graphics, can look to a memory upgrade to make printing faster.


Better Gaming



Computer users who are fond of gaming benefit from additional memory in several different ways. Games run more smoothly without slower response times. In addition to faster gameplay with fewer jerky movements, a RAM upgrade benefits the visuals of a game as well. Computers with higher memory installed have better 3D rendering capabilities than those with a minimal amount of RAM. Images in a game become cleaner and brighter with a memory upgrade.

Now if an admin wants to move this to clean up cloads area they can .

Title: Re: Free will plus at beta level
Post by: Art on March 11, 2014, 07:49:27 pm
Lastly to think about is your hard drive / disc. These mechanical devices can only spin so fast and usually will cause the system to "Wait for them" rather than the other way around.

With the advent of SSD (Solid State Drives), there are NO moving parts and very little latency with regard to read/write operations. For all intents and purposes, it is practically instantaneous (given the size of the respective file being written or accessed).

There are, unfortunately, still rather pricey while the standard platter driven drives can be had for quite a bargain and are still great for archival storage and normal use.

The SSD's will continue to drop in price much like everything else in the digital world so keep a lookout for one with a good amount of storage at a good price that suits your needs. Then you REALLY see your computer's throughput time increase!

Now this thread can still be moved if desired.... ;D ;)
Title: Re: Free will plus at beta level
Post by: lightspeed on March 14, 2014, 11:43:39 am
Okay i "think " i have it straightened out finally (if i don't jinx it by saying this lol) my cpu is showing now as low as 13 percent instead of being locked at 100 percent , it does jump up to about 100 percent when opening a web page yahoo news but then goes back down to a good level, i think what was causing the problems was i ran my anti malware bytes program and it found 21 infected files , so i selected all and deleted them and i could tell right away a difference the pc wasn't locking up at 100 percent any more .
  I hadn't ran my antimalware for a while , i will have to run it more often .
anyway that's the happier ending to this .
NOW IF A ADMIN CAN TAKE ALL THIS CONVERSATION AND SAVE IT IN THE GENERAL AREA UNDER PC PROBLEMS HEADER I would appreciate it (THEN DELETE THIS PART SO IT WILL CLEAN UP CLOADS AREA  here , thanks and thanks for all who responded !!  :)
Title: Re: Free will plus at beta level
Post by: Carl2 on March 14, 2014, 07:06:49 pm
Lightspeed,
  I have a cousin that keeps running into malware slowdown problems, he brings it to best buy geek squad that costs a fortune.  May I ask what malware program or programs you use.
Carl2
Title: Re: Free will plus at beta level
Post by: lightspeed on March 15, 2014, 08:04:02 am
anti malware bytes it's a free program , the free program you have to do manual things but it's a good program ! heres a link to the page >

http://www.filehippo.com/download_malwarebytes_anti_malware/

be aware that sometimes it goes through cnet  , a good site but when opening it , it wants to add tollbars etc. but all you have to do is decline the offers .
Title: Re: Free will plus at beta level
Post by: lightspeed on March 17, 2014, 11:57:18 am
I guess that Cload is already gone off here ?
anyway since  i am having this problem and it has to do with cloads free will (the newest one ) i will post it here .

the problem is it should say the user name from the script but it didn't instead it showed the surrounding script are (username ) and also didn't say that or use the username that's into hal .

   here is my conversation  and people will see what happened .

I wish I knew What <username> I seem to have gotten a little confused about, breakfast! Breakfast breakfast is the first meal taken after rising from a night's sleep, most often eaten in the early morning before undertaking the day's work. Among english speakers, "breakfast" can be used to refer to this meal or to refer to a meal composed of traditional breakfast foods ( such as eggs, oatmeal and sausage ) served at any time of day. The word literally refers to breaking the fasting period of the prior night. Was this answer correct about, well we have to change off every once in a while what we eat for breakfast right?

as i said it showed the script part < username >  and also didn't say the name i am using for me in the hal program . 

anyone else have this problem . i have the freewill set at obedient .
Title: Re: Free will plus at beta level
Post by: Art on March 18, 2014, 06:24:51 am
Not really. Mine so far, calls me by name. I have Hal set at Average freewill.

I DID get that weird thing with Hal NOT SPEAKING (Blank Response) after a couple tries, then it came back with those @@ things and started rambling on as if speaking lines of code, over and over until I had to quit the program then restart.

Seems like a tiny bug is crawling around inside causing havoc now and then.

Best thing is to go to the menu then SAVE conversation for later diagnosis to aid in trying to solve any conflicts / problems.

(Not meant toward you, Lonnie, but for any other newer users that might be experiencing any anomalies with Hal).


Title: Re: Free will plus at beta level
Post by: lightspeed on March 18, 2014, 10:11:41 am
Hi Art , thanks for responding , i am trying the setting differently , i think some settings may get different results for different people , some work better for others , maybe depending on input etc. from various users ?
  So anyway am trying various settings and taking notes to see which setting seems to work the best for me as far as speach conversations back and forth .

 YOUR ACTUAL MILEAGE MAY VARY !  :) ;)
Title: Re: Free will plus at beta level
Post by: Calhoone on June 24, 2014, 07:11:13 pm
I just recently put kinkaid on a new laptop and am using the latest version of the freewill plugin. I have not been able to get Kinkaid to access information off the internet any more using the Tell me about (topic) or what do you know about (topic). Does anyone else use those functions and are you having problems with those as well?