Similar text generation method and device
The invention discloses a similar text generation method and device, relates to the technical field of semantic analysis, and aims to solve the problem that in the prior art, actual semantics of similar texts and initial texts are not completely the same. The method mainly comprises the steps of obt...
Gespeichert in:
Hauptverfasser: | , , , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention discloses a similar text generation method and device, relates to the technical field of semantic analysis, and aims to solve the problem that in the prior art, actual semantics of similar texts and initial texts are not completely the same. The method mainly comprises the steps of obtaining text segmented words obtained after word segmentation is carried out on an initial text; searching text word vectors of the text segmented words according to a preset word vector algorithm; splicing the text word vector and the relative position vector of the text word vector to generate a spliced vector; inputting the splicing vector into a preset encoder to generate a representation word vector set of the initial text; and inputting the representation word vector set into a preset decoder, and resolving a similar text of the initial text. The method and the device are mainly applied to a natural language processing process. In addition, the invention also relates to a blockchain technology, and the splicin |
---|