首页> 外国专利> METHOD AND DEVICE FOR ERROR CORRECTION MODEL TRAINING AND TEXT ERROR CORRECTION

METHOD AND DEVICE FOR ERROR CORRECTION MODEL TRAINING AND TEXT ERROR CORRECTION

机译:纠错模型训练和文本错误纠正的方法和装置

摘要

A computer-implemented method is performed at a device having one or more processors and memory storing programs executed by the one or more processors. The method comprises: selecting a target word in a target sentence; from the target sentence, acquiring a first sequence of words that precede the target word and a second sequence of words that succeed the target word; from a sentence database, searching and acquiring a group of words, each of which separates the first sequence of words from the second sequence of words in a sentence; creating a candidate sentence for each of the candidate words by replacing the target word in the target sentence with each of the candidate words; determining the fittest sentence among the candidate sentences according to a linguistic model; and suggesting the candidate word within the fittest sentence as a correction.
机译:在具有一个或多个处理器和存储由一个或多个处理器执行的程序的存储器的设备处执行一种计算机实现的方法。该方法包括:在目标句子中选择目标词;以及从目标句子中获取目标单词之前的第一单词序列和目标单词之后的第二单词序列;从句子数据库中搜索并获取一组词,每个词将句子中的第一词序列与第二词序列分开;通过用每个候选单词替换目标句子中的目标单词,为每个候选单词创建候选句子;根据语言模型确定候选句子中最适合的句子;并建议最适合的句子中的候选单词作为更正。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号