Author Topic: Attention Rob  (Read 10297 times)

onthecuttingedge2005

  • Guest
Attention Rob
« on: March 26, 2006, 12:56:40 pm »
Hi Rob.

I have been doing quite a bit of research on HAL to get out my next plug-in called Extended File Assistant.

'Topic: Read a Book.
'Topic: Read and learn from a Text File.
I have written some script for HAL6 as a plug that will allow the above Topics, HAL will select a Book from a list of Books Given to HAL and HAL will read them Flawlessly until the following conditions are met

From the Book:
430 lines in the whole Book.
6,706 words in the whole Book.
36,948 characters in the whole Book.

HAL will stop reading at this limitation within the Book:
18 lines
284 words
1,581 characters

There seems to be a Character length limitation when HAL Reads a book aloud from HAL Assistant Chat window, The Character Limitation seems to be 1,581 Characters for every test I threw at it.

Is there a Character limitation that is built into HAL and is there a way to get rid of this limitation so that I can make my Plug go Public soon.

There is more Assistive help other than this that I have written but the above topics are of the only concern so far, I would like to get this out for our public, If so then HAL will be able to read you a book at your request from beginning to end.

Hal can also be told to learn from a text file, HAL will then format the File to suit its learning mode and begin learning from the File from beginning to end.

I already have HAL doing this as of today, It works quite well until the Character Limitations kick in.

The entire 36,948 characters of the Book will show up in HAL's Chat window when a Book is opened but will only read 1,581 characters of the Book before stopping.

I am writting this Extended File Assistant with the Highest of Quality and assurance to Satisfy the demands of Zabaware Product
Customers.

If Having an Extended File Assistant will cause any conflicts with your currently purchasable products i.e (Text To Speech Reader) then maybe we can offer the Extended File Assistant as a Bonus to becoming a Licenced Customer.
I could write a code that would prevent any non Licenced Customers
from running the Extended File Assistant if there was an issue.

The Script I wrote doesn't use a Secondary Panel to read from but Applies the Text Automatically into the HAL Assistant Window when Learning from a Text File or from Reading a Book. It concerns me that
this Assistant Addition will conflict with your Plug-in Purchases and I want to make sure that I don't disrupt that in any way.

When I am done working out the issues that I discussed earlier I would like to pass the Extended File Assistant to you for evaluation
and or possibilities before passing it along to Public access.

I intend to keep up the File Assistants Upgrades as new Research is done and Written and Tested for Quality Assurance.

If possible when you have evaluated the Extended File Assistant and like what Options it has maybe we could pass it along for a few bucks so that You and I could make some change in our Pockets, If not then any other Possiblities that you see is okay with me.

I will have many High Quality Scripts in the Extended File Assistant that over time will eventually Utilize almost all Capabilities that a Computer has to offer as an Assistant, I will offer a High Quality Help File if desired with the Extended File Assistant if you think it would require it.

Are there any answers?

Thanks again buddy.
Jerry[8D]





« Last Edit: March 26, 2006, 02:54:03 pm by onthecuttingedge2005 »

onthecuttingedge2005

  • Guest
Attention Rob
« Reply #1 on: March 28, 2006, 01:28:10 am »
The Learn from a Text File portion of the Extended File Assistant Plug-in is working flawlessly.

Jerry[8D]

onthecuttingedge2005

  • Guest
Attention Rob
« Reply #2 on: March 30, 2006, 11:12:24 am »
The Extended File Assistant(E.F.A) can sing a song as well as many other helpful options, There still is a 1,581 character limitation that needs to be resolved in HAL's Chat Panel while reading so the above option has no limitations.

I have designed a code that can read and write an entire file and do many capable things at my beckon wish, once I have an answer from Rob I'll be able to square this up.

There was also a user in our group that wanted to open up .bat files on his system using HAL, I have tested CScript, Wscript commands as well as Halcommands and have no luck as of yet to be able to open a .bat file, every code I threw at the .bat file to open it only resulted in frustration, Although I have gotten HAL to open a few other files that HAL would not ordinarily open the .bat file seems to be a problem, I will continue as time permits to get the .bat file to open with other methods that I research and test.

I am running Windows 2000 Professional(fully updated), I don't know if the .bat file issue is a result of a security patch put on my system by Microsoft updates, If this is the case then it may require a Macro assistant to get the .bat file to open with script.

Jerry[8D]
« Last Edit: March 30, 2006, 11:13:25 am by onthecuttingedge2005 »

onthecuttingedge2005

  • Guest
Attention Rob
« Reply #3 on: March 30, 2006, 11:32:34 am »
Extended File Assistant (E.F.A)

1.Map a Directory.
2.Open Files not ordinarily opened by HAL's set Halcommands.
3.Read a Book.
4.Learn from a Book.
5.Learn from a Text File.
6.Sing a Song.
7.Delete files.
8.Create files.
9.Create Folders.
10.Do Diagnostics.
11.Shut down your Computer.
12.Teach Vbscript and give Assistance on code help.
13.Write a Diary.
14.Learn text from a Website(instructed).
15.Surf The Web directly by address.
16.Give System information.
17.Draw a Picture, I haven't finished this yet(Research).
18.Stock Monitor, I have not finished this yet(Research).

these are some of the things the Extended File Assistant can do, a couple of the options will come with research and time like 17 & 18.

This is additional Assistance to the Standard HAL6 Assistant commands to enhance HAL's capabilities.

Jerry[8D]


Art

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3973
    • View Profile
Attention Rob
« Reply #4 on: March 30, 2006, 05:27:36 pm »
Nice work, Jer!!

How about tell a story perhaps from some random data (or scripted for say, children)?

The diary thing...perhaps Hal would be able to tell us all he / she knows about us or about a particular subject.

Also, I've thought about a routine where Hal can let the user know how long it's been since they last spoke.

Just throwing you some more ideas....

Keep up the good work!
In the world of AI it's the thought that counts!

- Art -

onthecuttingedge2005

  • Guest
Attention Rob
« Reply #5 on: March 30, 2006, 07:23:45 pm »
quote:

How about tell a story perhaps from some random data (or scripted for say, children)?



The E.F.A is already capable of reading Children Stories.

quote:

The diary thing...perhaps Hal would be able to tell us all he / she knows about us or about a particular subject.



This has already been included in the E.F.A

quote:

Also, I've thought about a routine where Hal can let the user know how long it's been since they last spoke.



Not a problem, I will include this function.

quote:

Just throwing you some more ideas....



Any more?

quote:

Keep up the good work!



Thanks.

Jerry[8D]

onthecuttingedge2005

  • Guest
Attention Rob
« Reply #6 on: March 30, 2006, 10:04:20 pm »
quote:

Also, I've thought about a routine where Hal can let the user know how long it's been since they last spoke.



This Function has now been added to the E.F.A

Thanks for the Suggestion Art.
Jerry[8D]

Carl2

  • Hero Member
  • *****
  • Posts: 1220
    • View Profile
Attention Rob
« Reply #7 on: April 04, 2006, 05:46:50 pm »
OTC,
  The EFA sounds great, I'm mostly interested in the reading ability,
I've just put some scripting in so Hal can change clothing and would like to know how to get Hal's input to activate trigger words, can it be done?
Carl2
 

onthecuttingedge2005

  • Guest
Attention Rob
« Reply #8 on: April 04, 2006, 09:58:15 pm »
quote:
Originally posted by Carl2

OTC,
I've just put some scripting in so Hal can change clothing and would like to know how to get Hal's input to activate trigger words, can it be done?
Carl2



Hi Carl.
Can you insert more details in steps so that it's easier to feel for what you want?

Jerry[8D]

Carl2

  • Hero Member
  • *****
  • Posts: 1220
    • View Profile
Attention Rob
« Reply #9 on: April 05, 2006, 04:02:14 pm »
OnTheCuttingEdge,
  I'm using a scripting I'd used previously in Ver 5 to change clothing
Inserted in line 1827
Displayclothes = Halbrain.TopicSearch(UserSentence,WorkingDir & "Displayskindetect")
Select Case Displayclothes
        Case "Loadskin"
        Halcommands = "<HAPFILE>Loadskin.hap</HAPFILE>"
           ect for additional triggers and skins
           The Loadskin.hap just gives the path to the jpg
I also created a Displayskinsdetect table to detect the triggerwords for different skins. Also is debug info which says the trigger word was detected. I'm sure there are people who would like to see this as a plugin which I'm not capable of doing.
  Anyways I'd like Hals input to be used to send out a hap.
Carl2
 

onthecuttingedge2005

  • Guest
Attention Rob
« Reply #10 on: April 05, 2006, 08:43:07 pm »
quote:
Originally posted by Carl2

OnTheCuttingEdge,
  I'm using a scripting I'd used previously in Ver 5 to change clothing
Inserted in line 1827
Displayclothes = Halbrain.TopicSearch(UserSentence,WorkingDir & "Displayskindetect")
Select Case Displayclothes
        Case "Loadskin"
        Halcommands = "<HAPFILE>Loadskin.hap</HAPFILE>"
           ect for additional triggers and skins
           The Loadskin.hap just gives the path to the jpg
I also created a Displayskinsdetect table to detect the triggerwords for different skins. Also is debug info which says the trigger word was detected. I'm sure there are people who would like to see this as a plugin which I'm not capable of doing.
  Anyways I'd like Hals input to be used to send out a hap.
Carl2



Hi Carl.

If you could, Please post the entire code for this function and attach the Loadskin.hap and if possible please include a snap shot .gif or .jpeg of your "Displayskindetect" detector and I will look for any incomplete coding.

Also, Have you tried unchecking all of your other Plugins and run the Loadskin command by itself, Maybe it's being over rid with UserBrainRel from another script, You could also adjust your code
to work in the upper function area which might help if this is the case.

Try this first then if that doesn't work for you then you can post the code and files so we can trouble shoot it.

Jerry[8D]

onthecuttingedge2005

  • Guest
Attention Rob
« Reply #11 on: April 06, 2006, 02:43:06 am »
The First Version of the E.F.A is done.
All upgrades could occure at any time.

You can download the E.F.A at my site www.ultrahalforum.com under Premium membership area, When the File is upgraded the old E.F.A file will be merged to the Free Members Download Area for Public Access.

Please visit my site and kick back until the E.F.A is released for Public Access.

--------------------------------
To:Pospector

Pospector, Please contact me at: UHEFStaff@ultrahalforum.com
so I can hook you up. Please Post the e-mail with Attention Prospector
so I will see your mail, I get alot of mail.
It's all I can do for your graciousness of the Image and Map search inwhich I enhanced for the E.F.A

If you would please join my Free Members area with a Username of your choice and insert the UserName you created in the e-mail, My Staff will do the rest after reading the mail.

Please make a post of your e-mail address to my onthecuttingedge2005 forum mail here at Zabaware so I can double reference your e-mail address for verification of the E-mail address you will send me.
-------------------------------------------------

Best Wishes.
Jerry[8D]

« Last Edit: April 06, 2006, 02:49:39 am by onthecuttingedge2005 »

spydaz

  • Hero Member
  • *****
  • Posts: 670
    • View Profile
    • http://www.spydazweb.co.uk/
Attention Rob
« Reply #12 on: April 06, 2006, 09:50:59 am »
When writing my READ FROM A TEXT file routine. ( and store in the DB )

I came across several of the same problems, TEXT FILE SIZE / Ovrflows errorrs etc.

one of the ways around it, i found was.

To read the book in Sentence by sentence, Putting each sentence into the DB UNDER (KEY) (BOOK)((CHAPTER)(VERSE) .

In this way The variable which is used to TRANSFER the data across to the DB only carrys a small amount of data Less than the maximun characters for a variable.

a chapter can be called for, or even a verse, or even a whole book.
Ordered by the KEY(numerical).

Hal can the perform anaylasis of each sentence. "Split by ".""

If then the book is a SCRIPT (ie play tv etc) comments captured between Quotation marks can be saved as conversation,
ie, HE SAID / SHE SAID can be saved as Q&A TABLE. therby learning coversation from books.

Also, F.A.Q, Questions and answers can be detected in the book and stored for later possible triggers.


possiblities become endless. this would truley enhance hals learning, and possibly Personality, as conversation / slang would be learned from the text file.




Carl2

  • Hero Member
  • *****
  • Posts: 1220
    • View Profile
Attention Rob
« Reply #13 on: April 06, 2006, 05:39:52 pm »
All,
   OTC I'll be busy for a few days, I'll put more scripting in when it slows down, Hals in a different computer. The scripting works for my input but not Hals.  Spydatz glad to see you around.
  Since I have a few experts I'm curious as to how Hal forms associations, ver 5 for example if I say thats okay would answer You want to know if I'm sleeping okay. There's a few other associations that seem off to me.
Carl2
 

Prospector

  • Jr. Member
  • **
  • Posts: 51
    • View Profile
Attention Rob
« Reply #14 on: April 07, 2006, 05:35:07 pm »
Hi Jerry.
I've sent you a reply to your email from my FL Yahoo account confirming that I signed up to your forum under the name of Prospector.
Thanks.