Input error correction method and apparatus
An error correction method and error correction technology, applied in the fields of natural speech processing and machine learning, can solve problems such as search engines or intelligent question answering systems that cannot be processed correctly, users cannot obtain information, and cannot be processed correctly or effectively
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
no. 1 example
[0087] In the first embodiment of the present invention, an input error correction method, such as figure 1 shown, including the following specific steps:
[0088] In step S101, it is judged whether the input character string is full pinyin; if yes, execute step S102; otherwise, execute step S103.
[0089] Step S102, perform pinyin error correction processing on the full pinyin of the word string, and reverse check the corrected full pinyin into Chinese characters to obtain the first error correction result, and the process ends.
[0090] Step S103, perform word segmentation processing on the word character string, when the number of word segmentation in the result of word segmentation processing is greater than 1, execute step S104; if the number of word segmentation in the result of word segmentation processing is 1, the word character input by the user string as the second error correction result, and the process ends.
[0091] Step S104, converting the character string i...
no. 2 example
[0096] In the second embodiment of the present invention, an input error correction method, such as figure 2 shown, including the following specific steps:
[0097] Step S201, pre-establishing a word list, a pinyin reverse look-up table and a word frequency table.
[0098] Specifically, step S201 includes:
[0099] Provide training corpus;
[0100] Segment the training corpus to obtain a list of words;
[0101] On the basis of the word list, the pinyin reverse look-up table is generated by using the pinyin reverse look-up table generation tool, and the word frequency table is obtained according to the word list by means of statistics.
[0102] In the embodiment of the present invention, in the process of establishing the word list, pinyin reverse look-up table and word frequency table, the word information provided by the training corpus is fully and effectively used, and can be quickly applied to self-defined word error correction in different fields.
[0103] Step S202,...
no. 3 example
[0126] In the third embodiment of the present invention, an input error correction method, such as image 3 shown, including the following specific steps:
[0127] Step S201, pre-establishing a word list, a pinyin reverse look-up table and a word frequency table.
[0128] Specifically, step S201 includes:
[0129] Provide training corpus;
[0130] Segment the training corpus to obtain a list of words;
[0131] On the basis of the word list, the pinyin reverse look-up table is generated by using the pinyin reverse look-up table generation tool, and the word frequency table is obtained according to the word list by means of statistics.
[0132] Step S202, judging whether the input character string is full pinyin; if yes, execute step S203; otherwise, execute step S204.
[0133] Step S203, perform pinyin error correction processing on the full pinyin of the word character string according to the word list, pinyin reverse lookup table and word frequency table, reverse check th...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com