Cyborg AI Minds are a true concept-based artificial intelligence with natural language understanding, simple at first and lacking robot embodiment, and expandable all the way to human-level intelligence and beyond. Privacy policy: Third parties advertising here may place and read cookies on your browser; and may use web beacons to collect information as a result of ads displayed here.

Tuesday, October 24, 2017

pmpj1024

Tweaking EnVerbPhrase() for correct responses to who-queries.

We have been adding new material to the SpreadAct() documentation page so as to describe what happens during the processing of an input query in the format of WHO+Verb+Direct-Object. As we try to ensure that the AI generates a grammatically correct response, we change a line of code in the EnVerbPhrase() module to

if ($k[1]==$verbpsi && $i==$verblock) { # 2017-10-24: zero in!
in order to ensure that we obtain the knowledge-base memory that correctly and grammatically answers the input-query. Asking "Who has a child" we get "WOMEN HAVE THE CHILD". Asking "Who makes robots" we get "KIDS MAKE THE ROBOTS". The KB-engram is already grammatical; we do not generate the pre-existing, correct grammar.

Friday, October 20, 2017

pmpj1020

Troubleshooting problems in responses to who-queries.

In the ghost236.pl Perl AI we need to troubleshoot why verbs used in response to who-queries are not using the correct grammatical number in agreement with the subject-noun in the response. First we need to find out whether the num(ber) from a remembered noun is kept track of so that any new engram of the same noun will have the same num(ber). We observe more than one variable used in previous AI Minds to keep track of the num(ber) dealt with in the OldConcept() mind-module, and we try now to standardize on $recnum or "recognized number". The JavaScript AI with version number "27jun15A" has a test in the InStantiate() module to replace $num with $recnum if $recnum is greater than zero, so we might use the same test in the ghost.pl AI. As we debug at length, we notice that the JavaScript AI easily distinguishes the number difference between "MAN" and "MEN" and between "WOMAN" and "WOMEN". We fear that the problem may lie in the AudRecog() module, which is always difficult to debug.

Making AudRecog() wait for end of word to declare recognition.

In AudRecog(), first we need a loop that activates each matching character in a sequence. We want AudRecog() not to declare an $audrec until a following 32=SPACE has come in. Upshot: At first we trying replacing the entire AudRecog() code, until we obtain such positive results that we restore AudRecog() and insert only the code-tweaks which yielded positive results. We also tweak AudMem() slightly for operation co-ordinated with AudRecog().