METHOD AND DEVICE FOR CORRECTING ERROR IN TEXT
A method and device for correcting an error in a text are provided. The method includes: preprocessing the text to obtain at least one segment of the text; generating a plurality of candidate segments for the segment; scoring the plurality of candidate segments with a tree model, to obtain respectiv...
Gespeichert in:
Hauptverfasser: | , , , , |
---|---|
Format: | Patent |
Sprache: | eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | A method and device for correcting an error in a text are provided. The method includes: preprocessing the text to obtain at least one segment of the text; generating a plurality of candidate segments for the segment; scoring the plurality of candidate segments with a tree model, to obtain respective first scoring results of the plurality of candidate segments; scoring the plurality of candidate segments with a deep neural network model, to obtain respective second scoring results of the plurality of candidate segments; for each candidate segment, calculating a scoring of the candidate segment based on the first scoring result and the second scoring result of the candidate segment; ranking the plurality of candidate segments according to the scorings of the candidate segments, to obtain a ranking result; and correcting the error in the text according to the ranking result. |
---|