Text rewriting method and device, voice interaction method and device and electronic equipment
The invention provides a text rewriting method and device, a voice interaction method and device and electronic equipment, and the method comprises the steps: obtaining a to-be-rewritten text, recognizing a named entity in the to-be-rewritten text, and determining the position information of the nam...
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 provides a text rewriting method and device, a voice interaction method and device and electronic equipment, and the method comprises the steps: obtaining a to-be-rewritten text, recognizing a named entity in the to-be-rewritten text, and determining the position information of the named entity in the to-be-rewritten text; inputting the position information and the to-be-rewritten text into a language model, and obtaining and outputting a first rewritten text of the to-be-rewritten text by the language model; inputting the position information and the to-be-rewritten text into a graph network, and obtaining and outputting a second rewritten text by the graph network; respectively determining the confusion degree of the first rewritten text and the second rewritten text, and determining the rewritten text with the lowest confusion degree as the target rewritten text of the to-be-rewritten text. In the process, the position information of the named entity is combined, the semantic fluency of the t |
---|