首页>
外国专利>
Method for detecting stylistic errors and generating replacement strings in a document containing Japanese text
Method for detecting stylistic errors and generating replacement strings in a document containing Japanese text
展开▼
机译:在包含日语文本的文档中检测样式错误并生成替换字符串的方法
展开▼
页面导航
摘要
著录项
相似文献
摘要
Critiques are applied to phrase units included in morpho- syntactical information derived from the Japanese text. The critiques include a "trigger" and an "action," and are written in a special- purpose syntax that allows for easy specification of the error class and the rewrite generation. If a critique's trigger condition is satisfied, the associated action is carried out in order to generate a replacement text string. The process of generating replacement text strings employs a morphological graph that reflects possible word formations. In a first pass through the graph, a breadth first search is used to identify intermediate nodes along a path whose morpheme transitions satisfy at least part of the attributes of the text. In a second pass, a depth first search is used to select only those morpheme transitions that completely satisfy the rewrite criteria specified in the critique, while traversing the nodes identified in the breadth first search. The morpheme transitions identified during the depth first search provide the text string that is used to replace the original phrase.
展开▼