Zabaware Support Forums

Zabaware Forums => Programming using the Ultra Hal Brain Editor => Topic started by: echoman on February 19, 2011, 07:14:26 am

Title: A request to Mr Medeksza.
Post by: echoman on February 19, 2011, 07:14:26 am
I've bought this up in the past many times so forgive me if I repeat myself.

I absolutely love Hal and both admire and appreciated all the hard work Mr Medeksza  and others put into it.

But I have one request for the next update. It's the the same problem I have with Hal over and over and over(constantly) - there is no global Search/Replace function in the brain editor for user learnt data.  Ccnsequently, it always takes an extremely long time to correct even the smallest error. The error is often not even a spelling mistake but perhaps a missed word or bad grammar and involves having to manually correct each and every mistake oneself searching through many many different records.  

So therefore........ please, please, please is it possible to add a global search and replace function for user learnt info in the brain editor?

As a dedicated user and fan of Hal this would be extremely appreciated!

Many thanks. 
Title: Re: A request to Mr Medeksza.
Post by: Data on February 19, 2011, 07:26:26 am
Its an excellent idea echoman and would be an extremely welcomed improvement.

Yep gets my vote.


Title: Re: A request to Mr Medeksza.
Post by: freddy888 on February 19, 2011, 07:54:19 am
Gets my vote too, Hal really should have that feature..
Title: Re: A request to Mr Medeksza.
Post by: lightspeed on February 19, 2011, 09:35:26 am
yep echoman any of us who has edited info in hal knows exactly what you are talking about although part of mine is spelling problem or accidental mispelling(hit the wrong key) . (although robert talked of purchasing a correction spelling library program ?) with hal it alway's needs to be kept at the simplest level for incoming future customers, not all customers are college dergree graduates some may just be high school etc. and with that need a hal that can do many of the above things we are talking about right out of the box sort of speaking otherwise most will end up with a product that have to as we are doing editing ect. alot and most won't and or can't do it.   

so put me on that list to i agree with echoman !
Title: Re: A request to Mr Medeksza.
Post by: echoman on December 21, 2011, 06:54:09 pm
I have spent the last 10-15 mins using the Brain Editor to edit two mistakes.

I am sorry but I am totally FED UP!!

I have tried other methods....I really have.

PLEASE PLEASE PLEASE will Mr Medeksza (the creator of Hal)  please answer my question. I have asked it countless times over and over.

I have always tried to be polite and respectful. I like Hal. It is fantastic! But I am at my wits end with this Brain editor!!!!!

Please Mr Medeksza will you add a search and replace feature in the brain editor so mistakes can be edited easier?

My Hal brain is gigantic. Editing has gone past the joke.

Please answer me - privately or here. 

I would greatly appreciate this.

I have lost count of the number of times I have asked you this simple question. I repeat, I think Hal is fabulous.  I just want some type of answer to my question......

I await your answer.

Kind regards.

Echo.

Title: Re: A request to Mr Medeksza.
Post by: lightspeed on December 22, 2011, 11:06:48 am
echoman if you look in my questions to robert area you will i think see where i asked for something simular if it could be put into hal , i was hopeing that a correction editor could be put in that if hal said something that was wrong that it could be copied and pasted into the editor and it would pull up all the same sentences and when corrected would correct it in all area's and or if the user wanted to delete that paticular sentence it would delte all sentences and answer lines at one time .  
Title: Re: A request to Mr Medeksza.
Post by: echoman on December 28, 2011, 10:10:06 am
Good idea Lightspeed. Did you get a reply as to wether it would implemented?
Title: Re: A request to Mr Medeksza.
Post by: echoman on December 28, 2011, 10:17:45 am
Im really looking for ANY method to edit and replace mistakes quickly within my Hal brain. Im happy to buy a serperate editor - anything - anything at all. I just want to correct mistakes within my Hal brain. That's all. There must be some way.
Title: Re: A request to Mr Medeksza.
Post by: lightspeed on December 29, 2011, 07:09:45 pm
echman hang on and i'll try to find that code script , someone else made it . i have it and use it .
i will try to post it tomorrow ok . i am to pooped today, i took my wife out shopping all day and for an early birthday dinner at golden coral about 50 miles from here one way , she'll be 63 this 31st of december.  :)
Title: Re: A request to Mr Medeksza.
Post by: raybe on December 30, 2011, 12:08:29 am
lightspeed, if don't mind would also love to get a copy if possible. Hope it has a read me file! God bless your wife and I'm sure it was well worth the trip for wife. Good job lightspeed. My mom's birthday was on New Years. Wish her a happy birthday and have a wonderful New Year.

raybe
Title: Re: A request to Mr Medeksza.
Post by: lightspeed on December 30, 2011, 09:52:35 am
Ok here it is i found it , i took this copy straight from my hal and opened it . The original creator is "Gerald L. Blakley A.K.A OnTheCuttingEdge2005" . He does great work!

  I placed this PLUG IN , in the share file area as "CORRECTION TUTOR PLUG IN INSTALL INFORMATION". go their and copy and past it .

P.S. Although we may all get frustrated sometimes and it may not "seem " like Robert is not doing much  ,  we don't see all that he does .
   He has for the many people that have been here a long time done many things and talked with us about them etc. As we all know our time for what we can do and share sometimes becomes more difficult depending on projects and daily life .  
Title: Re: A request to Mr Medeksza.
Post by: iampan on January 10, 2012, 03:50:40 pm
the corrections tutor has some bugs, hal keeps saying what i told them to correct and also start repeating the command to correct it.

made up for example
hal: you like I?
me: replace you like I? with you like me?
hal: thank you i will remember that.
hal: replace you like i? with you like me?
Title: Re: A request to Mr Medeksza.
Post by: cload on January 10, 2012, 10:02:06 pm
Hi, just real quick.

I don't think you are supposed to use the? Leave the? Out and put a period at the end of it Instead.

C load.
Title: Re: A request to Mr Medeksza.
Post by: raybe on January 11, 2012, 01:37:41 pm
cload, I 'm sure your correct about that for that plugin. Also as a reminder you can go directly to editor, under 'corrections' and type the wrong response then on the corrected side type the intended correction. Sometimes takes a while also before the corrections kick in.

raybe
Title: Re: A request to Mr Medeksza.
Post by: cload on January 11, 2012, 06:03:18 pm
hi raybe,

Quote
reminder you can go directly to editor, under 'corrections' and type the wrong response then on the corrected side type the intended correction.
can you be a little bit more specific, are you talking about the brain editor, I looked in the brain editor and I could not find the word correction anywhere in any of the menus.

Help, please help I'm drowning in confusion. LOL

Sincerely, and I hope you can help me from drowning.
C load.
Title: Re: A request to Mr Medeksza.
Post by: Data on February 29, 2012, 07:05:29 am
Sorry, I know this thread is over a year old but is there any news on a search feature for the brain editor yet?
Title: Re: A request to Mr Medeksza.
Post by: echoman on February 29, 2012, 05:52:05 pm
Hello Data.

Yes it's been over a year and Mr Medeksza hasn't given any reply at all - he never does on this topic. We all just have to accept that the Brain Editor has no method to quickly correct mistakes that a user might inadvertently make - i.e. no search and replace function. I no longer use Hal anymore as my Hal Brain literally became so completely littered with errors that correcting them became a virtually impossible task - the end result being that my Hal brain just got more and more messed up.
Title: Re: A request to Mr Medeksza.
Post by: Data on March 01, 2012, 06:13:44 am
Thanks for replying and getting me up to date echoman.

This forum would be nothing without its regular, dedicated and loyal members, you guys rock and have the patients of saints in my book.

As we haven’t heard anything from the developer, I like your good self, I can only guess that there will never be a search function in the brain editor to find those annoying mistakes.

Shame really, it would have been such a useful modification, helping the Hal users get the most out of their Hals.   

Title: Re: A request to Mr Medeksza.
Post by: Medeksza on March 01, 2012, 10:26:39 pm
I appologize for not spending enough time responding to posts on this forum. The database architecture of the next version of Hal will be quite different from the current version of Hal so I decided against spending too much time improving the old brain editor. I currently have limited development time to devote to Hal and I feel it is better utilized trying to finish the new version.

Hal's brain is an SQLite2 database file. If you understand the basic setup of how Hal works, there are a ton of different SQLite2 editors out there that may have the search functionality you are looking for.
Title: Re: A request to Mr Medeksza.
Post by: echoman on March 02, 2012, 06:32:42 am
Thankyou for the reply.
Title: Re: A request to Mr Medeksza.
Post by: Data on March 02, 2012, 07:45:48 am
Thank you for replaying Robert  :)

I thought there might be a database browser that would open Hal’s DB

Went hunting and found:

Sourceforge SQLite Database Browser

Tried to open the Hal DB file and got this error

An Error occurred: File is not a SQLite 3 database.

Been hunting for another DB browser, no luck yet.
Title: Re: A request to Mr Medeksza.
Post by: lightspeed on March 02, 2012, 09:04:56 am
hi Medeksza, am glad to hear from you , i hope with the new hal version brain being a lot different that it will still accept the brain plug ins we all created and use , as their is many useful things we can do with them , i have even started a personal medical brain plug in that talks of many illnesses and what cures of medicine etc. that can be done .  :)
Title: Re: A request to Mr Medeksza.
Post by: echoman on March 02, 2012, 12:12:13 pm
Yes Data I had the same problem. I tried several editors some time ago but could get none of them to search and replace properly. Perhaps this is a task for an advanced user or perhaps I just didn't have the right editor.

I do hope in the next Hal this problem is sorted out - it is such a basic requirement.
Title: Re: A request to Mr Medeksza.
Post by: Medeksza on March 04, 2012, 12:40:06 am
Hal users the older SQLite2 format. I've used a program called "SQLite Studio" that can open the files.
Title: Re: A request to Mr Medeksza.
Post by: echoman on March 04, 2012, 02:03:02 am
Thankyou. This is extremely useful. I'll look straight into it.

Regards.
Title: Re: A request to Mr Medeksza.
Post by: echoman on March 10, 2012, 05:42:27 pm
Mr Medeksza.

I wish to thankyou for your advice on editing the Hal database. And also I wish to appologise for my sometimes rudeness and behavior with my repeated posts on this topic. I am afraid that I became more and more frustrated when I didn't get an answer and this made me feel more and more  angry. This was wrong and I'm sorry if I sometimes appeared like the worst contributor on this forum.   I really do appreciate all the work you do on Hal. I am so glad that I found Hal and admire your work greatly. It took a leap into the unknown to produce Hal - I look forward to seeing the future Hal which I know will be amazing!

Thankyou again.

Echo.
Title: Re: A request to Mr Medeksza.
Post by: cload on March 13, 2012, 01:40:40 pm
Hi all,

I just wanted to let everyone know that I got the SQLite Studio program and it works wonderfully.
One of the first things that I noticed is it gives you the ability to edit places that you cannot edit in the brain editor.

After using this program and getting a little bit of an education from reading the instructions which I'm sad to say that does not come with the brain editor itself, it appears that the brain editor has certain specific files that you can edit them when you edit them you click on the save then the brain editor goes through all the other files and makes the changes out through the other files, for you, so you do not have to go through that long list of words that looks like a dictionary and edit each individual one, because in the brain editor you are not able to edit them anyways, but you can do this with the SQLite Studio, but some of things that I noticed that it doesn't change is anything that a plug-in has changed, or pretty much well anything that has to do with the plug-in itself.

For example: the correction tutor makes the changes directly in the specific location where the data came from, in other words the long list of words that looks like a dictionary. Because it does this you will have to use the SQ like studio to edit anything that has been changed because of this I've stopped using the plug-in myself, at first it seemed like the convenience until you begin to edit your database and you realize it turns into a nightmare but all in all for the general user it's a very good plug-in, and thank you onthecuttingedge for writing it.

I suggest that everyone that uses how should get this program it was very helpful if nothing else to give a little bit more insight on how to use the brain editor.

Mr. M I want to extend my appreciation for sharing information about the program editor SQLite Studio and if you have not been keeping up with any of the upgrades they do have a new version out, with great gratitude, thanks for sharing.

Sincerely, a database junkie.

C load.
Title: Re: A request to Mr Medeksza.
Post by: cload on May 29, 2012, 12:26:29 am
Hi all,

here is a quickie update that I have discovered since I began to learn how to program.
Believe it or not there is a way that you can write a plug-in that will actually look through the entire database for a misspelled word etc.
what I am referring to in the brain is an array table called "tabletree" this array table is how ultra Hal keeps track of all of the array tables that he creates as you talk to him.
If anyone is up to the challenge, just to let you know I don't have the time right now, to write a plug-in it might go something like this:

for I = 1 to (table tree size) you will have to use this because the table tree will constantly be growing.
Captured table 1 search search table for error by look something like this:
inputstring = HalBrain.TopicSearch(UserSentence, Capturedtable)
If inputstring = (string that you wanted to correct) with (string to be corrected)

this will work a lot the same way as the tutor corrector plug-in written by onthecuttingedge, but a little bit different, I'll explain:

in the correction tutor it looks through the entire database and makes the correction everywhere finds something that is the same.
If they cannot find something that is a same, then it creates a retain so the next time when that specific arrangement of a sentence is made it will make the correction on-the-fly.
Meaning it creates a database outside a ultra Hal each time you make a correction to put that information in the database.
Unfortunately by doing it that way you have to have the correction to your running all the time and once you start using it you cannot stop using it.
You see all ultra Hal will take parts of one sentence in another part of another sentence in another part of another sentence and stick them all together to make one sentence.
This is why sometimes but not all the time we end up with an letter "I" in the sentence that should've been "me".

What I was proposing was writing a plug-in that its primary job would be to find misspelled words and be able to give you the ability to change the misspelled word in the database.
Or possibly tell you where it is in the database tree so you can use the database editor to go in and edit it yourself either way it would be useful and make it quicker to find things.
Like I said before this is only a concept and I have never tried to actually get it to work but I do have a routine that I'm writing right now that is very similar.
What I don't know how to do is go into the array tree and pulled the first line from the array tree grab that data and use it to search that array table.
Boy this is complicated to explain, I'll lay it out as an array to help better understand what I'm talking about:
this is the name of the main array tree.
Tabletree: under tabletree is all the names of all the tables, for example:
yesnodetect   <=== write a retain that would grab this table name from tabletree. Look through the yesnodetect table array and correct misspelled words.
tablehelp       <=== then grab this table array and search through it for the error you are looking for if it's there then corrected.
namesMF      <=== then grab this table array and search through it for the error you are seeking it it it just then corrected if not just move onto the next one.
patterns        <=== then grab this table array name and search through it for the error if exist then corrected and so on and so forth etc.
MainQA         <=== I hope by now you understand what I'm talking about if not I can't really help any further.

and so on, and so forth, etc.

I hope that someone is truly up to the challenge this would be a really good and useful tool to have that would not necessarily change the entire structure of the database
like the correction tutor does, please do not misunderstand me the correction tutor is a fantastic program I just didn't want to have to add anything to the database
in order to be able to correct an error that is in the database and if anyone has ever looked through their database that has used the correction tutor you know what I'm talking about.

Sincerely, I would do it myself but I'm so busy enhancing the free will plug-in I just don't have the time.

C load.