Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

I've been there.


interests / alt.language.latin / LaParser Module of AI4U Artificial Intelligence

SubjectAuthor
o LaParser Module of AI4U Artificial IntelligenceA.T. Murray

1
LaParser Module of AI4U Artificial Intelligence

<f08a0d09-56ff-48d9-9c16-64aac3f3bd03n@googlegroups.com>

  copy mid

https://www.novabbs.com/interests/article-flat.php?id=604&group=alt.language.latin#604

  copy link   Newsgroups: alt.language.latin
X-Received: by 2002:ad4:4f02:0:b0:63d:44c5:3f38 with SMTP id fb2-20020ad44f02000000b0063d44c53f38mr20916qvb.0.1690667175884;
Sat, 29 Jul 2023 14:46:15 -0700 (PDT)
X-Received: by 2002:a05:6808:1801:b0:3a7:2639:f835 with SMTP id
bh1-20020a056808180100b003a72639f835mr108415oib.6.1690667175477; Sat, 29 Jul
2023 14:46:15 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: alt.language.latin
Date: Sat, 29 Jul 2023 14:46:15 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=174.165.126.120; posting-account=rS-ITgoAAAC4XLmmHKI5_C5lMSeqZBAF
NNTP-Posting-Host: 174.165.126.120
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <f08a0d09-56ff-48d9-9c16-64aac3f3bd03n@googlegroups.com>
Subject: LaParser Module of AI4U Artificial Intelligence
From: mentific...@gmail.com (A.T. Murray)
Injection-Date: Sat, 29 Jul 2023 21:46:15 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 21732
 by: A.T. Murray - Sat, 29 Jul 2023 21:46 UTC

LaParser Latin Parsing Module of the
Mens Latina Artificial Intelligence in Latin Language

1. Diagram of Chapter 10 LaParser AI Mind-Module

/^^^^^^^^^\ LaParser Assigns Associative Tags /^^^^^^^^^\
/ EYE \ MINDCORE _____ / EAR \
/ \ CONCEPTS /New- \ / audMemory \
| _______ | | | | _____ (Concept)-|-------------\ |
| /old \ | | | | /Old- \ \_____/ | Audition | |
| / image \---|-----+ | (Concept)------|---|-----------\ | |
| \ recog / | | | | \_____/-------|---|---------\ | | |
| \_______/ | a| | | |________V | | | | |
| | b|C| | / LaParser \ | | | | |
| visual | s|O|f| \__________/ | | | | |
| | t|N|i| |noun? | DAT-----/ | | |
| memory | r|C|b| |verb? | | | |
| | a|E|e| |adj.? | DEUS------/ | |
| channel | c|P|r| |adverb? | | |
| | t|T|s| |prep.? | TIBI | |
| _______ | | | | |conj.? | | |
| /new \ | |_|_| ______V____ | PECUNIAM----/ |
| / percept \ | / Psy \ / \ | |
| \ engram /---|--\array/-----( InStantiate ) | |
| \_______/ | \___/ \___________/ | |

2. Purpose of the LaParser module

LaParser serves the purpose of not only identifying a part of speech such as a noun, preposition or verb, but also of comprehending the part of speech in context by helping to assign associative tags among concepts in the Psy conceptual array. Thus LaParser and its Russian counterpart RuParser and its English counterpart EnParser serve the purpose of Natural Language Understanding (NLU).

3. Algorithm of the LaParser AI Mind-Module

3.A. PraeScium bootstrap sequence relieves burden of parsing some words.

Gradually, as all the Latin conjunctions, prepositions and pronouns are encoded within the bootstrap sequence as separate parts of speech, the Latin parsing module simply recognizes them and does not need to parse them. However, recognition of a Latin preposition will help the parsing module to treat the associated noun or pronoun as the object of the recognized preposition.

3.B. OldConcept module prepares parameters for the LaParser() module.

Latin pronouns, being brief in length -- "ars longa, pronomen breve" -- may eventually be handled in their entirety by the OldConcept module.

3.C. Assigning associative tags to concepts based on inflectional endings

3.C.1. Initial proof of concept

The current LaParser() module first sends a concept into the InStantiate module and then almost immediately inserts associative tags into the flag-panel of each pre-instantiated concept. The process happens so quickly that for all intents and purposes it is like the swiftly operating, massive parallelism of the human brain. The immediate revisiting of the instantiation process is necessary only because the Latin AI Mind interprets a sentence of Latin input without regard to the word-order or syntax of the input, relying instead upon the inflectional endings of each Latin word. Since subject, verb and object (SVO) may be in any haphazard word order, the Latin parsing module must wait almost instantly for all the SVO words to be available for parsing into their grammatical roles.

The earliest forms of the LaParser module require input of unique nominative and accusative forms to function properly. As the Latin RoboMind matures, provisions must be made in the LaParser() module to disambiguate between Latin words which take the same form for more than one case, such as nominative and accusative case, as explained in the Latin AI User Manual.

3.C.2. Improving LaParser() to deal with ambiguous noun inflections.

[From the Mens Latina Programming Journal]
In the Mens Latina artificial intelligence in Latin language, we have made the LaParser Latin parsing module able to understand a subject-verb-object (SVO) sentence if the subject-noun and the direct-object-noun are unambiguously nominative or accusative. Now we want LaParser to deal properly with the input of Latin sentences in which one of the SVO nouns could be either nominative or accusative, and the parsing module must decide which is the case. We will use two similar sentences.

FRATRES HABENT PUERI. ("The boys have brothers.")
FRATRES HABENT PUEROS. ("The brothers have boys.")

The noun "fratres" can be nominative or accusative, depending upon whether it is the subject or the object of the verb. Since the verb needs a nominative subject, "pueri" is the subject in one sentence, and "fratres" is the subject in the other sentence. Our task in coding is to make the AI able to treat the right noun as the subject.

We have now set up some variables kbdba and kbnum to make the flag-panel values of a recognized concept available to the LaParser() Latin parsing module. These values are not the final determination of the case and number of a noun, because there may be some ambiguity. But they may serve as the default values when a recognized concept is first instantiated in Stage One of the Latin parsing.

In Stage Two, the LaParser() Latin parser module performs a series of tests to determine or disambiguate the speaker-intended case of the noun, based not only on its perhaps ambiguous inflectional ending but also on the other Latin nouns being used in the sentence of input. The rota counter allows the InStantiate() module to cycle or rotate through the several nouns that are possibly included in the Latin input, so that the OutBuffer() detection of potentially ambiguous Latin noun-endings may load the initial instantiation time-point onto unknown "upshot" placeholder variables to be kept ready during a series of "Stage Two" LaParser() tests in advance of re-instantiating each of the several nouns as either the tsj subject, or the tio indirect object, or the tdo direct object of the Latin verb. If the upshot variable (ux1-ux5; uy1-uy5; uz1-uz5) wins selection, it already contains the Stage One time-point of instantiation which will now be transferred to the time-point of the subject or indirect object or direct object, so that each item may be re-instantiated with the properly tested and identified associative tags which play their essential role in the Natural Language Understanding of the input sentence.

4. Code of LaParser() from Abra014A Mens Latina in JavaScript for MSIE

function LaParser() { // http://ai.neocities.org/LaParser.html
// if (pos == 5) alert("LaP: psi= "+psi+" dba= "+dba+" num= "+num); // 2019-05-09: TEST
act = 48; // 2018-01-11: an arbitrary activation for InStantiate()
bias = 5; // 2018-01-10: Expect a noun until overruled.
if (pos == 5) bias = 8; // 2018-01-11: after noun, expect verb.
if (pos == 7) bias = 8; // 2018-01-11: after pronoun, expect verb.
if (pos == 8) bias = 5; // 2018-01-11: after verb, expect noun

Psy[toc].psyExam(); // 2010-05-10: examine flag-panel at time-of-old-concept
kbdba = psi7; // 2019-05-10: transfer dba-value to "kbdba"
kbnum = psi8; // 2019-05-10: transfer num-value to "kbnum"
kbmfn = psi8; // 2019-05-10: transfer mfn-value to "kbmfn"
dba = kbdba; // 2019-05-10: default value for initial instantiation.

InStantiate(); // 2019-05-05: for creating psy concept-nodes

// 2019-05-10: Stage Two
if (uy1>0 && uy4==0) { // 2019-05-10: if nominative but not accusative...
tsj = uy1; // 2019-05-10: if nominative only, then subject
Psy[tsj] = new // 2019-05-10: re-instantiate the noun as subject
psyNode(psi0,psi1,psi2,psi3,psi4,psi5,psi6,psi7,psi8,psi9,psi10,psi11,psi12,psi13,psi14);
} // 2019-05-10: end of test for noun nominative but NOT accusative

if (ux1 > 0 && ux4 > 0 && uy4==0) { // 2019-05-10: if form is both nom. and acc.
tdo = ux4; // 2019-05-10: accusative
Psy[tdo].psyExam(); // 2010-05-04: expose flag-panel of Latin direct object
Psy[tdo] = new // 2019-05-10: re-instantiate the noun as direct object
psyNode(psi0,psi1,psi2,psi3,psi4,psi5,psi6,4,psi8,psi9,psi10,psi11,psi12,psi13,psi14);
} // 2019-05-10: end of test for noun both nominative and accusative

if (tsj > 0 && tvb > 0 && tdo > 0) { // 2019-05-04: if SVO input complete...
Psy[tsj].psyExam(); // 2010-05-04: expose flag-panel of subject
Psy[tsj] = new // 2019-05-04: insert "tvb" as the "tkb" of the subject
psyNode(psi0,psi1,psi2,psi3,psi4,psi5,psi6,psi7,psi8,psi9,psi10,psi11,QED2,tvb,psi14);
Psy[tvb].psyExam(); // 2010-05-04: expose flag-panel of the verb
Psy[tvb] = new // 2019-05-04: insert "tdo" as the "tkb" of the verb
psyNode(psi0,psi1,psi2,psi3,psi4,psi5,psi6,psi7,psi8,psi9,QED1,psi11,QED4,tdo,psi14);
Psy[tdo].psyExam(); // 2010-05-04: expose flag-panel of the direct object
Psy[tdo] = new // 2019-05-04:
psyNode(psi0,psi1,psi2,psi3,psi4,psi5,psi6,4,psi8,psi9,QED2,psi11,psi12,psi13,psi14);
} // 2019-05-04: end of test for completion of subject-verb-object input..

} // 2019-04-26: LaParser() returns to OldConcept() or NewConcept().

5. Variables for the LaParser AI Mind-Module

act -- quasi-neuronal activation-level

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


Click here to read the complete article
1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor