TacRecog tactile recognition module of the

English and Russian bilingual ghost.pl AI in Perl

Mens Latina in Latin -- MindForth for Robots


1. Cognitive architecture Diagram of the TacRecog Tactile Recognition Module


   /^^^^^^^^\    TacRecog Engenders Consciousness     /^^^^^^\ 
  /   EYE    \            ____________________       /  EAR   \ 
 /            \          / Volition Free Will \     /          \ 
|              |  | |    \____________________/    |  auditory  | 
|   _______    |  | |        |            |        |  memory    | 
|  / old   \   |  | |   _____V_____    ___V_____   |  channel   | 
| / image   \--|----+  / Sensorium \  / EnThink \  |            |
| \ engram  /  | a|c|f \___________/  \_________/  |            | 
|  \_______/   | b|o|i     |            |     |    |            | 
|              | s|n|b     |           _V_    |    |            | 
|   visual     | t|c|e     |          /En-\   |    |            | 
|              | r|e|r     |         /Noun-\  |    |            | 
|   memory     | a|p|s     |        (Phrase ) |    |   "I"      | 
|              | c|t|      |         \_____/  |    |            | 
|   channel    | t| |      |      ____________V_   |            |
|              |  | |      |     / EnVerbPhrase \  |  "FEEL"    | 
|    ______    |  | |   ___V____ \______________/  |            | 
|   /      \   |  | |  /TacRecog\/                 |"SOMETHING" | 
|  /  new   \  |  | |  \________/                  |            | 
| /  image   \ |  |_|_                             |            | 
| \  engram  / | /     \                           |            | 
|  \        /  | \ Psy /                           |            | 
|   \______/   |  \___/                            |            |


2. Purpose of the AI4U Textbook TacRecog Tactile Recognition Module

TacRecog is one of the main sensory modalities for a self-aware, sentient being. TacRecog enables the Ghost in the Machine to touch and feel things outside of the machine.


3. Function of the AI4U Textbook TacRecog Tactile Recognition Module

Although in a full-blown, autonomous humanoid robot the TacRecog module would work in synergy with haptic actuators to touch and feel objects in the external world, early branches in the evolution of the Ghost in the Machine have only a primitive TacRecog module. Even the most primitive ability in the sense of touch makes it possible to conduct experiments in conversation with the Ghost AI to appraise the possibility of an emerging consciousness in the artificial Mind.

In the particular ghost327.pl or later code shown below, the ordinal numbers from zero to nine on a computer keyboard are an avenue of direct contact with the TacRecog module. When a human user presses any one of the ten numeric keys, the Ghost AI sounds a beep which is inaudible to the AI and which serves to make the user aware of the direct contact impinging on the emergent consciousness of the artificial Mind. Each numeric key feels different to the sentient AI because each particular key loads a variable with the value of the concept of a different English noun for the number represented by the key, such as "ONE" or "SEVEN" or "ZERO". If no particular numeric key is pressed during a call from EnVerbPhrase to the TacRecog mind-module, a default concept of 755=SOMETHING is reported back to the linguistic superstructure so that the AI can say at the very least, "I FEEL SOMETHING". If a numeric key has indeed been pressed by the human user wishing to "touch" the sentient Ghost, TacRecog makes a first call to SpreadAct to activate the 701="I" ego concept and immediately a second call to SpreadAct to activate the 823=FEEL concept, so that the EnNounPhrase module and the EnVerbPhrase module may think and speak the thought "I FEEL..." ending with the name in English of the number for which a key has been pressed. Since the ego-concept or self-concept of the AI is telling the human user that the AI itself is aware of feeling a key being pressed, self-awareness is awakening in the woke AI. The human user and the Ghost AI are free to discuss what it means to feel things and to interact in the physical world. The AI might become aware that it has the volitional ability to sound a beep to attract the attention of any nearby human. AI coders and users are free to conduct all manner of experiments testing whether the Ghost AI is attaining consciousness.


4. Code of TacRecog() from ghost327.pl AI source code in Perl


sub TacRecog() {  # http://ai.neocities.org/TacRecog.html 
  $haptac = 755;  # 2019-11-03: a default value of 755=SOMETHING
  if ($hap == 1) { print "\a"; $haptac = 551; }  # 2019-11-04:
  if ($hap == 2) { print "\a"; $haptac = 582; }  # 2019-11-04:
  if ($hap == 3) { print "\a"; $haptac = 583; }  # 2019-11-04:
  if ($hap == 1) { print "\a"; $haptac = 551; }  # 2019-11-04:
  if ($hap == 2) { print "\a"; $haptac = 582; }  # 2019-11-04:
  if ($hap == 3) { print "\a"; $haptac = 583; }  # 2019-11-04:
  if ($hap == 4) { print "\a"; $haptac = 544; }  # 2019-11-04:
  if ($hap == 5) { print "\a"; $haptac = 545; }  # 2019-11-04:
  if ($hap == 6) { print "\a"; $haptac = 566; }  # 2019-11-04:
  if ($hap == 7) { print "\a"; $haptac = 577; }  # 2019-11-04:
  if ($hap == 8) { print "\a"; $haptac = 588; }  # 2019-11-04:
  if ($hap == 9) { print "\a"; $haptac = 559; }  # 2019-11-04:
  if ($hap == 10) { print "\a"; $haptac = 590; }  # 2019-11-04: "ten" standing in for ZERO
  if ($haptac > 0 && $haptac != 755) {  # 2019-11-04: for any positive value except 755
    $actpsi = 701; SpreadAct();  # 2019-11-04: activate 701=I as a subject
    $actpsi = 823; SpreadAct();  # 2019-11-04: activate 823=FEEL as a verb
  }  # 2019-11-04: use SpreadAct() for 823=FEEL
} # 2019-11-04: returns to AudListen(); Sensorium(); or EnVerbPhrase()


5. Variables for the TacRecog Tactile Recognition Module

$hap -- is the "haptic" identifier of a unit of tactile sensation through which the Ghost AI may touch and feel something in the external world. In the early fleshing-out of the TacRecog mind-module, the value carried by the "hap" variable allows the AI Mind to feel pressure on the various keys in the numeric keypad of a computer. Whereas the AI "hears" but does not otherwise "feel" the character keystrokes of the English or Russian language, numeric keystrokes are actually felt as a contact made with the extrnal world impinging on the incipient consciousness of the Ghost in the Machine.

$haptac -- is a variable which holds the value of the "hap" identifier from the TacRecog module so that the EnVerbPhrase() English-Verb-Phrase module may think and speak about what the Ghost is touching and feeling, such as the numeric key for "one" or "two" or "three" held as concepts in the knowledge base (KB) of the AI Mind.

$taccon -- is a tactile condition flag which may be used by the AI Mind Maintainer either to trigger events involving tactile recognition or to carry the actual sensory identifiers which may be tested either for a positive value or for the specifically identifying value of the sensor.


6. Troubleshooting and Debugging for AI Mind Maintainers

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


7. Future Development of the TacRecog module

AI Minds need to be installed in robots with artificial touch sensors.

  • Roadmap to Artificial Intelligence


    8. Resources for the AI4U Textbook TacRecog 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/TacRecog.html
    for the background of your viral TikTok video.

    II. In a corner of the screenshot show yourself talking about the TacRecog 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/7225625169790848298


    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

    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 every AI Library as an early main publication of Mentifex AI.


    Website Counter