Text generation method and device, storage medium and electronic equipment

A text and article technology, applied in the field of information processing, can solve problems such as poor user experience, lack of smoothness between sentences, unclear structure, etc., to achieve the effect of solving sentence cohesion and improving experience.
CN110287489APending Publication Date: 2019-09-27BEIJING DA MI TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Current Assignee / Owner
BEIJING DA MI TECH CO LTD
Publication Date
2019-09-27

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The invention discloses a text generation method and device, a storage medium and electronic equipment, and the method comprises the steps: obtaining theme information; inputting the theme information into a pre-trained machine learning model to generate article corresponding to the theme information, wherein the learning model comprises a first model, a second model and a third model, the first model calculates a first semantic vector based on feature information of the theme information, and outputs a character sequence as a first sentence of the article based on the first semantic vector; the second model is iteratively executed to calculate a second semantic vector based on the feature information of the Nth sentence of the article, and outputs a character sequence based on the second semantic vector as the (N+1)th sentence of the article, N is greater than or equal to 1, and N is a positive integer; the third model judges whether the (N+1)th sentence is a paragraph tail sentence or not according to a predetermined judgment condition, and determines that the (N+1)th sentence is the paragraph tail sentence in response to the judgment result; and outputting the article in response to the generated article reaching the threshold.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The disclosure of the present invention relates to the field of information processing, in particular to a text generation method, device, storage medium and electronic equipment. Background technique

[0002] At present, in the field of artificial intelligence (AI), although AI writing is still at the forefront of science and technology, there are some attempts at home and abroad. For example, in the field of relatively templated content production, AI writing is mainly used in sports News, current affairs news, etc.; in fields with relatively large free space, AI writing mainly tries to be applied to writing poems, couplets, science fiction, etc.

[0003] However, in the field of generating articles on specific topics, AI writing is still quite difficult. The main problem is that the structure of articles generated by applying AI writing is not clear, and the sentences are not smooth enough, which brings a poor sense of experience to users. Content...

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