Text generation method and device, equipment and storage medium

A text and predictive text technology, applied in the field of data processing, can solve problems such as poor text effect and large semantic differences, achieve good text generation effect, and improve the effect of diversity

Active Publication Date: 2020-08-28
TENCENT TECH (SHENZHEN) CO LTD
View PDF7 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Since the rules may not be applicable to all texts, the text generated by the above expansion method may change the semantics of the original text, resulting in a large semantic difference between the generated text and the original text, and the effect of text generation is not good

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0046] In order to make the purpose, technical solution and advantages of the present application clearer, the implementation manners of the present application will be further described in detail below in conjunction with the accompanying drawings.

[0047] In this application, the terms "first" and "second" are used to distinguish the same or similar items with basically the same function and function. It should be understood that "first", "second" and "nth" There are no logical or timing dependencies, nor are there restrictions on quantity or order of execution.

[0048] In this application, the term "at least one" refers to one or more, and the meaning of "multiple" refers to two or more. For example, multiple reference face images refer to two or more reference faces. image.

[0049] Artificial Intelligence (AI) is a theory, method, technology and application system that uses digital computers or machines controlled by digital computers to simulate, extend and expand human...

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 generation method and device, equipment and a storage medium, and belongs to the field of data processing. The method includes: obtaining a first text; obtaining semantic features of the first text based on the characters in the first text. That is to say, in the process, semantic feature extraction is performed by taking the character of the first text as a unit, the semantic features reflect the relationship between the characters to a certain extent, and the semantic feature extraction is more accurate. Based on the randomly generated hidden features and the semantic features of the first text, probabilities corresponding to the plurality of alternative characters are obtained. In this way, texts with different expression modes can be generated, and the text generation diversity is improved. A plurality of second texts are generated based on the alternative characters of which the probabilities meet the target probability condition. Through the technical scheme, the server can improve the diversity of the generated text through the hidden features on the premise of ensuring the extraction accuracy of the semantic features of the first text, and a better text generation effect is achieved.

Description

technical field [0001] The present application relates to the field of data processing, and in particular to a text generation method, device, equipment and storage medium. Background technique [0002] With the development of computer technology, in some cases, it is necessary to generate texts with similar semantics and different expressions to expand the text database, so as to facilitate subsequent corresponding query operations based on the text in the text database. [0003] In related technologies, some basic rules are used to generate texts that are semantically similar to a certain text but have different expressions, so as to expand the text database, such as replacing keywords or phrases in the text, semantic translation, or introducing noise. Since the rules may not be applicable to all texts, the text generated by the above expansion method may change the semantics of the original text, resulting in a large semantic difference between the generated text and the ...

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): G06F40/166G06F16/33G06F40/126
CPCG06F40/166G06F16/3346G06F16/3344G06F40/126
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