Parse Fitting and Prose Fixing
暂无分享,去创建一个
Processing syntactically ill-formed language is an important mission of a text-critiquing system. This chapter discusses how ill-formed input is treated by Epistle, the forerunner of Critique. Misspellings are highlighted by a standard spelling checker; syntactic errors are detected and corrections are suggested; and stylistic infelicities are called to the user’s attention. Central to the processing strategy is the technique of fitted parsing. When the rules of a conventional syntactic grammar are unable to produce a parse for an input string, this technique can be used to produce a reasonable approximate parse that can serve as input to the remaining stages of processing.