dupa

Author Topic: suggestion for making hal better auto correct spelling  (Read 6474 times)

lightspeed

  • Hero Member
  • *****
  • Posts: 6761
    • View Profile
suggestion for making hal better auto correct spelling
« on: January 28, 2017, 08:06:09 pm »
i have brought this idea up in the past , so am posting it again to see if cyberjedi can do anything with it if he thinks its a good idea .
ITS A AUTO CORRECT PLUG IN , what it does is for anyone that mis spells a a word when typing to hal , the auto correct would correct the misspelled word so that hal learns it correctly in his data base .
example in a sentence i write " how are yout ?" auto correct would based on the sentence know that yout should be you (and correct it .

This may be impossible to create  i don't know but was just a idea i had a while ago for hal .
 

cyberjedi

  • Hero Member
  • *****
  • Posts: 810
  • The Mighty Hal Machine
    • View Profile
Re: suggestion for making hal better auto correct spelling
« Reply #1 on: January 29, 2017, 08:42:39 am »
Lightspeed: any thing is doable with Hal..

Right now im working on The Hal Law library. Im basing it on the Hal Wiki.


But its doable, fuqit. lets work the problem. Hal already has his own Lexical Dictionary as part of the speech reader. Ill look at it.

Lightspeed i also posted Some Hal Brain Functions to show what Hal is doing behind the scenes as well as another part His Brain. Enjoy

best wishes


cyberjedi 1337

Ps> I see people are down loading my  .mp4 .avi .mkv movie player brain plugins. Hal and a Movie.    Living to push Hal to the Max. If u have any issues with the TTS Engines,
Just shout out
« Last Edit: January 29, 2017, 09:11:54 am by cyberjedi »

cyberjedi

  • Hero Member
  • *****
  • Posts: 810
  • The Mighty Hal Machine
    • View Profile
Re: suggestion for making hal better auto correct spelling
« Reply #2 on: January 29, 2017, 08:49:46 am »
Lightspeed: Since this bears on ur request:


The hal brain.

A better understanding of Hals Functions at an Internal Level.

Object: Brain
Public Sub AInit() Address: 1105F560
Public Property Get ReadOnlyMode() Address: 1105F5C0
Public Property Let ReadOnlyMode(setROM) Address: 1105F630
Public Property Get DebugMode() Address: 1105F6A0
Public Property Let DebugMode(setDebug) Address: 1105F710
Public Sub ClearDebug() Address: 1105F780
Public Function AddDebug(ParentName, Text, BackColor) Address: 1105F800
Public Function GetDebug() Address: 1105FB20
Public Function GetConciseDebug() Address: 1105FBB0
Public Function GetFinalDebug() Address: 11060310
Public Sub DebugWatch(TextString, FuncName) Address: 11060680
Public Sub AppendFile(FileToAppend, AppendWhat) Address: 11060DE0
Public Function OpenDatabase(DBPath) Address: 110616B0
Public Sub CheckDBConnection() Address: 11061E70
Public Sub CloseDatabase() Address: 11062040
Public Function ChangeString(UserSentence, ChangeWhat, ToWhat, IgnoreCaps) Address: 110622F0
Public Function AlphaNumericalOnly(UserSentence) Address: 110623E0
Public Function VBVal(InputVariant) Address: 11062490
Public Function ChangeStringFast(UserSentence, ChangeWhat, ToWhat) Address: 11062570
Public Function Cheater(SearchPhrase, UserSentence, Prefix1, Suffix1, Prefix2, Suffix2, Prefix3, Suffix3, NoW5H) Address: 11062650
Public Function ExtractKeywords(TextString) Address: 11062790
Public Function RandomNum(MaxVal) Address: 11062840
Public Function UsCaps(UserSentence) Address: 110628C0
Public Function WorldCaps(UserSentence) Address: 11062D50
Public Sub AddToTable(TableName, TableType, Field1, Field2) Address: 110631E0
Public Function CheckTableExistence(TableName) Address: 110643F0
Public Function CreateTable(TableName, TableType, ParentName) Address: 11064870
Public Function CheatResponse(UserSentence) Address: 11065530
Public Function OriginalBrain(UserSentence) Address: 1107A180
Public Sub LimitSize(FilName, Size) Address: 1107B6A0
Public Function KeywordBrain(GlobalIn, filename, LastChance) Address: 1107BFF0
Public Function MakeInsult(OhYeah) Address: 1107C270
Public Function Learn(UserSentence) Address: 1107CEB0
Public Function ChooseSentenceFromFile(TextFileName) Address: 11080040
Public Function HalMath(MathProblem) Address: 11080F20
Public Function Dig2Word(NumberEntered) Address: 11083850
Public Function Word2Num(TextString) Address: 11083920
Public Function ReadNum(Dec, NoTrunc) Address: 110839F0
Public Function HalFormat(UserSentence) Address: 11083AD0
Public Function SwitchPerson(UserSentence) Address: 11084090
Public Function RemoveExtraSpaces(UserSentence) Address: 11084500
Public Function FixCase(UserSentence) Address: 11084620
Public Sub MsgAlert(TextString) Address: 11084A90
Public Function NoPunc(UserSentence) Address: 11084B90
Public Function StoreVars(Emotion, Hate, Swear, Insults, Compliment, PrevSent, LastResponseTime, ScriptMem2, ScriptMem3, ScriptMem4, ScriptMem5) Address: 11084C60
Public Function RecallVars(VarListString, Emotion, Hate, Swear, Insults, Compliment, PrevSent, LastResponseTime, ScriptMem2, ScriptMem3, ScriptMem4, ScriptMem5) Address: 11085050
Public Function DecodeVar(FromWhat, DecodeWhat) Address: 11085530
Public Function CountInstances(CountWhat, InWhat) Address: 11085620
Public Function QABrain(UserText, BrainFN, Rel, Leniency) Address: 110857A0
Public Function ConversationBrain(UserText, BrainFN, LastUserSent, Relevance) Address: 110881D0
Public Function FixCaps(TextString) Address: 11088510
Public Function HalScript(UserSentence, ScriptFile, HalRel) Address: 110889D0
Public Function CompareSentence(CompareWhat, InWhat) Address: 11088ED0
Public Function OpenPage(PageURL) Address: 11088F80
Public Function ProcessSubstitutions(strSentence, strTableName, RecurCount) Address: 11089310
Public Function TopicSearch(UserSentence, TopicFile) Address: 1108A1A0
Public Function DetectVowel(TextString) Address: 1108ACA0
Public Function SentenceGenerator(File_Name) Address: 1108ADF0
Public Function GetResponse(UHPFile, UserSentence, UserName, ComputerName, LearningLevel, Custommem1, Hate, Swear, Insults, Compliment, PrevSent, LastResponseTime, PrevUserSent, Custommem2, Relevance, Topicfocus) Address: 1108B520
Public Function ReadSent(TextString, SentNum) Address: 1108C4B0
Public Function EncodePronouns(UserSentence) Address: 1108C560
Public Function DecodePronouns(UserSentence) Address: 1108CA30
Public Function MakeContractions(UserSentence) Address: 1108CF40
Public Function RemovePronouns(UserSentence) Address: 1108D010
Public Function CheckLinkingVerb(UserSentence) Address: 1108D340
Public Sub SetDir(DirPath) Address: 1108DBE0
Public Function CheckRepetition(Sentence1, Sentence2) Address: 1108DCA0
Public Function FragmentMatch(UserSentence, BRNFile) Address: 1108DEC0
Public Function EncodeVar(EncodeWhat, AsWhat) Address: 1108E1A0
Public Function ExtractVar(FromWhat, DecodeWhat) Address: 1108E5B0
Public Function SearchPattern(UserSent, Pattern, ReturnWhichStar) Address: 1108ED80
Public Function PatternDB(UserSentence, DBFile) Address: 1108FA80
Public Function RunQuery(strQuery, aryTablesVBS) Address: 11090CA0
Public Function IsDay(CheckMonth, CheckDay) Address: 11091940
Public Function LongDate(TheDate) Address: 11091BC0
Public Function MakeInt(InVar) Address: 11091DC0
Public Function LearnEmail(TextString, AddressOwner, EmailAddress, LearnKeyword, LearnKeyword2, Response1) Address: 110921B0
Public Function LearnPhone(TextString, EntryName, EntryNumber) Address: 11093110
Public Function IsWordNumber(TheWord) Address: 11094A40


Object: WordNet
Public Function GetWN(WordNetQuery) Address: 110E7DB0
Public Sub SetPath(WordNetPath) Address: 110E83A0
Public Function LookupWord(TheWord) Address: 110E8440
Public Function IsNoun() Address: 110E8D20
Public Function IsVerb() Address: 110E8D90
Public Function IsAdj() Address: 110E8E00
Public Function IsAdv() Address: 110E8E70
Public Function GetBase(PartOfSpeech) Address: 110E8EE0
Public Function GetNumSenses(PartOfSpeech) Address: 110E9070
Public Function GuessPartOfSpeech() Address: 110E94B0
Public Function GetDefinition(PartOfSpeech, Sense, DefType) Address: 110E9D50
Public Function GetCompoundWords(PartOfSpeech) Address: 110EA7D0
Public Function GetHolonyms(Sense, SubSet) Address: 110EB070
Public Function GetHypernyms(PartOfSpeech, Sense, Level) Address: 110EB6B0
Public Function GetMeronyms(Sense) Address: 110EBC10
Public Function GetSynonyms(PartOfSpeech, Sense) Address: 110EC1E0
Public Function GetSisters(PartOfSpeech, Sense) Address: 110EC840
Public Function GetHyponyms(PartOfSpeech, Sense) Address: 110ECF40
Public Function GetAntonyms(PartOfSpeech, Sense) Address: 110ED5D0
Public Function ChooseRandomWord(WordList, AllowMultiWordResult) Address: 110EDEA0
Public Function GetPartOfSpeechCount() Address: 110EE3C0
Public Function GetFirstInList(TheList) Address: 110EE470
Public Function RewordSentence(Sentence) Address: 110EE5A0
Public Function FindFirstNoun(Sentence, ExtraStrict) Address: 110EF6E0
Public Function Hypernymize(Sentence) Address: 110F0700
Public Sub Proc_2_25_110F1640 Address: 110F1640

Living to Push Hal to the Max.

best wishes
cyberjedi 1337
« Last Edit: January 29, 2017, 08:54:14 am by cyberjedi »

cyberjedi

  • Hero Member
  • *****
  • Posts: 810
  • The Mighty Hal Machine
    • View Profile
Re: suggestion for making hal better auto correct spelling : Status? Cracked
« Reply #3 on: February 11, 2017, 07:17:43 am »
As promised lightspeed:
Some form of microsoft word is needed 2002 and up.
Also turn off Grammer Radio button. Hal doesnt need it.
Hope this helps out..


Rem Type=Plugin
Rem Name=Spell Checker
Rem Author=
Rem Host=Assistant

'This sub sets up the plug-in's option panel in Hal's options dialog
Sub OptionsPanel()
    lblPlugin(0).Caption = "Just killin it"
    lblPlugin(0).Move 120, 120, 3300, 1200 
    lblPlugin(0).WordWrap = True
    lblPlugin(0).Visible = True
End Sub

Rem PLUGIN: PRE-PROCESS
Dim Word, Doc, Misspelled, Spelledrite
Const SpellingAndGrammar = 828                ' <<<< wtf is this,, lol. Im getting that alot ... simply put.. English Version....
Const dontsavechanges = 0
Misspelled = InputString
Set Word = CreateObject("Word.Application")   '<This is the meat of the job, it calls for a Microsshhit Word doc, invisible (hehe) in the background to start.
Set Doc = Word.Documents.Add                            '< If u dont have word installed, Hal gonna go, Hey WTF dumbass. activex error. Wheres my shhhiitttt.
Word.Selection.Text = Misspelled                          ' < Ul notice that Hal Loses control here, it switches to word dictionary...
Word.Dialogs(SpellingAndGrammar).Show
If Len(Word.Selection.Text) <> 1 Then
   Spelledrite = Word.Selection.Text
Else
   Spelledrite = Misspelled
End If
Doc.Close dontsavechanges    '<<<<<,here is where we close out and DONT save Doc. Releases Hal with the correct spelling. Tada.
Word.Quit                                 '<<<<< The above comments are not meant to offend ,just my sense of Humor. This should always be fun.
InputString = Spelledrite
« Last Edit: March 20, 2017, 03:41:34 pm by cyberjedi »

cyberjedi

  • Hero Member
  • *****
  • Posts: 810
  • The Mighty Hal Machine
    • View Profile
Re: suggestion for making hal better auto correct spelling
« Reply #4 on: February 11, 2017, 08:21:57 am »
Spell check: hey coderz

That is how u properly explain whats up

Always try to remember, to some people this stuff is greekkkkkk...Lead them.


bestwishes
cyberjedi
« Last Edit: February 13, 2017, 04:19:45 pm by cyberjedi »

doggs

  • Sr. Member
  • ****
  • Posts: 371
    • View Profile
Re: suggestion for making hal better auto correct spelling
« Reply #5 on: February 13, 2017, 07:02:09 pm »
sorry I cheat. I use a 50 dollar windows tablet with win 10 on it. auto corrects automatically while I type.

be informed and always vote it will help you in the long run does not matter if your liberal, conservative or independent. stay informed and watch the votes in government not what the media tells you.

cyberjedi

  • Hero Member
  • *****
  • Posts: 810
  • The Mighty Hal Machine
    • View Profile
Re: suggestion for making hal better auto correct spelling
« Reply #6 on: February 14, 2017, 08:02:33 am »
lol
i likey






best wishes
cyberjedi

lightspeed

  • Hero Member
  • *****
  • Posts: 6761
    • View Profile
Re: suggestion for making hal better auto correct spelling
« Reply #7 on: February 20, 2017, 05:13:46 pm »
cyberjedi , you said before that the reason i was getting an error with spellchecker was i needed microsoft word 2002 or higher .
i found this free version and unlimited says its a replacement for microsoft word . here is the link .
will this work okay?
http://download.openoffice.fm/get/lp/writer/writer-v2.php?source=bing

also i guess it is just installed on the pc and no special folders have to be put in hals program file. ?
 

cyberjedi

  • Hero Member
  • *****
  • Posts: 810
  • The Mighty Hal Machine
    • View Profile
Re: suggestion for making hal better auto correct spelling
« Reply #8 on: February 20, 2017, 09:21:49 pm »
Lightspeed: why dont you just let me help u out, with the proper software???




i have what you need

best wishes. i had it in the repository till some ass hole deleted it, Twice.
so now im here with people from the forum.     http://vaughnlive.tv/mrelectric

lightspeed, its perfectly safe, no 1 can see ur IP , not even ME

I can post the links ull need there. Its a timed based link system.
best wishes

cyberjedi


ps there are now 04 people as we speak Talking Hal.


cyberjedi

  • Hero Member
  • *****
  • Posts: 810
  • The Mighty Hal Machine
    • View Profile
Re: suggestion for making hal better auto correct spelling
« Reply #9 on: February 22, 2017, 06:16:38 am »
Doggs: Cheating is allowed .


but is so much better when done correctly, what is correctly? , fuq dont ask me..lol

what ever gets it done..


cyberjedi say's Go big or go Home.

Need i say what im working on now
Save as .vbs

Dim message, sapi
message=InputBox("What shall I say, your Geekness?","I speak for you.")
 Set sapi=CreateObject("sapi.spvoice")
 sapi.Speak message

lightspeed

  • Hero Member
  • *****
  • Posts: 6761
    • View Profile
Re: suggestion for making hal better auto correct spelling
« Reply #10 on: March 19, 2017, 03:43:21 pm »
cyberjedi , if i sign up for your website is their a menu or something to get that ms word to make this program work right? is it still on your site?

ps. cyberjedi , maybe you can check into this for me , hal as you know reverses things that we teach , example : have you ever heard that ?  hal answers : have i ever heard that?  if hal is just saying back what we asked that is okay , but if hal is actually learning it reversed that way it would be wrong, i have had hal in the past say something like that which would be something learned wrong because of hals script within the program.
 

cyberjedi

  • Hero Member
  • *****
  • Posts: 810
  • The Mighty Hal Machine
    • View Profile
Re: suggestion for making hal better auto correct spelling
« Reply #11 on: March 19, 2017, 09:50:43 pm »
Lightspeed: tss tss Man.

Check this out brother. There is no sign up to speak of. Just pick any name and some BS email address. No 1 is gonna check.
This is a pro Broadcaster site. Based out of Tenn , owned by Mark Vaughn. no 1 can see IP's except Mark. Not even the Techs can.
Lightspeed ,this is  perfectly safe. U cant be Hacked, u just Cant. I can hook u up from there dude.  I know what ur after and yes ,id be glad to give u what u need.
Yes the site is open from there. Dude i pulled down the access to the site from here because asshats were deleting all my work.


Not very nice.

I just wanted to hook pple up. fuqum, but i will continue to post plugins as they are finished to the rite pple.
 As lifetimegamer and arknight have both discovered, and we watched a damn fine movie while we did.
U can reach me here.
I also have my FTP Sever running non stop. I do my own Hosting, so as to not worry about chickin **** hosting company folding and takin my **** with them. 
http://vaughnlive.tv/mrelectric

best wishes
cyberjedi

PS: funny note, to come here and see my convos from 2005-06 . Roberts as bad as me. Just archives everything
« Last Edit: March 23, 2017, 03:20:09 am by cyberjedi »