A text sequence generation method, device, equipment and medium
A text sequence and sequence technology, applied in the field of artificial intelligence, can solve problems such as unsmoothness, factual errors or omissions, and blunt text articles, and achieve the effect of improving accuracy and fluency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0042] figure 1 It is a flow chart of a method for generating a text sequence provided by Embodiment 1 of the present disclosure. The method is applicable to various text editing scenarios and generates a new text sequence based on an existing text sequence. The method is executed by a device for generating a text sequence, which device can be realized by means of software and / or hardware, and can be specifically inherited in an electronic device with storage and computing capabilities for text processing.
[0043] Such as figure 1 As shown, a method for generating a text sequence is provided, including:
[0044] Step 110, obtaining an initial text sequence, and extracting initial text features from the initial text sequence;
[0045] The initial text sequence is an existing text sequence, which is equivalent to the source text sequence and is used to generate a new target text sequence. The initial text sequence can be an independent sentence including several or more than...
Embodiment 2
[0062] Figure 2A It is a flowchart of a method for generating a text sequence provided in Embodiment 2 of the present disclosure. The technical solution of this embodiment is further refined on the basis of the above-mentioned technical solution, and specifically mainly includes the following steps:
[0063] Step 210, obtaining an initial text sequence, and extracting initial text features from the initial text sequence;
[0064] Step 220, acquiring a structured text sequence, and extracting structured features from the structured text sequence; wherein, the structured text sequence is associated with facts in the initial text sequence;
[0065] Step 230: Filter the initial text features according to the structured features, and correct the text content of the initial text features according to the structured features, so as to fuse and generate the target text sequence;
[0066] The facts embodied in the structured text sequence are generally more accurate and refined, whi...
Embodiment 3
[0072] image 3 It is a flow chart of a text sequence generation method provided by Embodiment 3 of the present disclosure. This embodiment is based on the foregoing embodiments, and further introduces an implementation manner of generating a target text sequence based on fusion of initial text features and structured features. The method includes:
[0073] Step 310, obtaining an initial text sequence, and extracting initial text features from the initial text sequence;
[0074] Step 320, acquiring a structured text sequence, and extracting structured features from the structured text sequence; wherein, the structured text sequence is associated with facts in the initial text sequence;
[0075] Step 330, taking each initial text feature as the current initial text feature;
[0076] This embodiment can process the serialized initial text features one by one. For example, an existing article actually includes multiple initial text sequences in order, and the initial text feat...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


