Variables in the Ghost Perl Webserver Strong AI

$abc -- AudBuffer() transfer character

$act -- quasi-neuronal activation-level

$actbase -- discrimination activation base used as a local "my" variable in both English AudRecog() and Russian RuAudRecog().

$actnext -- holds an activation value (e.g., "8") to be imposed on the "next" character of a word being recognized in AudRecog()

$actpsi -- psi concept from which activation is to be spread

$age -- Temporary age for loop-counting.

$aud -- in the Speech() module is an associative tag leading to the typically most recent engram of a word stored in the @ear array of the auditory memory channel.

$audbase -- is the start of the @ear auditory engram of a verb that needs to have its inflectional ending changed in a VerbGen() mind-module such as RuVerbGen(). $audbase is incremented by one successive unit as long as the target word in auditory memory continues, and each character of the target word from auditory memory is sent as the value of $abc into the AudBuffer() mind-module, which left-justifies the target word before sending it to be right-justified in the OutBuffer() mind-module prior to any manipulation of the inflectional ending of the target word.

$audjuste -- NounPhrase() $motjuste $aud to Speech() module

$audnew -- holds onset-tag while rest of word comes in.

$audpsi -- concept number of word in @ear auditory memory array

$audrec -- auditory recognition concept-number

$audrun -- in the English AudRecog() module, which increments $audrun, or in the Russian RuAudRecog() module, which also increments $audrun, it is a counter of how many times the incrementing module has been called. If the $audrun count is at unitary one or below two, then the initial character at the start of a word is being processed. $audrun is reset to one in the AudInput() and FileInput() modules.

$audrv -- auditory recall-vector for Speech()

$audstop -- flag to stop Speech module after one word. The Speech module lets a CR-13 or a SPACE-32 change the audstop flag from its zero value at the start of Speech to a unitary one (1), so that audstop and "spacegap" may work together to send the final non-letter into the AudInput module.

$b01 -- buffer variable 01 in the OutBuffer() quasi-array

$b15 -- buffer variable 15 in the OutBuffer() quasi-array

$b16 -- buffer variable 16 in the OutBuffer() quasi-array for the right-justifying of an English or Russian word of up to sixteen characters in length. The buffer variable $b16 always contains the very last character in a word of any length. Since each word is right-justified in the OutBuffer(), a module like NounGen() or VerbGen() can perform tests on the contents of $b14 and $b15 and $b16 so as to detect one inflectional ending and to replace it with a different ending as necessary. In English, where a noun like "beach" or a verb like "teach" will sometimes need to have "-es" as an ending ("beaches", "teaches"), $b15 and $b16 can be used to detect the "-ch" at the end of the word, as an indicator that the "-es" ending may need to be added on.

$becon -- be-conditional -- carries a flag from the OldConcept() recognition module indicating that new input includes a verb of being which may permit the InFerence() module to make a general inference about the subject of the input so that the InFerence() module can look for prior knowledge as the basis of an inference.

$beep -- flag for Motorium() to create a beep.

$bias -- EnParser(); NewConcept(): expected part-of-speech POS

$binc -- OutBuffer() B-INCrement for a VerbGen() module. The $binc counter allows RuVerbGen() to examine and test all the right-justified characters of a Russian verb, especially the several characters of an inflectional ending which might need to be changed on the basis of grammatical number (singular or plural), person (first, second, third), or past-tense gender (male, female, neuter).

$birth -- holds the time of when the Ghost AI started running.

$c01 -- the first character of a left-justified word in the quasi-array of the AudBuffer(), where a word of input or of retrieval from memory is stored briefly in transit to the OutBuffer() where the same word is right-justified so that the inflectional endings of the word may easily be manipulated or changed by a module like NounGen() or VerbGen().

$c02 -- the second character of any word stored in AudBuffer().

$c16 -- the sixteenth character if a word of that length is stored in the quasi-array of the auditory input AudBuffer().

$chaincon -- chain-of-thought condition-flag

$char -- for use with getc (get character) in FileInput()

$cns -- (adjustable) size of "central nervous system" memory in the Ghost Perl AI

$coda -- memory recycled in ReJuvenate()

$dba -- doing-business-as noun-case or verb-person

$defact -- default activation for NounPhrase()

$dirobj -- flag indicates seeking for a direct object

$dobseq -- direct-object-subSEQuent word – is used only within the InFerence() module to hold onto the psi identifier of a noun or pronoun that was the direct object of a verb retrieved from memory as part of an inference that will require the same direct object to be associated with the verb if the inference is to be confirmed or refuted as a valid inference.

$eot -- end-of-transmission for end of input

$eureka -- something "found" in the aud-recog modules

$fyi -- (for your information) 2 = Tutorial mode; 3 = Diagnostic mode

$gencon -- status-con flag when calling VerbGen()

$hlc -- human-language code; 1=en; 2=de; 3=ru.

$i -- index for cycling through a loop or an array.

$idea -- for re-entry of AI thought back into the AI.

$inft -- – inference-time – holds the current time at the start of the InFerence() module so that the AskUser() module may ask a question based upon pre-existing knowledge before the formation of a silent inference in the AI memory.

$inhibcon -- flag for neural inhibition

$iob -- indirect-object tag for @psy concept array

$jrt -- ReJuvenate() "junior time" for memories moved

$jux -- jux(taposed) concept in @psy array, especially the word "NOT" to negate a verb.

$k -- k(knowledge) element from @psy concept array

$krt -- knowledge representation time

$len -- length, for avoiding input non-words

$mfn -- masculine-feminine-neuter gender flag.

$midway -- dynamically adjustable time-limit for searching backwards in the experiential memory of the AI

$mjact -- motjuste-activation for defaulting to 701=I

$monopsi -- for detecting single-character words in the AudRecog() module

$moot -- – as in legally moot – is a flag to prevent the formation of associative tags during mental operations which are not truly a part of cognition, such as the processing of an input query, the formation of a silent inference, or the creation of an output query.

$morphpsi -- for AudRecog() recognition of morphemes

$motjuste -- (from French) best word for inclusion in a thought

$msg -- for input as a "message" to the AI.

$mtx -- machine-translation xfer (transfer) variable for SpreadAct module to transfer an activation-swarm from a sentence in one language to the same concepts in a target language for machine translation (MT).

$node -- "split" @psy array row into nodes

$nounlock -- for a verb to lock onto a seq-noun

$nphrnum -- grammatical number of noun-phrase

$nphrpos -- "noun-phrase part-of-speech" for testing during the EnThink() process

$num -- number-flag for grammatical number.

$nxr -- "next row in array" for AudRecog() dealing with next memory row

$nxt -- number incremented for each new concept

$oldpsi -- used in OldConcept to de-globalize "psi"

$onset -- onset-tag for use as an auditory recall-vector.

$output -- output string as in JavaScript AiMind.html

$pho -- a "phoneme" or character of auditory input.

$phodex -- pho-index counter for AudBuffer()

$pos -- (part of speech) 1=adj 2=adv 3=conj 4=interj 5=noun 6=prep 7=pron 8=verb

$pov -- point-of-view: 1=self; 2=dual; 3=alien. When pov=1, the word "you" is somebody in the external word. When pov=2, the word "you" refers to the self-concept "I" in the AI. When pov=3, the word "you" is interpreted as part of a conversation by a third-party or as a word in a text, not referring to the self-concept of either the AI or of someone talking to the AI.

$prc -- provisional recognition in AudRecog()

$pre -- pre(vious) associated @psy concept.

$prednom -- predicate nominative

$prepcon -- prepositional condition-flag for parsing.

$prepgen -- urgency to generate a prepositional phrase.

$prevtag -- local pre(vious) tag for use in InStantiate(). After a noun or a verb has been instantiated, $prevtag holds its concept-number ready to be inserted as a $pre tag, if needed, during the instantiation of a succeeding concept. Thus a verb can have a $pre back to its subject, and a direct object can have a $pre back to a verb.

$prsn -- 1st, 2nd, 3rd person of verb-forms.

$psi -- variable for an element of the @psy conceptual array, with a numeric identifier serving as an mtx tag for the same concept in another language.

$psibase -- winning psibase with winning actbase

$quobj -- query object – holds onto the psi identifier of a word chosen by the InFerence() module to be the direct object of a query created by the AskUser() module.

$qusub -- query subject – is a transfer-vehicle of the subject-identifier from any module prompting a question into the specific module that will ask the question.

$quverb -- query verb – is set in the InFerence() module with the identifier of a verb concept serving as part of an inference being made about user input. Then the AskUser() module transforms the quverb identifier into the yes-or-no-verb identifier ynverb so that AskUser() can use the query-verb to ask a question expecting a yes-or-no answer.

$recnum -- recognized number of a recognized word

$rjc -- counter of rejuvenation cycles

$rv -- recall-vector for auditory memory.

$seq -- subSEQuent @psy concept in an idea.

$seqneed -- noun/pronoun or verb needed as a "seq"

$seqpsi -- concept to which activation should be spread.

$seqtkb -- subSEQuent Time-in-Knowledge-Base – is used only within the InFerence() module to latch onto the specific time-point in memory of a verb which was linked in the past to a concept now occurring within user input as a predicate nominative which identifies a class of entities from which an inference can be drawn and assigned to the subject of the user input. For instance, if the AI knows "Boys play games" and the user inputs "John is a boy," the old verb "play" can now be used to infer, "John plays games," because John is a boy.

$seqverb -- subSEQuent-concept VERB – is an interstitial carrier of a verb-identifier in the InFerence() module, permitting a verb which was used in old knowledge to be used as part of an inference of new knowledge and as part of a question seeking confirmation or refutation of an inference.

$snu -- subject-number as parameter for verb-selection.

$spt -- blank space time before start of a word

$stemgap -- for avoiding false AudRecog() stems

$subject -- subject for parser module

$subjectflag -- initial default for NounPhrase()

$subjnom -- subject nominative – is a concept identified in the OldConcept() recognition module as the subject of an input causing the AI to make an inference.

$subjnum -- (subject number) for agreement with predicate nominative

$subjpre -- subject-$pre to be held for verb in parsing.

$subjpsi -- parameter to govern person of verb-forms

$sublen -- length of AudRecog() subpsi word-stem

$subpsi -- for AudRecog() of sub-component wordstems

$svo1 -- subject -- item #1 in subject-verb-object

$svo2 -- verb -- item #2 in subject-verb-object

$svo3 -- indirect object -- item #3 in subject-verb-object

$svo4 -- direct object -- item #4 in subject-verb-object

$t -- lifetime Ghost AI experiential time "$t"

$t2s -- auditory text-to-speech index

$tai -- time of artificial intelligence diagnostics

$tdo -- time-of-direct-object for a parser module.

$tio -- time-of-indirect-object for parser module.

$tkb -- time-in-knowledge-base of an idea. For a subject-concept, the value held in $tkb is the time of the verb-concept related to the subject. The Parser() module uses the time-of-subject $tsj value to set $tkb retroactively for the subject of a verb; and uses the time-of-verb $tvb value to set $tkb retroactively for the direct object of a verb.

$topic -- @psy topic for a question to be asked

$tpp -- time-of-preposition for parsing.

$trigger -- a trigger for Volition() to call Motorium()

$tru -- tru(th) variable serving as a flag-panel tag to hold dynamically the believed reliability or truth-value of an idea.

$tsj -- time-of-subject for parsing.

$tseln -- time of selection of noun.

$tsels -- Time of SELection of Subject -- is used locally in EnNounPhrase() and in RuNounPhrase() to keep track of the experiential time $t at which a stored concept is selected as a subject, so that the $tsels can be used to revisit the engram at $tsels to change its activation-level in the course of neural inhibition.

$tselv -- time of selection of verb (for neural inhibition)

$tsn -- time of input as $seqneed time for InStantiate()

$tult -- t penultimate, or time-minus-one

$tvb -- time-of-verb for parsing

$unk -- all-putpose $unk (unknown) for troubeshooting

$vault -- size of MindBoot() sequence in time-points.

$verbcon -- verb-condition for seeking (in)direct objects.

$verblock -- for subject-noun to lock onto seq-verb

$verbpsi -- $psi concept-number of verb in the @psy array

$vphraud -- holds aud-fetch of verb-form for Speech() module

$yncon -- yes-or-no condition – is a status flag that a module like InFerence() can set to a positive one in order to trigger the calling of the AskUser() module by the English EnThink() module.

$ynverb -- yes-or-no-verb – identifier of a verb to be used in AskUser() for the asking of a question expecting a yes-or-no answer.


Join the #Perl #AI Conversation by tweeting
#AI #Perl visit
+/- your link and ask or give help in coding Perl AI.

AI Patents up for Grabs
Artificial Intelligence: Law and Policy
Mentifex asks White House Deputy Technology Chief Ed Felten to point out technology reporter
John Markoff of the New York Times at the Artificial Intelligence: Law and Policy workshop.