摘要 |
PROBLEM TO BE SOLVED: To obtain a suitable and sure template pattern with respect to any input composition. SOLUTION: A template pattern group for model answer is prepared. This template pattern group is constituted by successively arranging plural template blocks which include arbitrary number of sentence elements in the same line from high order blocks based on a grammar rule, Points of point numbers in accordance with their importance are assigned to all words of the template group, Then, these template patterns are read in (S1, S2) and, thereafter, an input composition is read in and also it is analyzed (S3, S4). Next, the template pattern cadidates are retrieved (S5) and the retrieving of incident words with the input composition and the calculating of point numbers of the incident words and the calculation of total point numbers are performed (S6-S8). Thereafter, comparison values of the optimality in which the point numbers of incident words and the total point numbers are made respectively as a numerator and a denominator are calculated (S9) and a template pattern chandidate whose numerator becomes the maximum and whose comparison value of the optimality is the largest among comparison values of the optimality is selected as an optimum template pattern. And, the input composition is corrected by using this template pattern (S10-S12). |