AudMem Auditory Memory Module of the

English and Russian bilingual ghost.pl AI in Perl

Mens Latina in Latin -- MindForth for Robots


1. Cognitive architecture Diagram of AudMem Auditory Memory Mind-Module


   /^^^^^^^^^\ Recall Of Knowledge On Seeing A Cat /^^^^^^^^^\
  /   EYE     \ REACTIVATED                       /   EAR     \
 /             \ CONCEPTS                        /  _________  \
|   _______     |   | | |    SEMANTIC MEMORY    |  /MindBoot \  |
|  /"cat"  \!!!!|!!!|!| |                       | / English   \ |
| / image   \---|---|-+ |    __________         | \ bootstrap / |
| \ recog   /   |   |c| |   /          \        |  \"vault"  /  |
|  \_______/    |   |a| |  (  Sentence  )       |   \_______/   |
|               |   |t| |   \__________/--------|-------------\ |
| recognition   |   |s| |      |   \  ______    | AudMem short| |
| of "cat"      |  e| | |      |    \/EnVerb\   | term memory | |
| results in    |  a| | |      |    ( Phrase )  | where ideas | |
| spreading     |  t| | |   ___V__  /\______/   | are heard or| |
| activation    |   | |f|  /EnNoun\/    |       | generated,  | |
| among related |   | |i| ( Phrase )    |       | then stored | |
| concepts      |   | |s|  \______/     |       |   ________  | |
|   _______     |   | |h|      |       _V_____  |  /        \ | |
|  /new    \    |   |_|_|     _V___   /English\ | /  "cats"  \| |
| / percept \   |  /     \   / En  \  \ Verbs /-|-\  "eat"   /  |
| \ engram  /---|--\ Psy /--/ Nouns \  \_____/  |  \ "fish" /   |
|  \_______/    |   \___/   \_______/-----------|---\______/    |


2. Purpose of the AI4U Textbook AudMem Auditory Memory Mind-Module

When AudMem() starts out in the Ghost Perlmind AI, the MindBoot sequence has created a blank line in memory with

$t=2424; $ear[$t] = " ,0,0"; # 2016may23: blank space
storing an auditory engram. AudMem always needs to store a word after at least one blank space, so that AudRecog can recognize each word.

The question arises -- when the AI is steadily thinking, without human input, should AudInput be sending any phonemes "$pho" into AudMem for storage?

The recent Perlmind from ghost175.pl on has a simplified auditory memory format that does not store a continuation "ctu" flag, and so the AudRecog software must rely on one more blank phoneme beyond any stored word to detect the end of a recognizand word. It is the job of AudInput and AudMem to store that extra blank character at the end of each word.


3. Algorithm of the AI4U Textbook AudMem Auditory Memory Mind-Module

AudMem stores the incoming character $pho (for phoneme) in the first of three columns in a row in the @ear auditory memory array. The second of three spaces in the array is for any momentary activation on the auditory engram during pattern-matching for word-recognition. The third and final slot in the row of the auditory array is for holding the $audpsi concept-number for the abstract concept which the English or Russian word represents.

After storing each character coming in from AudInput in the first slot of the current-most row of the auditory memory array, AudMem sends the $pho character into the AudRecog module to report back any recognized word so that AudInput may call the OldConcept module. If no recognition of a known word comes back from AudRecog, the AudInput module automatically calls the NewConcept module to create and thus learn a new concept. This process is machine learning in its truest sense, because the machine is learning new ideas and new words to express the ideas.

The AudMem module stores the $audpsi concept-number of a recognized word in the third slot of the auditory memory array-row for the last character in the recognized word, and also for one or more characters which are not quite at the end of the word, but which may be part of an inflectional ending attached to the stem of the word, as the letter "S" may be attached to the word "book" in creating the plural form "BOOKS". These not-quite-final $audpsi tags are necessary for the AI Mind to be able to recognize word-stems in the future.


4. Code of AudMem() from the ghost273.pl AI Mind in Perl


sub AudMem() {  # http://ai.neocities.org/AudMem.html
  if ($pho eq chr(13)) { $pov = 2 }  # 2017-03-31: for sake of pause-counter
  $ear[$t] = "$pho,0,0";     # 2017-03-16: store the character in the first column;
  if ($t > $vault) {  # 2017-03-15: Engrams in vault do not need auditory recognition.
   if ($pho eq chr(13)||$pho eq chr(32)||$pho=~/[A-Z]/) {AudRecog()} #2017-12-23
    if ($pho eq "\x80"||$pho eq "\x81"||$pho eq "\x82"){AudRecog()} #2017-12-26
    if ($pho eq "\x83"||$pho eq "\x84"||$pho eq "\x85"){AudRecog()} #2017-12-26
    if ($pho eq "\xF0"||$pho eq "\x86"||$pho eq "\x87"){AudRecog()} #2017-12-26
    if ($pho eq "\x88"||$pho eq "\x89"||$pho eq "\x8A"){AudRecog()} #2017-12-26
    if ($pho eq "\x8B"||$pho eq "\x8C"||$pho eq "\x8D"){AudRecog()} #2017-12-26
    if ($pho eq "\x8E"||$pho eq "\x8F"||$pho eq "\x90"){AudRecog()} #2017-12-26
    if ($pho eq "\x91"||$pho eq "\x92"||$pho eq "\x93"){AudRecog()} #2017-12-26
    if ($pho eq "\x94"||$pho eq "\x95"||$pho eq "\x96"){AudRecog()} #2017-12-26
    if ($pho eq "\x97"||$pho eq "\x98"||$pho eq "\x99"){AudRecog()} #2017-12-26
    if ($pho eq "\x9A"||$pho eq "\x9B"||$pho eq "\x9C"){AudRecog()} #2017-12-26
    if ($pho eq "\x9D"||$pho eq "\x9E"||$pho eq "\x9F"){AudRecog()} #2017-12-26
  }  # 2017-03-15: end of test for time-point beyond MindBoot vault. 
  if ($audpsi > 0) {  # 2017-03-15: if there is a recognized audpsi
    if ($t > $vault) {  # 2017-03-15: during normal time beyond MindBoot vault...
      my @aud=split(',',$ear[($t-1)]);    # 2017-10-25: look at penultimate row
      # 2017-03-16: above line yields $aud[0] $aud[1] $aud[2]
      $ear[$t-1] = "$aud[0],$aud[1],$audpsi";  # 2017-10-20: store just prior to 32=SPACE.
      if ($aud[0] eq chr(83)) {   # 2018-09-16: if word ends in 83=S like a plural...
        my @aud=split(',',$ear[($t-2)]);  # 2018-09-16: go back one line earlier.
        # 2018-09-16: above line yields $aud[0] $aud[1] $aud[2]
        $ear[$t-2] = "$aud[0],$aud[1],$audpsi";  # 2018-09-16: store back one space.
      }  # 2018-09-16: end of test for "S" possibly indicating an inflection.
    }  # 2017-03-15: end of test for time past "vault" of MindBoot.
  }  # 2017-03-15: end of test for recognized word.
}  # 2017-03-15: AudMem() returns to AudInput().


5. Variables for the AudMem Auditory Memory Mind-Module

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

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

$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.

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

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


6. Troubleshooting and Debugging for AI Mind Maintainers

6.1.a. Symptom: (Something goes wrong.)
5.1.b. Solution: (AI Mind Maintainer devises solution.)


7. Future Development

AudMem will eventually have to work with true acoustic phonemes.

  • Roadmap to Artificial Intelligence


    8. Resources for the AI4U Textbook AudMem Module


    9. Spread the News on TikTok and Other Venues

    Are you on TikTok? Are you eager to be a ThoughtLeader and Influencer?
    Create a TikTok video in the following easy steps.

    I. Capture a screenshot of https://ai.neocities.org/AudMem
    for the background of your viral TikTok video.

    II. In a corner of the screenshot show yourself talking about the AudMem module.

    III. Upload the video to TikTok with a caption including all-important hash-tags which will force governments and corporations to evaluate your work because of FOMO -- Fear Of Missing Out:
    #AI #ИИ #brain #мозг #ArtificialIntelligence #ИскусственныйИнтеллект #consciousness #сознание #Dushka #Душка #psychology #психология #subconscious #подсознание
    #AGI #AiMind #Alexa #ChatAGI #chatbot #ChatGPT #cognition #cyborg #Eureka #evolution #FOMO #FreeWill #futurism #GOFAI #HAL #immortality #JAIC #JavaScript #linguistics #metempsychosis #Mentifex #mindmaker #mindgrid #ML #neuroscience #NLP #NLU #OpenAI #OpenCog #philosophy #robotics #Singularity #Siri #Skynet #StrongAI #transhumanism #Turing #TuringTest #volition

    A sample video is at
    https://www.tiktok.com/@sullenjoy/video/7223770181644963114


    10. AiTree of Mind-Modules for Natural Language Understanding


    Nota Bene: This webpage is subject to change without notice. Any Netizen may copy, host or monetize this webpage to earn a stream of income by means of an affiliate program where the links to Amazon or other booksellers have code embedded which generates a payment to the person whose link brings a paying customer to the website of the bookseller.

    This page was created by an independent scholar in artificial intelligence who created the following True AI Minds with sentience and with limited consciousness.

  • http://ai.neocities.org/mindforth.txt -- MindForth Robot AI in English.

  • http://ai.neocities.org/DeKi.txt -- Forth Robot AI in German.

  • http://ai.neocities.org/perlmind.txt -- ghost.pl Robot AI thinks in English and in Russian.

  • http://ai.neocities.org/Ghost.html -- JavaScript Robot AI Mind thinks in English.

  • http://ai.neocities.org/mens.html -- JavaScript Robot AI Mind thinks in Latin.

  • http://ai.neocities.org/Dushka.html -- JavaScript Robot AI Mind thinks in Russian.

    The following books describe the free, open-source True AI Minds.

    AI4U -- https://www.iuniverse.com/BookStore/BookDetails/137162-AI4U

    AI4U (paperback) -- http://www.amazon.com/dp/0595259227

    AI4U (hardbound) -- http://www.amazon.com/dp/0595654371

    The Art of the Meme (Kindle eBook) -- http://www.amazon.com/dp/B007ZI66FS

    Artificial Intelligence in Ancient Latin (paperback) -- https://www.amazon.com/dp/B08NRQ3HVW

    Artificial Intelligence in Ancient Latin (Kindle eBook) -- https://www.amazon.com/dp/B08NGMK3PN

  • https://redditfavorites.com/products/artificial-intelligence-in-ancient-latin

    Artificial Intelligence in German (Kindle eBook) -- http://www.amazon.com/dp/B00GX2B8F0

    InFerence at Amazon USA (Kindle eBook) -- http://www.amazon.com/dp/B00FKJY1WY

    563 Mentifex Autograph Postcards were mailed in 2022 primarily to autograph collector customers at used bookstores to press the issue of whether or not the Mentifex oeuvre and therefore the autograph is valuable. These artwork-postcards with collectible stamps may be bought and sold at various on-line venues.

  • https://www.ebay.com
  • https://galaxycon.com/search?q=Mentifex

    See AI 101 AI 102 AI 103 year-long community college course curriculum for AI in English.
    See Classics Course in Latin AI for Community Colleges or Universities.
    See College Course in Russian AI for Community Colleges or Universities.
    Collect one signed Mentifex Autograph Postcard from 563 in circulation.
    See Attn: Autograph Collectors about collecting Mentifex Autograph Postcards.

    Return to top; or to
    Image of AI4U found at a book store
    The collectible AI4U book belongs in your AI Library as an early main publication of Mentifex AI.


    Website Counter