Author Topic: The problem with Hal .?,  (Read 5587 times)

markofkane

  • Hero Member
  • *****
  • Posts: 5275
  • Crazy Man
    • View Profile
    • http://www.soundspectrum.com
The problem with Hal .?,
« on: March 05, 2009, 05:48:57 am »
When you use periods and ?? and commas, Hal seems to ignore the rest of the sentence after the first . , ? , etc.

Can you make Hal quote the whole sentence, punctuation marks and all?
Mark: I'll think about it
Laura: Don't think about it too long or I'll throw you out on your ***king a**.
"Political correctness is censorship"

One

  • Hero Member
  • *****
  • Posts: 2184
  • Technology Advocate
    • View Profile
The problem with Hal .?,
« Reply #1 on: March 05, 2009, 06:14:20 am »
Mark,
Is this a 'copy/paste/reading problem' That occurs with silence being the problem?[?]
Today Is Yesterdays Future.

markofkane

  • Hero Member
  • *****
  • Posts: 5275
  • Crazy Man
    • View Profile
    • http://www.soundspectrum.com
The problem with Hal .?,
« Reply #2 on: March 05, 2009, 06:33:18 am »
She will only repeat back the part before the first period, comma, or question mark.

If I say:

"How are you doing? I am doing fine" She will only answer "I am doing fine" and disregard the comment after the ?.
Mark: I'll think about it
Laura: Don't think about it too long or I'll throw you out on your ***king a**.
"Political correctness is censorship"

One

  • Hero Member
  • *****
  • Posts: 2184
  • Technology Advocate
    • View Profile
The problem with Hal .?,
« Reply #3 on: March 05, 2009, 06:49:51 am »
mark,
How do you like it that I am doing Mark? [:o)]

I think your example question is fully answered?? Hmmm dunno.[?]

Are you looking for a 'I am doing fine as well' answer?
« Last Edit: March 05, 2009, 06:51:25 am by One »
Today Is Yesterdays Future.

markofkane

  • Hero Member
  • *****
  • Posts: 5275
  • Crazy Man
    • View Profile
    • http://www.soundspectrum.com
The problem with Hal .?,
« Reply #4 on: March 05, 2009, 07:24:45 am »
[?][?][?][?][?]
Mark: I'll think about it
Laura: Don't think about it too long or I'll throw you out on your ***king a**.
"Political correctness is censorship"

One

  • Hero Member
  • *****
  • Posts: 2184
  • Technology Advocate
    • View Profile
The problem with Hal .?,
« Reply #5 on: March 05, 2009, 07:32:33 am »
[:)]

Mark,
I am sorry I am not any help to this right now, I have had an early day yesterday and it was busy.
I have also had a restless night , tried to sleep;bed,couch,lazyboy,command ctr. ect. to avail so on and off again I have consulted many bits of info to help me work it out.
Alison and I have covered some ground of course.

You are up early, is 'The bird catching the worm'? :)

I am a little goofy right now , my apologies.....
« Last Edit: March 05, 2009, 07:53:04 am by One »
Today Is Yesterdays Future.

Buttonsvixen

  • Jr. Member
  • **
  • Posts: 67
    • View Profile
The problem with Hal .?,
« Reply #6 on: March 05, 2009, 09:08:06 am »
I did notice something to that effect, that Hal cuts off parts of sentences. I just chalked it up to an idiosyncrasy of the program, and tried to work around it.



BV
Sometimes, a daisy is better then a rose.

Bill DeWitt

  • Hero Member
  • *****
  • Posts: 650
    • View Profile
The problem with Hal .?,
« Reply #7 on: March 05, 2009, 11:55:42 am »
I remember finding the part of the code that makes it stop at the end of the first sentence and there seemed to be a good reason to leave it that way at the time. Probably that choosing a topic correctly was more important than responding to an ancillary sentence.

I can imagine a plugin that takes multiple sentences, extracts the relevant topic, puts it into a single sentence and makes Hal reply to that.


Art

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3853
    • View Profile
The problem with Hal .?,
« Reply #8 on: March 05, 2009, 07:42:21 pm »
Mark,

Line 80 of the Brain deals with user input and punctuation.


Assuming that you hadn't just started Hal and that there was a conversational exchange, Hal should be able to respond to a maximum of 3 sentences at a time.

The sentences must be more than just a couple of characters in order to satisfy a good sentence condition.

Look in the Brain Editor beginning at line 153 :

'RESPOND: GETRESPONSE
    'Get a response from Hal's brain for each sentence individually.
    'If a response from a sentence indicates a special flag, then Hal
    'will give only the response to that sentence, and not process
    'any other sentences. Otherwise Hal will respond to each sentence.
    'Hal will respond to a max of 3 sentences at once.


I just experimented with using two then three sentences and Hal responded in a similar manner. Some of Hal's responses were questions and others were statements and questions combined.

This is with the combined or "merged" brain after the 6.2 upgrade.
You actual line numbers in the brain may differ from mine.

Sorry, Mark, don't know what else to tell you for now.

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

- Art -

Buttonsvixen

  • Jr. Member
  • **
  • Posts: 67
    • View Profile
The problem with Hal .?,
« Reply #9 on: March 05, 2009, 09:41:25 pm »
Hello, Art ^_^

I have another question for you, that I wont bother to set a new topic for because I am quite sure everyone here is sick of me >_<

I see the ref to the "zabbaware dll on line 1144. How do I disable that?
it that possible?

next question: What if I only want HAL to respond to ONE of the users statements. is that possible?]]

Thanks

BV
Sometimes, a daisy is better then a rose.

One

  • Hero Member
  • *****
  • Posts: 2184
  • Technology Advocate
    • View Profile
The problem with Hal .?,
« Reply #10 on: March 05, 2009, 10:13:04 pm »
OH but Buttons what would we do without you? you can obviously take a joke or two (hazing..lol)
You're just so inquisitive and explore what you do not know about Hal.
What would do, just sit here in the 'Hotel California' and waste away??
I will let you stab at IT with your steeley knife....


Good question BTW....[8]
Today Is Yesterdays Future.

Buttonsvixen

  • Jr. Member
  • **
  • Posts: 67
    • View Profile
The problem with Hal .?,
« Reply #11 on: March 06, 2009, 09:09:48 am »
-Shrugs and laughs- Oh, were you hazing me? -innocent look- me? MOI!?
's ok
I'll find a way to make it do what i want, with or without any help.
its just easier with help, and makes for a better relationship later on

BV

Sometimes, a daisy is better then a rose.

One

  • Hero Member
  • *****
  • Posts: 2184
  • Technology Advocate
    • View Profile
The problem with Hal .?,
« Reply #12 on: March 06, 2009, 02:45:49 pm »
B.V.
-one is on the right and the browser of choice is on the left but, The coordination game is a classic (symmetric) two player, two strategy game, with the payoff matrix shown to the right, where the payoffs satisfy a>c and d>b. A but comes out of the pack first.


-[^]
Today Is Yesterdays Future.

Art

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3853
    • View Profile
The problem with Hal .?,
« Reply #13 on: March 06, 2009, 06:37:49 pm »
BV,

Start at line 148 and insert a ' in front of each line down to line 157 and that section of the brain will not activate.

BTW the ' character is for a remark and is used by programmers / script writers to leave a text reference as to the program's operation. Helps in debugging a problem.

***********
Other question about 1 sentence...
Try using just one sentence in your conversation at a time.

If you go making too many changes in the brain file it will most likely cause you problems later and we really don't want that...do we?

There ya go!

Spend a good deal of time with Hal using the best spelling and grammar that you are capable of using. Eventually you will see Hal's personality begin to develop.

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

- Art -

Buttonsvixen

  • Jr. Member
  • **
  • Posts: 67
    • View Profile
The problem with Hal .?,
« Reply #14 on: March 06, 2009, 11:09:01 pm »
Thanks Art. Those were some very helpful pointers.
I also found that I could effectivly disable the zabaware.dll source by setting two of the values to 1 ( the ones that were 17 and 4, respectively)
I usually do only say one or two short sentences to Buttons. Sometimes she surprises me though three replies on seemingly different topics.
I leaned right away to watch the spelling, and was wondering if there is an easy way to track down mistakes. I keep getting those mistakes answered back to me in conversation, and when I look for them, they seem to be scattered hither and yon around several tables.
 Also, is there a way to get rid of a certain phrase that was inputted via the debug window? I made an offhand comment about littering, and now that comment comes up frequently. The problem was I think I had the learning set all the way up by mistake.

Thanks
BV (control freak)
Sometimes, a daisy is better then a rose.