|
Programming starts with a vocabulary that includes the
anticipated words and word groups for a given application. The
vocabulary describes the hierarchical relationships between words,
plus some clues to help Brainhat disambiguate input phrases and
sentences. The program comes with a basic, extensible vocabulary.
A context-free grammar tells Brainhat how to recognize parts of speech and how to assemble the parts into internal knowledge representations. Transformations take place as the input assembled; word and phrase disambiguation, pronoun resolution, normalization of forms, discard of unlikely or duplicate candidates is all completed by the time the the input is recognized.
The rest of the programming--inferences, propositions--takes place in English. Brainhat stores everything in associatively hashed context, discourse, and inference stores. The programmer motivates conversation by giving Brainhat collections of natural language statements that describe all of the common-sense knowledge needed for a conversation, plus inferences to pull it along.
>> if a person is near a thing then a person can
see the thing
|