The present invention relates to a method of automatic correction, text input process including: default encoding context word, the context words include contextual parameters and text content, the context parameters including at least contextual markers; will be the preferred candidate word the context words as the default encoding; receiving user input encoding, retrieval of candidate the word corresponding to the encoding of the candidate words selected by the user; judging whether the word belongs to the context, if the word belongs to the context, extracting the candidate words of the text content and output of the text; if it does not belong to the context of words, the output of the candidate words. The context parameter may also include a function cycle indicating the effective period of the context word; a collation information indicating the number of words on the upper screen that need to be proofread. The automatic proofreading method also includes deleting a context word over the validity period and correcting the words on the upper screen according to the collation information. The invention can improve the accuracy of the preferred words, realize the automatic proofreading before the text on the screen and after the upper screen.
【技术实现步骤摘要】
本专利技术涉及文字输入,尤其涉及在计算机、手机等电子产品的文字输入 过程中的自动校对方法。在本说明书和权利要求书中,如果没有特别的说明, 术语文字,,可以是汉字、字符、符号及其组合,而术语字指单个汉字 或者单个字符,而词,,和候选词,,可以是单个或者多个汉字、字符。
技术介绍
文字输入是计算机、手机、PDA (个人数字助理)等电子产品中不可或 缺的功能。绝大多数文字输入法都存在重码的问题。所谓重码,是指有两个 或者两个以上的候选字词对应于相同的编码。例如,使用拼音输入法时对应 于编码zhidao的候选词就有知道、直到、指导等。出现重码会降 低文字输入的速度与准确度,如果误选了不想要的候选词,还会增加后期的 校对工作量。针对重码问题,现有的一种处理方法是应用调频技术。调频的原理是根 据用户的输入内容动态地调整各个编码的候选词顺序。常用的一种调频技术 是智能调频,其原理是根据语料库中收集的语料,当用户输入的字词符合这 些语料时,将用户接下来可能需要的重码候选词自动提前调整至第1位作为 首选候选词,智能调频命中率比一般的自动调频有所提高。但是,自动调频 之后,输入法程序无法区分哪个候选词调过,哪个候选词没有调过,所以系 统无法及时恢复原来的字词顺序,导致候选词的顺序在不停地变化,用户需 要一直依赖候选词列表进行输入,降低了文字输入效率。此外,目前的输入法无法自动对已经上屏的词进行修正,从而增加了文 字输入后的校对工作量。因此,亟需一种自动校对方法,该方法最好能够在 文字上屏之前进行自动校对以提高首选候选词的准确度,并能够在文字上屏后自动修正误输入的词。专利技术 ...
【技术保护点】
一种文字输入过程中的自动校对方法,其特征在于,包括以下步骤: 为预设编码生成语境词,所述语境词包括语境参数和文字内容,所述语境参数至少包括语境标记; 将所述语境词作为所述预设编码的首选候选词; 接收用户输入的编码,检索与所述编码对应的候选词; 判断用户选择的候选词是否属于语境词,如果属于语境词,就提取所述候选词的文字内容并输出所述文字内容;如果不属于语境词,就输出该候选词。
【技术特征摘要】
1、一种文字输入过程中的自动校对方法,其特征在于,包括以下步骤为预设编码生成语境词,所述语境词包括语境参数和文字内容,所述语境参数至少包括语境标记;将所述语境词作为所述预设编码的首选候选词;接收用户输入的编码,检索与所述编码对应的候选词;判断用户选择的候选词是否属于语境词,如果属于语境词,就提取所述候选词的文字内容并输出所述文字内容;如果不属于语境词,就输出该候选词。2、 如权利要求1所述的自动校对方法,其特征在于语境词的语境参数还包括作用周期,用于表示所述语境词的有效期间; 所述将语境词作为首选候选词的步骤包括将所述语境词添加到所述预设编码的原有的候选词列表;所述自动校对方法还包括删除超出有效期间的语境词,并恢复与该语境词对应的预设编码的原有的候选词列表。3、 如权利要求2所述的自动校对方法,其特征在于,语境词的作用周期 包括即时周期,作用周期为即时周期的语境词称为即时语境词;所述自动校对方法包括在输出即时语境词的文字内容之后,删除所有的 即时语境词。4、 如权利要求2所述的自动校对方法,其特征在于,语境词的作用周期 包括句子周期,作用周期为句子周期的语境词称为句子语境词;所述自动校对方法包括在用户输入预设的标点符号之后,删除所有的句 子语境词。5、 如权利要求1至4中任意一项所述的自动校对方法,其特征在于 语境词的语境参数还包括校对信息,...
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。