OK, so I am not a genuine programmer; I am more of a
human languages geek. But please remember this:
"There is more than one way to do it."
The Perl quasi-array code that you have cited above
is my own TIMTOWTDI way of not only creating a kind
of "buffer" array -- $b01, $0b2, ..., $b16 -- but also of
making it easy for me to visuale what is happening
in that $OutBuffer array, which holds English or Russian
words right-justified against a kind of Larry, I mean, wall,
so that the Perl AI code can manipulate the inflectional
endings up against the right-most wall. It works.
The
ghost175.pl AI program successfully manipulates
Russian verb-endings, stripping off inappropriate
endings and attaching an ending required by the
parameters of grammatical person and number.
http://ai.neocities.org receives many visitors from
the Russian Federation, some of whom, I hope,
are looking at my Russian AI code in Perl and
JavaScript and perhaps making an effort to
develop it further.
Upthread on 2016-07-06 I was musing about how to
coordinate and orchestrate events occurring in the
http://github.com/PriorArt/AGI/wiki/MindGrid
of the Perl AI. It was functioning so well that I
felt frustrated at having to let the Perl program
stop and wait for human user input. I wanted
to see the same cognitive architecture start thinking
and not stop for anything, so I began porting the
Perl AI back into its original Win32Forth. It was an
obsessive project on my part, and by now I have
replicated most of the Perl AI functionality.
http://wiki.opencog.org/wikihome/index.php/Ghost
in Strawberry Perl 5 is such a vast improvement over
the original MindForth AI that I could no longer bear
knowing that my Forth AI program was obsolete and
substandard compared not with the Ghost175.pl AI
as Perl code (your opinion of it as code is justified)
but rather as a functioning artificial intelligence.
Now in September 2016 and beyond I am making a
big play for the robotics people to examine the Perl
and Forth AI code and possibly build upon it to
implement robot sensory inputs and motor outputs.
Forth was long a major amateur robotics language.
So no, I am not kidding. Let us wait and see.
Thank you for looking at the admittedly awful
Perl AI code. I apologize for it as Perl code,
but not for its functionality as an AI Mind.
Respectfully submitted,
Arthur T. Murray
--
http://www.linkedin.com/in/mentifex
http://www.advogato.org/person/mentifex
http://dl.acm.org/citation.cfm?doid=307824.307853
http://www.cpan.org/authors/id/M/ME/MENTIFEX/mind.txt