Text processing method and device, computer equipment and storage medium

The invention relates to a text processing method and device, computer equipment and a storage medium. The method comprises the steps of obtaining a first training text; if the length of the first training text is greater than a length threshold, removing semantic irrelevant words in the first train...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: LIU YUNFENG, ZHENG ZHE, ZHANG QIUSHI, LI SONGRU
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention relates to a text processing method and device, computer equipment and a storage medium. The method comprises the steps of obtaining a first training text; if the length of the first training text is greater than a length threshold, removing semantic irrelevant words in the first training text to obtain a processed text; obtaining a word vector corresponding to each segmented word inthe processing text to obtain an initial word vector sequence; performing statistics according to the initial word vector sequence to obtain a statistical word vector corresponding to a removal wordin the first training text; adding the statistical word vector into the initial word vector sequence according to the position of the removal word in the first training text to obtain a target word vector sequence; and training a text recognition model according to the target word vector sequence to obtain a trained text recognition model. By adopting the method, the recognition accuracy of the text recognition model can b