摘要 |
To allow the precision of correction to be increased in such an application as correcting an input sentence by using a template pattern for model sentence. A plurality of template patterns for the model sentence are provided. Each of the template patterns is regarded as a plurality of templates of words/phrases by using knowledge of experts and scores are assigned to the words according to their importance. The scores are read (S<bold>1, </highlight>S<bold>2</highlight>), and subsequently the input sentence is read and analyzed (S<bold>3, </highlight>S<bold>4</highlight>). Then, the input sentence is compared with each of the template patterns and the total of scores of matching words is calculated (S<bold>5, </highlight>S<bold>6</highlight>). A template pattern having the highest total score is selected as an optimum template pattern and the input sentence is corrected using the optimum template pattern (S<bold>7 </highlight>to S<bold>9</highlight>). This method increases the likelihood that a template pattern containing a larger number of important words is selected as the optimum template pattern. As a result, the precision of the correction and evaluation can be improved.
|