A method and device for translating statements

A sentence and translation technology, applied in the field of translated sentences, can solve problems such as affecting translation results

Active Publication Date: 2019-04-02
BEIJING BAIDU NETCOM SCI & TECH CO LTD
View PDF18 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the existing neural machine translation basically means that the previously translated words will affect the subsequent tran

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 method and device for translating statements
  • A method and device for translating statements
  • A method and device for translating statements

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] The application 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.

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

[0033] figure 1 An exemplary system architecture 100 is shown to which embodiments of the method for translating sentences or the apparatus for translating sentences of the present application can be applied.

[0034] like figure 1 As shown, the system architecture 100 may...

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 embodiment of the invention discloses a method and device for generating a translation model. A specific embodiment of the method comprises the following steps of: obtaining a target object; the method comprises the following steps of: inputting a training sample into a forward encoder and a forward decoder to obtain a forward translation statement segmentation probability sequence; and inputting the training sample into a reverse encoder and a reverse decoder to obtain a reverse translation statement segmented word probability sequence to determine a total loss value, and adjusting modelparameters of the forward encoder, the forward decoder, the reverse encoder and the reverse decoder when it is determined that the model is not trained until it is determined that the model training is completed. According to the embodiment, the influence of front translation errors on rear translation in the translation process is reduced.

Description

technical field [0001] The embodiments of the present application relate to the field of computer technology, and in particular to a method and device for translating sentences. Background technique [0002] At present, neural machine translation is mostly used to realize machine translation. Neural machine translation consists of an encoder and a decoder. The sentence to be translated is input into the encoder for encoding to obtain a semantic vector, and then the decoder decodes the semantic vector to obtain the translation result. Existing encoders and decoders are basically neural networks suitable for processing time-series data. However, the existing neural machine translation basically means that the previously translated words will affect the subsequent translation results. If the previous translation is wrong, the subsequent translation will be affected by the previous translation errors. Contents of the invention [0003] Embodiments of the present application...

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
IPC IPC(8): G06F17/28
CPCG06F40/58
Inventor 毕天驰张传强熊皓何中军李芝王海峰
Owner BEIJING BAIDU NETCOM SCI & TECH 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