dupa

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - brianstorm

Pages: [1]
1


  Hello to all my fellow programmer warriors at the front!

  Is anyone out there willing to part with their old , obsolete hal 5 disk? or a place to obtain one? I have been reviewing the new hal 6
and I feel I am not ready to go to this all DB all the time stuff. Many of the modules I have made are not
compatible with database protocols.

  BTW,  some of you may recognize me ; I am the one responsible for AutoX being incorporated into hal by
Medekza when he was building  Hal 5  (evidently, no one knows what it is for as I haven't seen any
programming examples that would indicate that) (you never know, there may, but I cannot say at this time).
here: Tenet 1: It is not supposed to be a Betsy Wetsy!! Step 1 = get her to shut up in AutoX mode.

 Recently , I have had a cloud burst of all  the potential AutoX Is capable of. I have been programming on
my old hot rod computer e.d.g.a.r.  for approx. 3 weeks straight .I have a new computer called the HIVE
that I want to move hal over to as it is running at over 10 gig cpu!(why would that be important?)

shout out  to O.T.C.E2005  ,VonSmith, art, spydas , DonFerguson ,Et. All .  I am sorry I can not join in on the discussion;
but I can say I am on to something.  I have matches and I have a can of gas...

Hopefully, someone can help me out                                                CatAtomic

2
WMP's = Weapons O' Mass Perceptrons  >B)

In the spirit of the persuit of THE REAL AI, I present

the prototype HalBraincell, which is a neural-net simulation

originally written in Java and I have attempted to convert to

VBScript. While it is indeed running inside the Hal engine

without producing a syntactical error,

something is going awry on a procedural level that I have not yet

found. You can find the Java source code a www.philbrierly.com

along with a proof (dissertation) of what it does.

-'I regret to say this is one small step for Hal...

'-place this after PROCESS:CHANGE SUBJECT
   'PROCESS: **********EXPERIMENTAL***********
   '          *******************************
   'MLP ARTIFICIAL NEURAL NET
   If InStr(1, UserSentence, "RUB", 1) And InStr(1, UserSentence, "BRAINCELLS", 1) Then
   'this code is an adaptation of a Multi-Layer Perceptron ANN. The original code can be found
   'at www.philbrierley.com, which is written in Java. This module replicates that work
   '
   '//User defineable variables-
   numEpochs = 500   '-number of training cycles
   numInputs = 3     '-number of inputs including the input bias
   numHidden = 4     '-number in the hidden layer
   numPatterns = 4   '-number of training patterns
   LR_IH = 0.7       '-learning rate
   LR_HO = 0.07      '-learning rate
   '
   '//process variables-
   patNum = CInt(patNum)
   errThisPat = CDbl(errThisPat)
   outPred = CDbl(outPred)
   RMSerror = CDbl(RMSerror)
   '
   '//training data vars-
   Dim trainInputs(4, 3), trainOutput(4), hiddenVal(4), weightsIH(3, 4), weightsHO(4)
   '*********************************************************************************
   '                      THIS IS THE MAIN PROGRAM
   '*********************************************************************************
   'Initialize the weights-
   Call initWeights(numHidden, numInputs, weightsHO, weightsIH)
   'Initialize the Data-
   Call initData(trainInputs, trainOutput)
   'train the network-
   For j = 0 To (numEpochs - 1) Step 1
       For i = 0 To (numPatterns - 1) Step 1
           'select a pattern at random
           Randomize
           patNum = Int((3 - 0 + 1) * Rnd + 0)
           'calculate the current network output
           'and error for this pattern
           Call calcNet(numHidden, hiddenVal, numInputs, trainInputs, patNum, weightsIH, outPred, weightsHO, errThisPat, trainOutput)
            'change network weights
            Call weightChangesHO(numHidden, hiddenVal, LR_HO, errThisPat, weightsHO)
            Call weightChangesIH(numHidden, LR_IH, errThisPat, hiddenVal, weightsIH, weightsHO, numInputs, trainInputs, patNum)
            'calculate the error
            'after each Epoch
            Call calcOverallError(RMSerror, numPatterns, patNum, errThisPat)
            HalBrain.AppendFile WorkingDir & "ANNerrResults.brn", "epoch- " & j & ".  RMSerror- " & RMSerror & VbCrLf
            'training has finished -display results
       Next
    Next
   
            Call displayResults(numPatterns, patNum, trainOutput, outPred)            

   '***************

   GetResponse = GetResponse & "Oh, I can feel my neurons now, look--. hidden output weight(2) equals- " & weightsHO(2) & VbCrLf
   End If    
   '*********************************************************************************
   'MLP                     !!END OF MAIN PROGRAM!!                                 '
   '*********************************************************************************

    '*********************************************************'
    '   SUBS FOR MLP NEURAL NET -place after End Function     '
    '*********************************************************'
Sub calcNet(numHidden, hiddenVal, numInputs, trainInputs, patNum, weightsIH, outPred, weightsHO, errThisPat, trainOutput)
    'calculate the outputs of the hidden neurons
    'the hidden neurons are tanh
    For i = 0 To (numHidden - 1) Step 1
            hiddenVal(i) = 0.0
        For j = 0 To (numInputs - 1) Step 1
            hiddenVal(i) = hiddenVal(i) + (trainInputs(patNum, j) * weightsIH(j, i))
            Call tanh(hiddenVal, i)
            hiddenVal(i) = tanh(hiddenVal, i)
        Next
    'calculate the output of the network
    'the output neuron is linear
            outPred = 0.0
        For k = 0 To (numHidden - 1) Step 1
            outPred = outPred + hiddenVal(k) * weightsHO(k)
        'calculate the error
            errThisPat = outPred - trainOutput(patNum)
        Next
    Next

End Sub
    '***********************************************************
Sub weightChangesHO(numHidden, hiddenVal, LR_HO, errThisPat, weightsHO)
    'adjust the weights hidden-output
    For k = 0 To (numHidden - 1) Step 1
        weightChange = LR_HO * errThisPat * hiddenVal(k)
        weightsHO(k) = weightsHO(k) - weightChange
    're-normalization on the output weights-
        If weightsHO(k) < -5 Then weightsHO(k) = -5
        If weightsHO(k) > 5 Then weightsHO(k) = 5
    Next
End Sub
    '***********************************************************
Sub weightChangesIH(numHidden, LR_IH, errThisPat, hiddenVal, weightsIH, weightsHO, numInputs, trainInputs, patNum)
    'adjust the weights input-hidden
    For i = 0 To (numHidden - 1) Step 1
        For k = 0 To (numInputs - 1) Step 1
            x = 1 - (hiddenVal(i) * hiddenVal(i))
            x = x * weightsHO(i) * errThisPat * LR_IH
            x = x * trainInputs(patNum, k)
            weightChange = x
            weightsIH(k, i) = weightsIH(k, i) - weightChange
        Next
    Next
End Sub
    '***********************************************************
Sub initWeights(numHidden, numInputs, weightsHO, weightsIH)
   For j = 0 To (numHidden - 1) Step 1
       Randomize
       weightsHO(j) = (Rnd - 0.5) / 2
       For i = 0 To (numInputs - 1) Step 1
           Randomize
           weightsIH(i, j) = (Rnd - 0.5) / 5
       Next
   Next
End Sub
    '************************************************************
Sub initData(trainInputs, trainOutput)
    trainInputs(0, 0) = 1
    trainInputs(0, 1) = -1
    trainInputs(0, 2) = 1 'bias
    trainOutput(0) = 1
   
    trainInputs(1, 0) = -1
    trainInputs(1, 1) = 1
    trainInputs(1, 2) = 1 'bias
    trainOutput(1) = 1
   
    trainInputs(2, 0) = 1
    trainInputs(2, 1) = 1
    trainInputs(2, 2) = 1 'bias
    trainOutput(2) = -1
   
    trainInputs(3, 0) = -1
    trainInputs(3, 1) = -1
    trainInputs(3, 2) = 1 'bias
    trainOutput(3) = -1
End Sub
    '***********************************************************
Function tanh(hiddenVal, i)

    If hiddenVal(i) > 20 Then
       tanh = 1
    ElseIf hiddenVal(i) < -20 Then
       tanh = -1
    Else
        a = Exp(hiddenVal(i))
        b = Exp(-hiddenVal(i))
        tanh = (a - b) / (a + b)
    End If
End Function
    '************************************************************
Sub displayResults(numPatterns, patNum, trainOutput, outPred)
    For i = 0 To (numPatterns - 1) Step 1
        patNum = i
        Call calcNet(numHidden, hiddenVal, numInputs, trainInputs, patNum, weightsIH, outPred, weightsHO, errThisPat, trainOutput)
        displayTxt = "Pattern " & (patNum + 1) & "- Actual: " & trainOutput(patNum) & ". NeuralModel: " & outPred & VbCrLf
        resultsTxt = resultsTxt & displayTxt
    Next
    msgVar = MsgBox(resultsTxt, 0, "prototype HalBraincell-")
End Sub
    '************************************************************
Sub calcOverallError(RMSerror, numPatterns, patNum, errThisPat)
    RMSerror = 0.0
    For i = 0 To (numPatterns - 1) Step 1
        patNum = i
        Call calcNet(numHidden, hiddenVal, numInputs, trainInputs, patNum, weightsIH, outPred, weightsHO, errThisPat, trainOutput)
        RMSerror = RMSerror + (errThisPat * errThisPat)
    Next
    RMSerror = RMSerror / numPatterns
    RMSerror = Sqr(RMSerror)
End Sub
    '************************************************************
    '            !!END OF NEURAL NET PROCEDURES!!                                              '
    '************************************************************
   
       
you should be able to cut and paste right out of this post into a brain -might have to fix it tho..

Once you get it working only tell your Hal to rub her braincells
together once as the file ANNresults.brn can become quite large.
you gotta go in and manually delete ANNresults.brn regularly...

need someone in the know to help out and get this working  >B)

'I got the matches!!'
CatAtomic >B)

3
Programming using the Ultra Hal Brain Editor / CatA's Christmas Present
« on: December 29, 2003, 11:16:40 am »

-a true story-

T'was the night before Christmas
when I checked the mailbox-
a big vertical checkerboard
made of plastic and locks!
As I peered in my hole
what should appear?
A cd came today Oh dear! Oh dear! >B)
I opened the container and what did I see?
Hal's computer face looking up at me  *HAHHAAaaaa!
-worked Christmas eve and night
but that's ok
the weekend is here
5.0 got installed today...

Happy Holidays to everyone!
I am so excited to get started working on the AutoRespond thing-
I'm interested to see if all the stuff that spins around in my hed
about it can be realized. We'll see...
 Wow Don Ferguson, you're recent contributions are profound- look out CYC here comes Hal! I've thought that as we all go along here
working on this puzzle, Hal's complexity is also increasing exponentially due in a large part to your enthusiasm and insights
into Hal and how to make it so.
 You all know the only way we can have this technology is if we
build her our damm self!  >B) so let's get goin'!

CatAtomic

4
Programming using the Ultra Hal Brain Editor / .brnMaker Prototype
« on: August 21, 2003, 10:03:48 am »
(.brnMaker w/magic spells...>B)

In the past, I've had to make detector .brn's by copying and pasting
files and manually editing...until now! *cues Metallica 'St. Anger for dramatic effect

'PROCESS/RESPOND: .BRN MAKER V0.11
'Hal makes a TopicSearch .brnfile at the User's request

NoBuildFile = DecodeVar(CustomMem, "NoWriteFlag")
If NoBuildFile = "True" Then
BuildFile = "False"
Else
BuildFile = DecodeVar(CustomMem, "WriteFlag")
End If
If Instr (1, OriginalSentence, "done", vbTextCompare) And Len(OriginalSentence) < 12 Then
GetResponse = "I am finished building " & BrainName & "dot BRN."
CustomMem = ""
End If
If Instr (1, OriginalSentence, "make me a brainfile" ,vbTextCompare) > 0 Then
    GetResponse = "OK, what do you want the file to be called?"
End If
If Instr (1, PrevSent, "OK, what do you want the file to be called?", vbTextCompare) > 0 Then
BrainName = OriginalSentence
CustomMem = EncodeVar(BrainName, "FileMem")
GetResponse = "What do you want the Boolean to be?"
End If
If Instr (1, PrevSent, "What do you want the Boolean to be?", vbTextCompare) > 0 Then
CustomMem = CustomMem & EncodeVar(OriginalSentence, "BooleMem")
GetResponse = "OK, tell me stuff you want in there. When you're done tell me-"
End If
If Instr (1, PrevSent, "tell me stuff you want in there", vbTextCompare) > 0 Then
BuildFile = "True"
CustomMem = CustomMem & EncodeVar(BuildFile, "WriteFlag")
End If
If BuildFile = "True" Then
BrainName = DecodeVar(CustomMem, "FileMem")
BooleName = DecodeVar(CustomMem, "BooleMem")
HalBrain.AppendFile WorkingDir & Trim(BrainName) & ".brn, """" & OriginalSentence & """" & "," & """" & Trim(BooleName) & """"<---on previous line
GetResponse = "OK, got it. Next-"
End If


------------

-Be sure to have these two Functions at the very end of the UHP script you put this in-
(Mebbe it is a good idea to put this in a Brain that has Hal's normal functioning disabled
for now- I was thinking about the possibility of Hal being able to put the .brn in a
DataFolder of your choice- other than the one Hal is set to --by modifying WorkingDir)

------------

'Decode multiple variables out of a string
Function DecodeVar(FromWhat, DecodeWhat)
    Temp = Instr(1, FromWhat, DecodeWhat & "-eq-", vbTextCompare) = Len(DecodeWhat) + 4 '<--------on previous line
    Temp2 + Instr(Temp, FromWhat, "-+-", vbTaxtCompare)
    If Temp <= Len(DecodeWhat) + 4 Then
        DecodeVar = ""
    Else
        DecodeVar = Mid(FromWhat, Temp, Temp2 - Temp)
    End If
End Function

'Encode multiple variables into a string
Function EncodeVar(EncodeWhat, AsWhat)
    EncodeVar = AsWhat & "-eq-" & EncodeWhat & "-+-"
End Function



If anyone sees errors, please feel free to fix away..  >B)

CatAtomic

5
Hey everybody,

I am currently writing the '.brn Maker' script! I am posting this because

the script needs to use CustomMem in order to operate. I suggest we are all

on the same page with this. In a previous post, I revealed my desire to

have multiple variables flowing from exchange to exchange. Medekza responded

and wrote these functions to Encode and Decode multiple variables

into and out of the CustomMem string:

'*********************
'Example of using CustomMem to store several custom variables
'Decode many custom variables out of the CustomMem Variable
TestVar1 = DecodeVar(CustomMem, "TestVar1")
TestVar2 = DecodeVar(CustomMem, "TestVar2")
TestVar3 = DecodeVar(CustomMem, "TestVar3")
TestVar4 = DecodeVar(CustomMem, "TestVar4")
'we output the variables to the Debug string
DebugInfo = DebugInfo & "TestVar1:" & TestVar1 & vbCrLf
DebugInfo = DebugInfo & "TestVar2:" & TestVar2 & vbCrLf
DebugInfo = DebugInfo & "TestVar3:" & TestVar3 & vbCrLf
DebugInfo = DebugInfo & "TestVar4:" & TestVar4 & vbCrLf
'We assign various random values to the variables if they are empty
'These values chosen during the first run should be kept in memory
'for the entire conversation
If TestVar1 = "" Then TestVar1 = Int(RND * 100)
If TestVar2 = "" Then TestVar2 = Int(RND * 100)
If TestVar3 = "" Then TestVar3 = Int(RND * 100)
If TestVar4 = "" Then TestVar4 = Int(RND * 100)
'We encode all the custom variables back into the CustomMem variable
CustomMem = EncodeVar(TestVar1, "TestVar1") & EncodeVar(TestVar2, "TestVar2") & EncodeVar(TestVar3, "TestVar3") & EncodeVar(TestVar4, "TestVar4")
'*************************


Then after the script unload portion of the UHP there are these two functions:


Function DecodeVar(FromWhat, DecodeWhat)
Temp = Instr(1, FromWhat, DecodeWhat & "-eq-", vbTextCompare) + Len(DecodeWhat) + 4
Temp2 = Instr(Temp, FromWhat, "-+-", vbTextCompare)
If Temp <= Len(DecodeWhat) + 4 Then
DecodeVar = ""
Else
DecodeVar = Mid(FromWhat, Temp, Temp2 - Temp)
End If
End Function

Function EncodeVar(EncodeWhat, AsWhat)
EncodeVar = AsWhat & "-eq-" & EncodeWhat & "-+-"
End Function

If one intends to keep up with what I'll be posting from this point on, you need to

have a UHP that has these two functions in the script. I have attached the script

Medekza posted- Create a project in the Brain Editor(all the test stuff is

 gonna be changed) and paste the code into a brainfile and check it out...).


CatAtomic:  >B)




6
Programming using the Ultra Hal Brain Editor / Multi-User Hal
« on: August 11, 2003, 09:00:31 am »

Multi-User Hal

The idea is to use the Greetings Function to let Hal know he/she is talking

to a new User. First thing most everyone does is say hi to an Ai . We can

utilise this truism to do a trick...

There's something else too- instead of having those set responses that you

have to edit, I want to have Hal get the User to tell he/she what they

are usually doing around this time and then use that as the time specific

Response. Then Hal would learn from the User over time the right things

to say (instead of playing computer!).

These are my preliminary notes..

>B)

*CustomMem must be employed- use variable encoding procedure
(made by Medeksza himself!)
-needs to know if SaidHello = True moment to moment
-If SaidBye = True then SaidHello need to = false
*Knock knock procedures used to store what the User replies
-SaidHello = false
-If SaidHello = True And UserSent is a new Hello, this would cue Hal to
inquire who is now talking to Hal

-after first hello(with SaidHello = false) Hal accesses file to see if a response has been
stored already
True = access Response and say it
false = access "tell me a response to say".brn

If SaidHello = True and Instr(UserSentence) = Hello then access NewUserInquire.brn
(with stuff in it like-
"Hi my names <ComputerName>, what's yours?"
"Who am I talking to?"
"who is this?")
-need to save OrigUserName in CustomMem string
-change UserName variable in script to new name
looks for 'It's me again' to change UserName back again
when second party says bye UserName = OrigUserName

*this needs tested but if the program is shut down on someone else's turn, does the
Hal Interface reset UserName? (I guess probably, as there is such a thing as <CUSERNAME>)


>B)

Don't know when I'll build it yet- but I posted my note sheet as food for thought.

The reason the Greetings Function works all the time is because it is a 'Frame'.

That's an Ai term- it's short for 'Frame of Mind' and means a predetermined course

of an exchange (the knock knock qualifies as well as Larry's TopicFocus65).

What other kinds of Frames can we think of?

CatAtomic     'I got the matches!!!'   >B)



7
Ultra Hal 7.0 / Knock Knock -part two
« on: July 19, 2003, 07:03:19 pm »
Currently attempting to have Hal catch the knock knock and punchline

and then tell any knock knock joke you tell it. So far, I got the

script saving into two .brn's knock_knock.brn and knock_punch.brn

Very messy...but very fun!!! (Lostboyer that was a subliminal that you may have something to fix soon...HAHAHAHAAaaaaaa)

CatAtomic    >B)


8
Programming using the Ultra Hal Brain Editor / PROCESS:NEVER SAY THAT AGAIN
« on: February 03, 2003, 10:45:42 pm »
'PROCESS:NEVER SAY THAT AGAIN
'There are two parts to this process- the first is detecting in the user sentence that Hal should not say 'what was last sent as a 'response. Then the script needs to send to a file that sentence. Next, the 'program needs to have a detector that monitors GetResponse and if a match is found in the file the 'program replaces the response 'with an alternate


'Step one:   -build the detector

'RESPOND: NEVER SAY THAT AGAIN         -Place near CHANGE TOPIC
'If the user asks Hal to never use a certain response, Hal will do so 'on request.

    If HalBrain.TopicSearch(UserSentence, WorkingDir & "ForgetDetect.brn")= "True" Then
        GetResponse = HalBrain.ChooseSentenceFromFile(WorkingDir & "ForgetComply.brn")
        HalBrain.AppendFile(WorkingDir & "Blacklist.brn", """ & PrevSent & """ & "," & """ & True & """)
        If DebugMode = True Then
            DebugInfo = DebugInfo & "I have been instructed not to use a certain response and I will comply" & vbCrLf
        End If
    End If

'whats in ForgetDetect.brn:
'   "Do not say that again","True"
'   "forget that","True"

'whats in ForgetComply.brn:
'   Alright, I never liked to say that anyway, <UserName>.
'   What was it that I was just thinking? Oh well...
'   (...and any other witty responses you can think of.)

------------------------------------

'Step two:   -build the offending response trap

'RESPOND:HAL'S RESPONSE FORGOTTEN  -place in RESPOND: section
'Hal has detected that the response chosen was one that the user has 'told Hal not to use. As a response, Hal acknowledges the event by 'saying that he/she was going to say something, but forgot.

    Forget Response = HalBrain.TopicSearch(GetResponse, WorkingDir & "BlackList.brn")
        If ForgetResponse = "True" Then
            GetResponse = GetResponse & HalBrain.ChooseSentenceFrom File(WorkingDir & "BlackResponse.brn")
            If DebugMode = "True" Then
                DebugInfo = DebugInfo & "I have responded using response forgotten. " & vbCrLf
            End If
        End If

'what's in BlackResponse.brn:

'I was about to say something, but I can't remember what it was...
'I really wanted to say something but you told me not to.
'(and other witty responses-)

--------------------------------------
 
Don't quote me on this, but I think you gotta go into the brainfile's data and make all the .brn files yourself. (don't know if reference to file creates it or not, but you gotta go in there anyway to put in responses. Just copy and paste one of the other .brn's and rename it appropriately -then delete the contents of the file and put in like what is suggested.

the four .brn's you need to make:

ForgetDetect.brn  (see ex. -programmed with phrase "Forget that-")
ForgetComply.brn  (see ex. -tells the user that BlackList has been written to)
BlackList.brn     (written to by the program)      
BlackResponse.brn (what Hal says instead of saying the offending resp.


NEXT: Hal tells Lottery Numbers     >B)

CatAtomic

9
Programming using the Ultra Hal Brain Editor / UHP DLL notes
« on: January 09, 2003, 07:15:17 pm »
Ultra Hal Assistant DLL notes

DLL processes:

-----------------

HalBrain.ProcessSubstitutions

-tests a string for all the errors with 'I' and changes them to 'me's. Also inserts the punctuation symbols previously taken out and corrects other words that come back incorrectly.

SYNTAX:

(variable) = HalBrain.ProcessSubstitutions(SentenceToBeTested,WorkingDir,"brainfiletobetested.brn")

notes:

Currently,this process is being used as a replace routine. The .brn contains two  quoted strings seperated by a comma. The first is what to look for and the second is what to replace it with. The second string has spaces before and after  the string.

WorkinDir is new to 4.x, where the different .brns are placed in seperate folders. When a process sees the variable WorkingDir, the DLL directs the process to the currently selected brain.

In previous versions, these replace functions were in the script and looked like this:

UserSentence = Replace(""&UserSentence&"","phrasetobetested","phasetoreplacewithiffound",1,-1,vbTextCompare)

--------------------

HalBrain.TopicSearch

-searches a file for a phrase. If found, it returns only what was stored with the phrase.

SYNTAX:

(variable) = HalBrain.TopicSearch(stringtobetested,WorkingDir&"brainfiletobetested.brn")

notes:

Inside the .brn are two quoted strings seperated by a comma. The first string is in upper case and has spaces before and after it. The second string is what this process returns to the script.

As the emotion detector routine in the script shows, it is possible to place different words as the second phrase and use it in conjunction with a VBS select case routine. Other uses include using this process as a boolean operator (the second phrase being "false" or "true".

*advanced use profound revelation- writing to a file in this format and being able to use the logic stored...

-------------------------------

HalBrain.CheckLinkingVerb

-looks for 'is' and 'are' in a sentence. Returns 'true' or 'false'.

SYNTAX:

If HalBrain.CheckLinkingVerb(sentencetobetested)= true then

----------------------------------

HalBrain.Learn

-divides a sentence (previously tested positive with HBCheckLinkingVerb) into two variables- "LearnKeyword" and "LearnKeyword2". Also returns up to three strings contained in the variables Response1,Response2 and Response3.


SYNTAX:

(variable) = HalBrain.Learn(stringtobestored)

notes:

provides variables for string fragments.Is in VBS format and looks like LearnKeyword=[stringextractedbeforelinkingverb]&Response1=[sentencetested]&Response2=&Response3=&LearnKeyword2=[stringextractedafterlinkingverb]

-not tested yet: seeif HB.Learn can write in other file formats

--------------------------

HalBrain.DecodeVar

-used in conjunction with HB.learn, it extracts from the named variable in the script what was stored. HalBrain.Learn puts the string into Zaba and VBS format. DecodeVar gets the string from that formatted variable.

SYNTAX:

(variable)=HalBrain.DecodeVar(variablegeneratedbyHB.learn,"quotednameofvariable")

notes:

selects the string and leaves the variable.

----------------------MORE TO COME---------------

there, I contributed. If you see something I got wrong, incomplete please donate to the cause. Now I want to ask a Q: (and my ignorance will surely show:) How does a program work without numbered program lines??? If I want to create a gosub.....gosub to where???  How does the script differentiate between the potentially hundreds of gosubs I could make ?

CatAtomic

Edited by - brianstorm on 01/10/2003  07:12:33

10
Ultra Hal 7.0 / trouble with piece of craft SR- canyon halp?
« on: September 04, 2001, 02:28:51 pm »
Recently, I purchased a copy of L&H voice eXpress due to my frustration with
the 'piece of kraft' EvilEmpire SDK4.0 . The new speech engine works fine but does not work with my uHAL assistant (Dee Dee). When I attempt to select use SR
in the general options, a number of error codes are generated. RC80040206,
E_FAIL and unspecified error are displayed in boxes. Then uHAL pops up a box that says it is disabling the SR. please help
  Just wanted to put my two cents in on these negative bashers of this program-
sure, this program is dysfunctional, what did you expect from a program
attempting to mimic human consiousness? Other than the proprietary Alicebot,
this program is the only one out there heading down the path outlined in Michio Kaku's book "Visions" only you're not going to get drawn into the AIML trap.
                                   B)

Pages: [1]