Invention Grant
- Patent Title: Method and device for correcting error in text
-
Application No.: US16692549Application Date: 2019-11-22
-
Publication No.: US11080492B2Publication Date: 2021-08-03
- Inventor: Zhuobin Deng , Liqun Zheng , Xiyi Luo , Zhihong Fu , Jingzhou He
- Applicant: Beijing Baidu Netcom Science and Technology Co., Ltd.
- Applicant Address: CN Beijing
- Assignee: Beijing Baidu Netcom Science and Technology Co., Ltd.
- Current Assignee: Beijing Baidu Netcom Science and Technology Co., Ltd.
- Current Assignee Address: CN Beijing
- Agency: Akerman LLP
- Priority: CN201811543962.6 20181217
- Main IPC: G06F40/30
- IPC: G06F40/30 ; G06F40/289 ; G06N3/04 ; G06N3/08

Abstract:
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.
Information query