Error correction method and device for modifying one or more types of wrong sentences
The invention discloses an error correction method and device for modifying one or more types of wrong sentences, and relates to the technical field of natural language processing. Comprising the steps of obtaining a sentence text to be corrected and an error type label corresponding to the sentence...
Saved in:
Main Authors | , , , , , , |
---|---|
Format | Patent |
Language | Chinese English |
Published |
04.04.2023
|
Subjects | |
Online Access | Get full text |
Cover
Loading…
Summary: | The invention discloses an error correction method and device for modifying one or more types of wrong sentences, and relates to the technical field of natural language processing. Comprising the steps of obtaining a sentence text to be corrected and an error type label corresponding to the sentence text; inputting the sentence text and the error type label into a trained sentence error correction task model; wherein the sentence error correction task model comprises a trunk model and a model prefix; and according to the sentence text, the error type tag and the sentence error correction task model, obtaining an error-free sentence text corresponding to the sentence text to be corrected. The method has the advantages of being clear in logic, high in adaptability and high in accuracy, and the problems that different error types cannot be considered and adaptive error correction cannot be carried out during sentence error correction in the prior art are well solved.
本发明公开了一种用于修改一种或多种类型错误句子的纠错方法及装置,涉及自然语言处理技术领域。 |
---|---|
Bibliography: | Application Number: CN202310213349 |