PURPOSE:To correct a homonym with different spelling by tagging a sentence relating to a part of speech first and then checking the sentence of incorrect grammar. CONSTITUTION:An input sentence S1 is connected to a part of speech tagging module 52 and the generation module 54 of a candidate sentence S2 provided with a confusing word list 56. The module 52 analyzes the input sentence S1 to a most appropriate part of speech string T1 and the possibility P1 (58). Also, the output of the module 54 is supplied to the module 52 and the most appropriate part of speech string T2 and the possibility P2 are generated again (60). After the possibility P1 and the possibility P2 of the input sentence S1 and the candidate sentence S2 are obtained, which part of-speech string is most likely to be correct is decided. The possibility P2 is compared with the possibility P1 so as to decide the appropriate sentence to be selected (62), the candidate sentence S2 is presented instead of the input sentence S1 when P2-P1 is larger than a certain threshold value (e) and nothing is presented in the case of P2-P1<=(e).
GRAMMAR CHECKING SYSTEM