首页> 外国专利> METHOD, APPARATUS, ELECTRONIC DEVICE FOR TEXT TRANSLATION AND STORAGE MEDIUM

METHOD, APPARATUS, ELECTRONIC DEVICE FOR TEXT TRANSLATION AND STORAGE MEDIUM

机译:用于文本转换和存储介质的方法,装置,电子设备

摘要

A method for text translation includes obtaining a text to be translated; and inputting the text to be translated into a text translation model. The trained text translation model divides the text to be translated into a plurality of semantic units, determines N semantic units before a current semantic unit among the plurality of semantic units as local context semantic units, determines M semantic units before the local context semantic units as global context semantic units, and generates a translation result of the current semantic unit based on the local context semantic units and the global context semantic units. N is an integer, and M is an integer.
机译:文本转换方法包括获取要翻译的文本; 并将要翻译成文本翻译模型的文本。 培训的文本转换模型将要翻译成多个语义单元的文本划分为多个语义单元,在多个语义单元中的当前语义单元作为本地上下文语义单元中确定n个语义单元,在本地上下文语义单元之前确定m个语义单元 全局上下文语义单元,并基于本地上下文语义单元和全局上下文语义单元生成当前语义单元的转换结果。 n是一个整数,m是一个整数。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号