MindForth Programming Journal

Introduction


This page is a potentially incomplete accumulation of entries in the MindForth Programming Journal. With some entries, links are provided to publications of the same MFPJ entry in on-line venues which may include comments and discussion. Since some features of MindForth were developed first in JavaScript for MSIE or in Perl 5 for Windows before being incorporated into the MindForth codebase, the associated coding journals may contain pertinent information beyond the contents of this MFPJ journal. However, Web links in this carefully curated MFPJ page may be more prevalent or more up-to-date than links in some entries archived elsewhere.


2018-09-27: MindForth AI beeps to request input from any nearby human.

In MindForth we attempt now to update the AudMem and AudRecog mind-modules as we have recently done in the ghost.pl Perl AI and in the tutorial JavaScript AI for Internet Explorer. Each of the three versions of the first working artificial intelligence was having a problem in recognizing both singular and plural English noun-forms after we simplified the Strong AI by using a space stored after each word as an indicator that a word of input or of re-entry had just come to an end.

In AudMem we insert a Forth translation of the Perl code that stores the audpsi concept-number one array-row back before an "S" at the end of a word. MindForth begins to store words like "books" and "students" with a concept-number tagged to both the singular stem and to the plural word. We then clean up the AudRecog code and we fix a problem with nounlock that was interfering with answers to the query of "what do you think".

Next we implement the Imperative module to enable MindForth to sound a beep and to say to any nearby human user: "TEACH ME SOMETHING."

  • http://cyborg.blogspot.com/2018/09/mfpj0923.html
    MindForth AI beeps to request input from any nearby human.
  • http://medium.com/p/aa699894d4fc
    MindForth AI beeps to request input from any nearby human.
  • http://groups.google.com/d/msg/comp.lang.forth/a8rpKtPL9YA/01iiq4--CwAJ
    MindForth AI beeps to request input from any nearby human.


    . . .


    2019-10-05: MindForth resets associative tags before each operation of Indicative module.

    In the MindForth artificial intelligence (AI) for robots, we will now start to display an apparatus of diagnostic messages at the start of the Indicative module to tell us the values being held in variables which serve the purpose of creating associative tags to interconnect the concepts being expressed as English words during the operation of the Indicative mind-module. Since the ConJoin module will often insert a conjunction between two thoughts being generated, the AI Mind Maintainer needs assurance that variable-values operative during one thought do not erroneously get carried over past a conjunction into the separate process of generating another thought.

    Just by resetting the tsj time-of-subject variable to zero at the start of the Indicative module, we have made the Forthmind able to trigger repeated instances of logical InFerence. Each running of the Indicative module amounts to a fresh declaration of the associative tags in the conceptual flag-panel that supports the generation of ideas in the MindGrid. The following dialog still has a few problems, but it shows the repeated triggering of an inference.

    john is a student
    
    DOES  JOHN  READ  BOOKS  
    no
    
    
      Indicative: tsj= 0 tvb= 0 tdo= 0
    A  JOHN  DOES  NOT  READ  BOOKS
    
      Indicative: tsj= 0 tvb= 0 tdo= 0
    PROFESSORS  TEACH  THE  STUDENTS  AND
      Indicative: tsj= 0 tvb= 0 tdo= 0
    STUDENTS  READ  THE  BOOKS
    
      Indicative: tsj= 0 tvb= 0 tdo= 0
    I  UNDERSTAND  YOU  AND
      Indicative: tsj= 0 tvb= 0 tdo= 0
    YOU  ARE  A  MAGIC
    andru is student
    
    DOES  ANDRU  READ  THE  BOOKS  
    no
    
      Indicative: tsj= 0 tvb= 0 tdo= 0
    AN  ANDRU  DOES  NOT  READ  THE  BOOKS  AND
      Indicative: tsj= 0 tvb= 0 tdo= 0
    YOU  READ  THE  BOOKS
    
      Indicative: tsj= 0 tvb= 0 tdo= 0
    PROFESSORS  TEACH  THE  STUDENTS  AND
      Indicative: tsj= 0 tvb= 0 tdo= 0
    STUDENTS  READ  THE  BOOKS
    
      Indicative: tsj= 0 tvb= 0 tdo= 0
    STUDENTS  READ  THE  BOOKS  AND
      Indicative: tsj= 0 tvb= 0 tdo= 0
    I  THINK
    

  • http://cyborg.blogspot.com/2019/10/mfpj1005.html
    MindForth resets associative tags before each operation of Indicative module.
  • https://groups.google.com/d/msg/comp.lang.forth/7gUrhuaL9gc/j0zMg_3CBQAJ
    MindForth resets associative tags before each operation of Indicative module.


    2019-10-28: Correcting a bug in the InStantiate module.

    Something is putting activation on the object of a preposition, but what is it? It is coming from the actpsi area of SpreadAct. The InStantiate module was assigning each noun to the actpsi flag. When we comment out the assigning line, the AI stops making a faulty output of "MACHINE AM".


    2019-10-29: Correcting a bug in the MindBoot sequence.

    The agi00103C.F is erroneously saying "ME" instead of "AM" apparently because the "ME" in ROBOTS NEED ME" is being instantiated with an 8=verb instead of a 7=pronoun.

    MindForth is recognizing "me" as concept #800 "BE" instead of #701 "I". Upshot: A "ME" in the MindBoot sequence at t=200 mistakenly had an audpsi of 800 ("BE") instead of 701 ("ME").


    Website Counter