A text translation method and related device

A text and text sequence technology, applied in the field of text translation, can solve problems such as translation deviation, poor translation effect, and low translation quality

Active Publication Date: 2019-03-29
TENCENT TECH (SHENZHEN) CO LTD
View PDF3 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, using the encoder-decoder framework for translation can achieve the purpose of translation, but the translation quality is not high, especially for long sentences, it is more prone to translation deviations, resulting in poor translation results

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A text translation method and related device
  • A text translation method and related device
  • A text translation method and related device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0088] The embodiment of the present invention provides a text translation method and a related device. In the process of encoding the text sequence to be translated corresponding to the source language text, the context vector obtained by decoding is introduced, thereby enhancing the text sequence to be translated. Said that the understanding of the source language text can be strengthened, thereby improving the translation quality, especially for long sentences, the translation effect is better.

[0089] The terms "first", "second", "third", "fourth", etc. (if any) in the description and claims of the present invention and the above drawings are used to distinguish similar objects, and not necessarily Used to describe a specific sequence or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances such that the embodiments of the invention described herein are, for example, capable of practice in sequences other than those ill...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a text translation method, which comprises the following steps: obtaining a text sequence to be translated; Performing encoding processing on the text sequence to be translatedto obtain a first implied state sequence; Acquiring a first state vector; Generating a second hidden state sequence according to the first state vector and the first hidden state sequence; Generatinga context vector corresponding to the current word according to the second implied state sequence and the first state vector; According to the context vector, the first state vector and the first target word, determining the second target word, wherein, the first target word is the translation result corresponding to the previous word, and the second target word is the translation result corresponding to the current word. The invention also discloses a text translation device. The embodiment of the invention introduces a context vector obtained by decoding in the process of encoding the textsequence to be translated corresponding to the source language text, thereby enhancing the representation of the text sequence to be translated and improving the translation quality.

Description

technical field [0001] The invention relates to the field of artificial intelligence, in particular to a text translation method and a related device. Background technique [0002] In recent years, the encoder-decoder framework has achieved outstanding results in text processing tasks, including machine dialogue, machine question answering, and machine translation. In the machine translation project, different languages ​​can be translated. For example, if the input sequence is an English sentence, then the output can be the Chinese translation result of the English sentence. [0003] At present, the process of translating using the encoder-decoder framework as a translation model is as follows: first, the source language sentence is converted into a vector representation, and then the vector representation sequence is input to the encoder, and the intermediate vector is obtained after encoding. Finally, the The decoder decodes the intermediate vector to generate a translat...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F17/28
CPCG06F40/58G06F40/44G06N3/08G06N3/048G06N3/045G06N3/044G06F40/10G06N3/02
Inventor 涂兆鹏耿昕伟王龙跃王星
Owner TENCENT TECH (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products