Author Topic: Can you give us a run down on...  (Read 4031 times)

Larry

  • Sr. Member
  • ****
  • Posts: 266
    • View Profile
Can you give us a run down on...
« on: September 04, 2003, 02:59:42 pm »
Can you give us a run down on exactly what you fixed, added to 5.0???

I mean, the 5.0 brain looks very similar to 4.5 except the dictionary stuff...
 

lostbowyer

  • Full Member
  • ***
  • Posts: 105
    • View Profile
Can you give us a run down on...
« Reply #1 on: September 04, 2003, 04:52:50 pm »
I've noticed that besides the haptek character addition, hal now tells jokes!
 

Medeksza

  • Administrator
  • Hero Member
  • *****
  • Posts: 1469
    • View Profile
    • http://www.zabaware.com
Can you give us a run down on...
« Reply #2 on: September 04, 2003, 07:14:02 pm »
Whats New in Hal 5.0

  • The Haptek 3D Character Engine has bene incorporated into Hal. This offers a new level of realism for Hal.

  • Ultra Hal is compatible with software called People Putty from www.haptek.com allowing anyone to easily create 3D characters for Hal either from scratch or from a photograph of a real person.

  • Hal's conversational database is about 75% larger, allowing Hal to converse intelligently about more topics then ever before.

  • Hal's AI engine now makes use of the WordNet lexical database to allow Hal to work better with the data that it has available.

  • New functions have been added to Hal's brain script that make use of the WordNet lexical database which allow Hal to make responses based on word relationships alone.

  • The format of Hal's Q&A databases has been changed to allow for much faster proccessing.

  • An option has been added to Hal that will allow Hal to read outloud clipboard contents when it changes. This allows the user to make Windows speak any text aloud simply by copying it into the clipboard.

  • An option has been added to Hal that will allow Hal to read outloud standard Windows dialog boxes that pop up.

  • Hal is able to check pop3 mail accounts and notify you when new mail arrives and optionally tell you who sent you mail and read the subject.

  • A slider option has been added into Hal's Brain Options to allow you to control the emphasis placed on information learned by Hal from you. This will allow you to setup Hal to use responses Hal learned from you even if Hal thinks he can respond on his own more intelligently. Basically, the user will have some control over the threshold value that Hal uses to determine if a learned response is more intelligent then Hal's standard response.

  • Bug fix: Hal's run program feature has been updated to avoid running a programs uninstall program or help file.

  • Bug fix: Error 1335 no longer occurs on some Windows XP machines during installation

  • A bug has been fixed that prevented people with non-English versions of Windows from being able to change Hal's options. (According to beta reports, this is still not fixed)




Under the hood changes:

The QABrain function (responsible for most of Hal's responses) has been changed. It now accepts files of 2 types: a new indexed binary format and the traditional ASCII format. If it detects a binary file like the new Mainbrain.brn it will utilize a fast read algorithm that searches through a sorted binary index. After narrowing down its possible responses to about 100 responses it utilizes an updated AI algorithm that makes use of the WordNet database. When comparing sentences for similarity WordNet is used to identify if a word is a noun, verb, or other. Nouns get the most weight, verbs 2nd, and other types 3rd when determining a relevance score. Sentences are compared in full with this new algorithm. Before only keywords were compared. Because of WordNet and weighting different words, all words can be compared.

If the QABrain is fed an ASCII file it will use the exact same algorithm as Hal 4.5 did, meaning it is slower, it uses an ExtractKeywords function on its comparisons, and it does not use WordNet.

The MainBrain.brn file cannot be edited with a text editor without causing damage to the entire file. A file must be edited when it is still in ASCII text format and then it must be compiled with the new Hal Brain Editor (currently not included in beta version) to convert to the new binary format.


The final release of Hal 5.0 will also include a deductive reasoning function. This was removed from the beta because it was still kind of buggy and I wanted to get the beta version out now. It will work something like this once fixed:

User:  If Molly weighs 400 pounds, then Molly is overweight.
Ultra Hal: I understand the implication.
User:  If Molly is overweight, then Molly's health is in danger.
Ultra Hal:  I see the relationship.
User:  Molly weighs 400 pounds.
Ultra Hal:  Molly's health is in danger.
Robert Medeksza

Larry

  • Sr. Member
  • ****
  • Posts: 266
    • View Profile
Can you give us a run down on...
« Reply #3 on: September 04, 2003, 09:26:31 pm »
I am impressed... I had taken a look at the default brain, outside of the dictionary stuff, it looked basically like 4.5
And I looked at some of the files within the default folder, those looked basically like 4.5 except again for the dictionary stuff...
I'm guessing the improvements are in the dll and exe files ... with every thing you've mentioned, I am impressed...
If I understand everything here... couldn't I just copy and paste the changes I made in 4.5's brain to 5.0's brain and it would work???
 

lostbowyer

  • Full Member
  • ***
  • Posts: 105
    • View Profile
Can you give us a run down on...
« Reply #4 on: September 04, 2003, 11:20:41 pm »
Larry
I've already been there done that! I created a second brain file and added in your "just answer the question" and "knock knock" and my "whats for lunch" everything works except if I ask hal to tell a knock joke it locks itself into a joke mode and will not stop telling jokes, it won't even acknowledge good byes. I'm going to look at it in the morning. This of course is being done in a seperate configuration that the test beta. I am testing the beta for feedback as is, the other is just for my experiments.
Glenn
 

Larry

  • Sr. Member
  • ****
  • Posts: 266
    • View Profile
Can you give us a run down on...
« Reply #5 on: September 04, 2003, 11:40:35 pm »
Thanks... and does it work better with the new engine???
 

lostbowyer

  • Full Member
  • ***
  • Posts: 105
    • View Profile
Can you give us a run down on...
« Reply #6 on: September 05, 2003, 01:05:15 pm »
No, keyword matches in your script is about the same in 5.0. I'm not using your lastest version of "just answer the question" I'm still using the prior version with the "forced keyword" I was hoping there would be improvement but I think the keyword algorythm has too many words excluded from it's database because of performance issues.

BE FOREWARNED! 5.0 is very sensitive as to WHERE you add the scripts. For example. if the "what's for lunch" script is placed after the "check for greeting" function in the script, hal will not recognize any greetings or goodbyes. If it is located near the end of the script, hal goes into a never ending joke mode. Your "just answer the question script" will only reurn a response a match if it is near the end of the script otherwise it returns nothing.
« Last Edit: September 05, 2003, 05:15:46 pm by lostbowyer »
 

Larry

  • Sr. Member
  • ****
  • Posts: 266
    • View Profile
Can you give us a run down on...
« Reply #7 on: September 05, 2003, 05:58:39 pm »
Ouch... thanks for the warning... I'll so some thinking...