Text translation method, device, and storage medium

    公开(公告)号:US11314946B2

    公开(公告)日:2022-04-26

    申请号:US16701382

    申请日:2019-12-03

    摘要: Embodiments of the present disclosure disclose a text translation method, a text translation apparatus, a device and a storage medium. The method includes: obtaining a source language text; and translating the source language text with a modified translation model to obtain a target language text corresponding to the source language text, the modified translation model being obtained by modifying an original translation model based on a text evaluation result of one or more translated texts for training, the translated text for training being an output result after translating through the original translation model, and the text evaluation result for evaluating a contextual semantic relation in the translated text for training.

    METHOD AND APPARATUS FOR TRAINING MODELS IN MACHINE TRANSLATION, ELECTRONIC DEVICE AND STORAGE MEDIUM

    公开(公告)号:US20210390266A1

    公开(公告)日:2021-12-16

    申请号:US17200551

    申请日:2021-03-12

    摘要: A method and apparatus for training models in machine translation, an electronic device and a storage medium are disclosed, which relates to the field of natural language processing technologies and the field of deep learning technologies. An implementation includes mining similar target sentences of a group of samples based on a parallel corpus using a machine translation model and a semantic similarity model, and creating a first training sample set; training the machine translation model with the first training sample set; mining a negative sample of each sample in the group of samples based on the parallel corpus using the machine translation model and the semantic similarity model, and creating a second training sample set; and training the semantic similarity model with the second sample training set. With the above-mentioned technical solution of the present application, by training the two models jointly, while the semantic similarity model is trained, the machine translation model may be optimized and nurtures the semantic similarity model, thus further improving the accuracy of the semantic similarity model.

    Method and apparatus for translating speech

    公开(公告)号:US11132518B2

    公开(公告)日:2021-09-28

    申请号:US16691111

    申请日:2019-11-21

    摘要: A method and apparatus for translating speech are provided. The method may include: recognizing received to-be-recognized speech of a source language to obtain a recognized text; concatenating the obtained recognized text after a to-be-translated text, to form a concatenated to-be-translated text; inputting the concatenated to-be-translated text into a pre-trained discriminant model to obtain a discrimination result for characterizing whether the concatenated to-be-translated text is to be translated, where the discriminant model is used to characterize a corresponding relationship between a text and a discrimination result corresponding to the text; in response to the positive discrimination result being obtained, translating the concatenated to-be-translated text to obtain a translation result of a target language, and outputting the translation result.

    Method and apparatus for translating based on artificial intelligence

    公开(公告)号:US10467349B2

    公开(公告)日:2019-11-05

    申请号:US15832013

    申请日:2017-12-05

    摘要: The resent disclosure provides a method and an apparatus for translating based on artificial intelligence. With the method, the text to be translated from the source language to the target language is acquired, in which, the text includes the target language term and the source language term. The candidate terms for translating the source language term and confidences of the candidate terms are determined. The candidate terms are used to replace the corresponding source language term, and each candidate term is combined with the target language term, so as to obtain each candidate translation. A probability of forming a smooth text when the candidate term is used in the candidate translation is predicted. Then the target term is chosen to be recommended according to the language probabilities of the candidate translations and the confidences of the candidate terms.

    Method and device for expanding data of bilingual corpus, and storage medium

    公开(公告)号:US09953024B2

    公开(公告)日:2018-04-24

    申请号:US14892933

    申请日:2014-09-04

    摘要: Disclosed are a method and a device for expanding data of a bilingual corpus. The method for expanding data of a bilingual corpus includes: searching, in a source language-pivot language corpus, for at least one first pivot language phrase semantically matching a first source language phrase; searching, in the source language-pivot language corpus, for at least one second source language phrase semantically matching each of the first pivot language phrases to form a source language phrase set by the second source language phrases; searching, in a pivot language-target language corpus, for at least one first target language phrase semantically matching each of the first pivot language phrases to form a target language phrase set by the first target language phrases; combining the second source language phrases in the source language phrase set with the first target language phrases in the target language phrase set, so as to form at least one phrase pair in which a source language phrase and a target language phrase semantically match; and storing the formed at least one phrase pair in which the source language phrase and the target language phrase semantically match into a source language-target language corpus. Data in a bilingual corpus is expanded, so that the problem of data sparseness in the bilingual corpus is solved.

    METHOD AND DEVICE FOR EXPANDING DATA OF BILINGUAL CORPUS, AND STORAGE MEDIUM
    10.
    发明申请
    METHOD AND DEVICE FOR EXPANDING DATA OF BILINGUAL CORPUS, AND STORAGE MEDIUM 有权
    用于扩展双胞胎数据的方法和装置以及存储介质

    公开(公告)号:US20160239481A1

    公开(公告)日:2016-08-18

    申请号:US14892933

    申请日:2014-09-04

    IPC分类号: G06F17/27 G06F17/30 G06F17/28

    摘要: Disclosed are a method and a device for expanding data of a bilingual corpus. The method for expanding data of a bilingual corpus includes: searching, in a source language-pivot language corpus, for at least one first pivot language phrase semantically matching a first source language phrase; searching, in the source language-pivot language corpus, for at least one second source language phrase semantically matching each of the first pivot language phrases to form a source language phrase set by the second source language phrases; searching, in a pivot language-target language corpus, for at least one first target language phrase semantically matching each of the first pivot language phrases to form a target language phrase set by the first target language phrases; combining the second source language phrases in the source language phrase set with the first target language phrases in the target language phrase set, so as to form at least one phrase pair in which a source language phrase and a target language phrase semantically match; and storing the formed at least one phrase pair in which the source language phrase and the target language phrase semantically match into a source language-target language corpus. Data in a bilingual corpus is expanded, so that the problem of data sparseness in the bilingual corpus is solved.

    摘要翻译: 公开了一种用于扩展双语语料库数据的方法和装置。 用于扩展双语语料库的数据的方法包括:在源语言 - 枢轴语言语料库中搜索语义上匹配第一源语言短语的至少一个第一枢轴语言短语; 在源语言 - 枢轴语言语料库中搜索至少一个第二源语言短语,语义上匹配每个第一枢轴语言短语以形成由第二源语言短语设置的源语言短语; 在枢轴语言目标语言语料库中搜索至少一个第一目标语言短语,语义上匹配每个第一枢轴语言短语以形成由第一目标语言短语设置的目标语言短语; 将源语言短语集合中的第二源语言短语与目标语言短语集合中的第一目标语言短语组合,以形成源语言短语和目标语言短语在语义上匹配的至少一个短语对; 并且将所形成的至少一个短语对存储在源语言短语和目标语言短语语义匹配中到源语言目标语言语料库中。 双语语料库中的数据扩展,双语语料库数据稀疏问题得到解决。