Unlock instant, AI-driven research and patent intelligence for your innovation.

Text generation method and device, equipment and storage medium

A text and sample technology, applied in the field of information processing, can solve problems such as ambiguity in the subject of the text, extraction of key information, single requirements, etc., to achieve the effect of improving applicability and flexibility, avoiding fixed modes, and improving communication efficiency

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

AI Technical Summary

Problems solved by technology

[0004] However, the existing technology has relatively single and fixed requirements for the form mode and data content of the structured data to be converted, and it is impossible to extract key information from discrete structured data for information integration to generate text, and the converted text The subject is less clear, and the applicability and flexibility of structured data to text conversion are low

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 1

[0030] figure 1 It is a flowchart of a text generation method provided by Embodiment 1 of the present invention. This embodiment is applicable to the case of converting structured data into text, and the method can be executed by a text generation device. The method specifically includes the following steps:

[0031] S110. Using each entity in the knowledge map of the target domain as an attribute, determine the current structured data in the target domain.

[0032] In a specific embodiment of the present invention, structured data may refer to data with fixed field lengths and stable items collected and stored according to preset rules, or data without rules, such as variable field lengths and / or variable items. stable data. And each entity or each project may include multiple data contents. When expressing the specific content of each entity or each project from different angles, the multiple data contents of each entity or each project are selective. Furthermore, entitie...

Embodiment 2

[0045] On the basis of the first embodiment above, this embodiment provides a preferred implementation of the text generation method, which can filter and sort structured data and generate text based on a deep learning model. figure 2 A flow chart of a text generation method provided by Embodiment 2 of the present invention, such as figure 2 As shown, the method includes the following specific steps:

[0046] S210. Using each entity in the knowledge map of the target domain as an attribute, determine the current structured data in the target domain.

[0047] In the specific embodiment of the present invention, since the attribute items of the structured data to be converted are unstable, and the information in the structured data is redundant or confusing, each entity in the knowledge map of the target field is used as an attribute, and according to the knowledge map Guidance, from which to determine the data content corresponding to each attribute, so as to determine the c...

Embodiment 3

[0064] Figure 7 It is a schematic structural diagram of a text generation device provided by Embodiment 3 of the present invention. This embodiment is applicable to the case of converting structured data into text, and the device can realize the text generation method described in any embodiment of the present invention. Specifically, the device includes:

[0065] The structured data determination module 710 is used to determine the current structured data in the target domain by using each entity in the knowledge map of the target domain as an attribute;

[0066] A data screening and sorting module 720, configured to select each attribute target data from the current structured data, and sort the selected attribute target data;

[0067] The text generation module 730 is configured to generate the current broadcast text of the target field according to the sorting results of the target data of each attribute.

[0068]Optionally, the data filtering and sorting module 720 is ...

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 text generation method and device, equipment and a storage medium. The method comprises the following steps: determining current structured data of a targetdomain by taking each entity in a knowledge graph of the target domain as an attribute; Selecting each piece of attribute target data from the current structured data, and sorting the selected attribute target data; And generating a current broadcast text of the target field according to the sorting result of the attribute target data. According to the embodiment of the invention, based on guidance of the knowledge graph, text conversion can be carried out on the structured data with randomness in each field scene, a fixed mode of the structured data during text conversion is avoided, and theapplicability and flexibility of text conversion are improved, so that the key information transmission efficiency of the converted text is improved.

Description

technical field [0001] The embodiments of the present invention relate to the technical field of information processing, and in particular, to a text generation method, device, device, and storage medium. Background technique [0002] With the rapid development of information processing technology, more and more fields use structured data to quickly record or store transaction information. When continuous and complete text content is required, the structured data is converted into articles or reports, such as the common Sports news or weather warning broadcast and other fields. [0003] In the prior art, a template-based conversion method is usually adopted, that is, the structured data is manually configured into the template, and the corresponding text is generated by the template according to preset rules. Or by matching the structured data with the template, the content of the fixed pattern in the template is converted into text. In addition, a more flexible transforma...

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): G06F16/25G06F16/28G06F16/36G06N3/04G06N3/08
CPCG06N3/08G06N3/044G06N3/045
Inventor 刘远圳陈思姣罗雨赵娜梁海金
Owner BEIJING BAIDU NETCOM SCI & TECH CO LTD