Text processing method and device, electronic equipment and storage medium
The invention relates to the technical field of artificial intelligence, and discloses a text processing method and device, electronic equipment and a storage medium. The method comprises: determining a matching weight matrix of a query text relative to a to-be-matched text, the matching weight matr...
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 relates to the technical field of artificial intelligence, and discloses a text processing method and device, electronic equipment and a storage medium. The method comprises: determining a matching weight matrix of a query text relative to a to-be-matched text, the matching weight matrix comprising at least one of a first weight matrix and a second weight matrix; according to the matching weight matrix, enhancing a similarity matrix of the query text relative to the to-be-matched text, and obtaining a first similarity matrix, wherein the similarity matrix of the query text relative to the to-be-matched text is obtained by conducting similarity calculation according to word vectors of all segmented words in the query text and word vectors of all segmented words in the to-be-matched text; determining a matching degree score between the query text and the to-be-matched text according to the first similarity matrix; and determining a target matching text according to the matching degree score betwee |
---|