Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Text generation method and device, computer equipment and storage medium

A text and text sequence technology, applied in the computer field, can solve problems such as inaccurate translation results

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

AI Technical Summary

Problems solved by technology

[0004] In view of this, the present invention provides a text generation method, device, computer equipment and storage medium to overcome the problem of inaccurate translation results in the prior art

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
  • Text generation method and device, computer equipment and storage medium
  • Text generation method and device, computer equipment and storage medium
  • Text generation method and device, computer equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0047] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0048]The machine translation model training method provided in the embodiment of the present application involves natural language processing technology and machine learning technology in artificial intelligence. The artificial intelligence technology, natural language processing technology and machine learning technology will be described first below.

[0049] Artificial Intelligence (AI) is a theory, method, technology and application system that uses digita...

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 provides a text generation method and device, computer equipment and a storage medium, and relates to a natural language processing and machine learning technology in artificial intelligence, and the method comprises the steps: calculating the position vector of each word according to the structure of a tree structure source text sequence; inputting the position vector correspondingto each word into a machine translation model; performing semantic encoding to obtain a semantic vector corresponding to each word; generating a source end semantic vector corresponding to each word according to the position vector and the semantic vector; performing semantic decoding to obtain a target word corresponding to each word; and determining a combination sequence of the target words andsplicing the target words to generate a target text. The tree structure source text sequence can reflect the syntactic structure of the source text, the calculated position vector can reflect the syntactic structure of the source text, the influence of the syntactic structure of the source text on the word semantics is considered in the process of determining the word semantics, and the accuracyof the translation result is improved.

Description

technical field [0001] The present invention relates to the field of computer technology, and more specifically, relates to a text generation method, device, computer equipment and storage medium. Background technique [0002] With the continuous development of machine learning technology, machine translation technology has gradually emerged. Machine translation technology is a branch of computational linguistics. The current machine translation technology is mainly based on neural network machine translation technology, which mainly uses artificial intelligence technology to convert one natural language into another natural language. In the current machine translation technology, the transformer based on the self-attention model has become the mainstream architecture choice for neural network machine translation. [0003] However, the current neural network machine translation technology has the problem of inaccurate translation results. Contents of the invention [000...

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/28G06F17/22
Inventor 王星涂兆鹏王龙跃史树明
Owner TENCENT TECH (SHENZHEN) CO LTD
Features
  • Generate Ideas
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More