摘要 |
PROBLEM TO BE SOLVED: To actualize a device and a method for natural language processing which can impose restrictions on a natural language pattern and evade a great increase in the capacity of a dictionary even when the restrictions are imposed. SOLUTION: The device and method perform syntax analysis and syntax generation by using a natural language pattern composed of an array of a language name, a left side, and a right side, and they have a pattern inspecting means (stage) for inspecting whether or not all or some of natural language patterns have center element information prescribing restrictions by origin and a center pattern element at origin propagation time in the left or right side and also an extracted natural language pattern is suitable to a tree structure in terms of the restriction by the origin and a pattern applying means (stage) where the natural language pattern is applied to the tree structure when it is suitable, and the restriction by the origin are propagated when the natural language pattern has the center element information. |