首页>
外国专利>
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.
展开▼