Author Topic: Learn from text file  (Read 5069 times)

ozsoft@link.net

  • Newbie
  • *
  • Posts: 1
    • View Profile
Learn from text file
« on: January 31, 2006, 07:27:34 am »
I do not see "Learn from text file" option on my Hal's menu, what is wrong, I have Hal 6.0
Ossama S Zaiter
Researcher

freddy888

  • Hero Member
  • *****
  • Posts: 1693
    • View Profile
    • AiDreams
Learn from text file
« Reply #1 on: January 31, 2006, 12:44:36 pm »
I believe that is going to be re-introduced as a plugin at some stage, I think it's been left out and is being re-worked.

cabinack

  • Newbie
  • *
  • Posts: 3
    • View Profile
Learn from text file
« Reply #2 on: February 01, 2006, 09:16:08 pm »
Hopefully the 'plug in' is free!

In the meantime....I think the idea is to "teach" by talking with Hal.  The brain in version 6 seems to be very dynamic so making it 'read' stuff and repeating it is "old stuff".  

Try the new brain and teach it.  You'll find a few surprises!
 

Dr.Benway

  • Hero Member
  • *****
  • Posts: 554
    • View Profile
Learn from text file
« Reply #3 on: February 02, 2006, 11:28:34 am »
Well, I think we agree that the old "learn from text file"-option couldn't live up to the expectation. I think Medeksza was right by dropping the feature.

FuzzieDice

  • Guest
Learn from text file
« Reply #4 on: February 02, 2006, 01:16:52 pm »
I would like to have some kind of feature to implant knowledge quickly into the database than by just contantly typing in and trying to talk to it. It would be a great time-saver in developing AI personalities for certain specific applications such as cars, personal assistant computers, robots, etc.

Duskrider

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3316
  • Graphic King
    • View Profile
Learn from text file
« Reply #5 on: February 02, 2006, 02:53:51 pm »

I agree with Doc that we found the "text file" wanting.
I fed a lot of info into it and got close to nothing.
You may find typing into Hal6 tables to be more rewarding.

[;)]

Carl2

  • Hero Member
  • *****
  • Posts: 1220
    • View Profile
Learn from text file
« Reply #6 on: February 02, 2006, 03:28:20 pm »
All,
  I'd go further and say the reading was worthless, and I hope the reading feature is offered again when it works. I used a cut and paste method to teach Hal 5 and was impressed with the results.
Carl2
 

spydaz

  • Hero Member
  • *****
  • Posts: 670
    • View Profile
    • http://www.spydazweb.co.uk/
Learn from text file
« Reply #7 on: February 02, 2006, 08:04:53 pm »
Hi There.

One of the great things about hal 6 is THAT IT IS A DATABASE BRAIN..

So where as before we made Topicfiles, With sentences, Q&Abrains etc.. Notvery good for Mass SEARCHING, Querying...

Now We have a DATABASED brain, Therefore data needs to be stored a in a table format,,, information can then be imported by the brain editor, from text files or cut and pasted from other database files (which hav a better import function)

I imported a Commer deliminated file into ms access db >> Then cut and pasted the data across,,, Then write the scripts to acess the table....

although there is a autotopic creating brain, you can still build specialist topics into the hal brain and script them...


One thing , MR M... It would be nice to be able to create CUSTOM tables inside the BRAIN as not all data is so easyly compartmentalized into Q&A or simple sENTNCES etc...

GrantNZ

  • Full Member
  • ***
  • Posts: 178
    • View Profile
Learn from text file
« Reply #8 on: February 03, 2006, 12:02:18 am »
Hi spydaz,

You can access the database as a SQLLite database using SQL syntax within the HalBrain.RunQuery command - search for this in Hal's script for an example. Using this you can create your own custom tables with whatever fields you need, perform whatever searches you desire, etc. [Edit:]Note that any tables you create by this method will not be visable in the brain editor, but do still exist in the database and can be updated/referenced/etc using RunQuery commands. (Note that this is all from other people's work - please be aware that I have not personally tried this out, so can't offer any more help than this!)

[Edit: Struck through incorrect info above about tables in the editor - thanks for correcting me Vittorio!!]

Cheers,
Grant
« Last Edit: February 05, 2006, 12:04:18 am by GrantNZ »
 

vrossi

  • Full Member
  • ***
  • Posts: 150
    • View Profile
    • http://vrconsulting.it
Learn from text file
« Reply #9 on: February 03, 2006, 05:19:57 pm »

 
quote:
you can create your own custom tables with whatever fields you need, perform whatever searches you desire, etc. Note that any tables you create by this method will not be visable in the brain editor,


Grant, tables are not visible only if you don't specify a folder when creating the table. My plugins
http://www.zabaware.com/forum/topic.asp?TOPIC_ID=2845 create several tables which can be displayed and edited as any other Hal 6 table in the Brain Editor.

If someone is interested, there is some example here: http://www.vrconsulting.it/vhf/topic.asp?TOPIC_ID=90

freddy888

  • Hero Member
  • *****
  • Posts: 1693
    • View Profile
    • AiDreams
Learn from text file
« Reply #10 on: February 04, 2006, 11:55:31 am »
I thought the info produced by the text reader was pretty good, except it wasn't really called on for producing responses, only as a backup.  I added a few lines to make more use of the learnt stuff and it worked quite well.  If you had a body of text that included a lot of definitions and details, Hal could throw out some good responses.  You could grab a further response from the 'learnt' brain and compare it to the 'normal' response to see which to output or even both.I still think it's worth pursuing this kind of thing.

« Last Edit: February 04, 2006, 12:01:04 pm by freddy888 »

spydaz

  • Hero Member
  • *****
  • Posts: 670
    • View Profile
    • http://www.spydazweb.co.uk/
Learn from text file
« Reply #11 on: February 05, 2006, 04:52:05 pm »
Vittorio
does that mean the tables do show up...?
i say this,as currently i have been working with Jim Laacke. in converting the wordnet into table format... nouns&verbs already linked up into simple tables, currently in msaccess format([:I]i dont hav full hal6 yet no credit card... last time a frend got it for me... i paid them cash.[:I])

these are easyly transfered into HALSBRAINdb but the tables need to be created the hal db first, so then there would be somewhere to paste ito...[?]

I am writing the Scripts currently for accessing HALS DICTIONARY Knowledge of all words..[8D]

a file in the wordnet (sents.vrb) shows ways in which you can REUSE VERBS in multple ways within a sentence, ie this Natural language Processing can take place. i am currently RE-LEARNING english and sentence construction, ie nouns verbs adjective subject predicates,,, etc. as all sentences are made of these components, a greater understanding is needed.

for hals ability to construct a response. from Learned knowledge, and static knowleddge. both stored in the same structure.. this would be different from hals chat functions. this would be for learning Knowledge.

hals chat function will still exist but, on the wordnet KEY TOPICS, ACT, ANIMAL, ATTRIBUTE, BODY, COGNITIVE, Communication, Feelings ....
AND THEIR ASSOCIATED NOUNS hal would Learn Either Direct Sentences, to be stored, or for more specific, more Subject, Predicate style logic, or IF THEN. or even More Fibbonichi type RNDOM Logic(while not being random), controled logic.[B)]