Translation method and device

A translation model and translation result technology, applied in the computer field, can solve problems such as word errors, translation effects, and translation quality

CN111126078AActive Publication Date: 2020-05-08BEIJING BAIDU NETCOM SCI & TECH CO LTD
5 Cites 1 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Publication Date
2020-05-08

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The embodiment of the invention discloses a translation method and device. The method adopts a translation model, the translation model comprises an encoder, a classifier and a decoder, and the methodcomprises the following steps: inputting a vector matrix determined based on a word segmentation sequence of a first text into the encoder to obtain an intermediate representation output by the encoder; inputting the intermediate representation into a classifier to obtain a classification label output by the classifier; and in response to the fact that the classification tag indicates that the segmented word located at the tail in the segmented word sequence of the first text is an independent translation unit, inputting the intermediate representation into a decoder to obtain a second text output by the decoder. According to the method, the system time consumption is reduced under the condition that the translation quality is guaranteed, improvement is easy to carry out on the basis of an existing translation model, use is easy, and supervised learning is introduced to achieve control over the translation unit.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The present disclosure relates to the field of computer technology, in particular to the field of translation technology, and in particular to a translation method and device. Background technique

[0002] Simultaneous interpretation has developed rapidly in the past two years, and major Internet companies have launched their own simultaneous interpretation products one after another.

[0003] Most of the current simultaneous interpretation systems are based on the pipeline (pipeline). First, the text is generated through speech recognition (ASR), and then the sentence segmentation module is called to segment the text, and then the translation model is called to translate the text after the sentence segmentation, and finally the translation result is displayed. . Specifically, the simultaneous interpretation system increases the frequency of sentence segmentation and reduces the granularity of sentence segmentation. Or, the simultaneous interpretatio...

Examples

Embodiment Construction

[0027] The present disclosure will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain related inventions, rather than to limit the invention. It should also be noted that, for the convenience of description, only the parts related to the related invention are shown in the drawings.

[0028] It should be noted that, in the case of no conflict, the embodiments in the present disclosure and the features in the embodiments can be combined with each other. The present disclosure will be described in detail below with reference to the accompanying drawings and embodiments.

[0029] figure 1 An exemplary system architecture 100 of an embodiment of a translating method or a translating apparatus to which the present disclosure may be applied is shown.

[0030] Such as figure 1 As shown, the system architecture 100 may include terminal devic...