摘要 |
PURPOSE:To reduce the description amount of grammar rules and meaning functions and to improve the modularity by describing a sentence structure rule and a meaning processing method into another high-order class as multi- super. CONSTITUTION:A language model 15 is defined by a class object and sorts the objects of the low-order classes of words, paragraphs and sentences into a grammar category and a meaning category in accordance with the corresponding relation. The grammar rule is described in a high-order class having the corresponding relation as a rule set. While the meaning processing function is described as a method in another high-order class having the corresponding relation. A word division processing part 12 refers to a word dictionary 13 to divide an input sentence into words. A sentence structure/meaning analysis part 17 carries out the rules in a grammar category according to the model 15 and a modeling system 16. Then the part 17 starts a method to check the meaning function described in a meaning category class to perform the sentence structure/meaning analysis of the sentence structure/meaning fusion and produces a speech act of the input sentence.
|