HK1140559A - An error-tolerant word processing system and method - Google Patents
An error-tolerant word processing system and method Download PDFInfo
- Publication number
- HK1140559A HK1140559A HK10106658.8A HK10106658A HK1140559A HK 1140559 A HK1140559 A HK 1140559A HK 10106658 A HK10106658 A HK 10106658A HK 1140559 A HK1140559 A HK 1140559A
- Authority
- HK
- Hong Kong
- Prior art keywords
- character
- word
- fault
- tolerant
- characters
- Prior art date
Links
Description
Technical Field
The invention relates to a word processing system with fault-tolerant function and a method thereof.
Background
At present, as electronic products capable of inputting characters are increasingly miniaturized and portable, keyboards for inputting characters are also miniaturized, the space between keys is smaller and smaller, the contact area of each character key is relatively reduced, and various keys are combined more closely, so that the size of the electronic products can be greatly reduced, but inconvenience is brought to the operation of a user.
Therefore, how to effectively improve the accuracy of character input is an urgent problem to be solved in the field of character input.
Disclosure of Invention
The invention aims to provide a character processing technology and a method for overcoming the interference of man-made input errors through a fault-tolerant technology, correcting mistakenly input characters and improving the accuracy rate of character input.
In order to achieve the above object, the present invention provides a word processing system with fault tolerance function, comprising:
the input module is used for inputting characters, and the characters comprise a first character and a second character;
a character fault-tolerant table comprising a combination of a first character and a second character having a fault-tolerant compatible relationship;
the fault-tolerant processing module is used for receiving the first character output by the input module and finding out a second character which is mutually fault-tolerant compatible with the first character in a character fault-tolerant table;
the word stock is used for storing words;
the word searching module is used for searching words consisting of second characters in the word stock;
the output module is used for outputting the characters found by the character search module; and
and the distribution module is used for carrying out classification processing on the searched characters according to the fault-tolerant compatibility relation.
In the invention, the character fault-tolerant table further comprises a position relation of a first character and a second character with fault-tolerant compatible relation on the input module, wherein the position relation of the first character on the input module is an adjacent relation, and preferably the adjacent relation is a left-right adjacent relation or/and an upper-lower adjacent relation.
The first character is the composition of a certain character in the word stock or the syllable thereof, and when the first character is the composition of the character, the first character can be one or more of letters, phonetic symbols or strokes of any language.
The invention also provides a word processing method of the word processing system, which comprises the following steps:
step 1) establishing a word stock and a character fault-tolerant table, wherein the word stock stores a plurality of characters, and the character fault-tolerant table comprises a plurality of pairs of first characters and second characters which have fault-tolerant compatible relations;
step 2) inputting a first character;
step 3), fault-tolerant processing is carried out, and at least one second character which is mutually fault-tolerant and compatible with the first character is found out in the character fault-tolerant table;
step 4) searching processing, namely judging whether the word stock has characters consisting of second characters or syllables thereof, outputting word stock comparison results, and judging whether the characters are output according to the word stock comparison results;
and 5) adding the characters matched with the characters in the word stock into a word candidate area so as to allow a user to select target characters for output.
Compared with the prior art, the word processing system and the word processing method have the following advantages:
1) the accuracy of character input is improved: the method adopts a fault-tolerant input technology to set a mutual fault-tolerant relationship between input characters and output characters, particularly a one-to-one character fault-tolerant compatible relationship, and associates the fault-tolerant compatible relationship with a certain position relationship among characters on an input module, so that the correct output of the characters cannot be influenced even if a certain other character is mistakenly pressed due to carelessness in the character input process, and the character input accuracy is improved;
2) the application range is wide: the method can be applied to various character input systems, such as Chinese, English, Japanese and other languages, different character libraries and word libraries are established according to different languages, a system for performing input processing by taking the voice or syllables of characters as media, a syllable library corresponding to the characters can be established, and the characters can be input according to different input forms, languages and the size of the word libraries. On the other hand, the input module can be various full keyboards, including mechanical keyboards and touch screen keyboards, and can be applied to various character input devices such as mobile phones, computers, PDAs and the like;
3) in the input module, every two characters with fault-tolerant compatible relation can be adjacent relation, thus, in the character input process, the problem of error output or output interruption caused by error input of adjacent characters due to undersize of a keyboard or error operation is solved, the error press of a user is automatically corrected by means of a fault-tolerant technology, and the efficiency and the accuracy of character output are effectively improved;
4) the fault-tolerant forms are diversified: various different character relation tables can be established in the fault-tolerant table aiming at different languages or input forms, in the character relation table, the one-to-one corresponding fault-tolerant compatible relation between a single input character and a single output character can be set, the mutual fault-tolerant compatible relation between the single input character and a plurality of output characters can also be set, and the like;
5) in the word processing system, the input form may be diversified, the input first character may constitute a word in the lexicon or a syllable thereof, when it is a syllable, the input form may be selected as pinyin input or ZhuYin input, and the input form is changed accordingly according to different languages.
In order that the invention may be more readily understood, various embodiments of the invention will be further described with reference to the accompanying drawings.
Drawings
FIG. 1 is a block diagram schematically illustrating the structure of a word processing system according to the present invention;
FIG. 2 is a flow chart of a word processing method according to the present invention.
Detailed Description
The invention provides a word processing system with fault-tolerant function, which can apply the input of various language words to various full-keyboard word input devices (such as computer keyboard, mobile phone keyboard or touch keyboard, etc.), sets the fault-tolerant compatibility relationship between any two characters or between one character and a plurality of characters by defining the matching relationship between a plurality of characters on an input module, thereby inputting a certain first character or character string to the word processing system, outputting a second character or character string which is the same as or has wrong compatibility after fault-tolerant compatibility, and searching the corresponding words from a word stock and outputting the second character or character string.
Referring to fig. 1, in a preferred embodiment of the word processing system of the present invention, the word processing system comprises an input module 1, a decoding module 2, a character fault-tolerant table 3, a fault-tolerant processing module 4, a word stock 5, a word searching module 6, and an output module 7, wherein the input module 1 is used for inputting a code representing a first character, which may be a keyboard, preferably a full keyboard of various word input devices; the input end of the decoding module 2 is connected with the output end of the input module 1, and is used for receiving the codes output by the input module 1 and decoding the codes to generate first characters corresponding to the codes and graphs characterized as the first characters; the character fault-tolerant table 3 records all first characters on the input module 1 and second characters having fault-tolerant compatibility relation with the first characters; the fault-tolerant processing module 4 is connected with the character fault-tolerant table 3, the input end of the fault-tolerant processing module is connected with the output end of the decoding module 2, and the fault-tolerant processing module is used for receiving the first character output by the decoding module 2 and searching at least one second character which is mutually fault-tolerant and compatible with the first character in the character fault-tolerant table 1; the word stock 5 is used for storing a plurality of characters of a certain language, and the characters can be single characters or phrases; the word searching module 6 is connected with the word bank 5, the input end of the word searching module is connected with the output end of the fault-tolerant processing module 4, and the word searching module is used for searching words consisting of second characters in the word bank 5; the output module 7 may be a screen, and an input end of the output module is connected to an output end of the text search module 6, and is configured to output the text searched by the text search module 6.
In the character fault-tolerant table 3 of the present invention, a plurality of storage spaces are divided, and are respectively used for storing each character relationship table, in a preferred embodiment of the present invention, the input module 1 is set as an english keyboard, a certain character relationship table comprises a fault-tolerant compatible relationship between a certain first character and a certain second character on the input module 1, and a compatible relationship between any two characters is defined in a three-dimensional array form, such as { a, s, 1}, which represents that a fault-tolerant compatible relationship exists between a first character "a" and a second character "s"; in another set of character relationship tables, such as { a, t, 0}, there is no fault-tolerant compatibility relationship between the first character "a" and the second character "t". The expression form of the character relation table is not limited, and the character relation table can be represented by a three-dimensional array or a two-dimensional array and the like. In the character relation table of the three-dimensional array, the relation between two characters of mutual fault-tolerant compatibility and mutual non-fault-tolerant compatibility is respectively represented by '1' and '0'. Generally, in the character relationship table, only a number of pairs of combinations of a first character and a second character having a fault-tolerant compatible relationship are described. For English letters or Chinese Pinyin, the character fault-tolerant table 3 contains 26 × 26 character relationship tables, and for ZhuYin, 36 × 36 character relationship tables. Of course, the number of the character relationship table is determined according to the number of the first characters on the input module 1. Comprises that
In a preferred embodiment of the present invention, the character fault-tolerant table further comprises a positional relationship between every two first characters and second characters on the input module, wherein the first characters and the second characters have fault-tolerant compatibility relationship. In other words, the second character is also indicated on the input module, and the positions of two characters with fault-tolerant compatibility relation on the input module are correlated. The position relation of every two first characters and every two second characters on the input module is adjacent, preferably left-right adjacent or/and up-down adjacent. Taking an English full keyboard as an example, in an English character area, when the position relationship on the keyboard between characters which are mutually fault-tolerant and compatible is set as a left-right adjacent relationship in a character fault-tolerant table, taking a character 'g' as an example of a first character, a character 'f' and a character 'h' which are adjacent to the character 'g' in the left-right direction have a fault-tolerant compatible relationship with the first character 'g', and can be used as a second character which is compatible with the first character 'g' in a fault-tolerant manner, so that the fault-tolerant compatible relationship between the characters on the input module 1 is defined.
The first character is a component of a certain word in the lexicon 5 or a syllable thereof, such as: in the english word "about", 5 english letters as the first characters constitute the composition of the word; in the Chinese character word "umbrella", the pinyin thereof is "yusan", which can be found from the lexicon 5 by the syllable consisting of the first character "yusan". The first character is one or more of letters, phonetic symbols or strokes of any language, i.e. the composition or syllable of a certain character can be reflected by these several character forms.
In the character fault-tolerant table of the present invention, the fault-tolerant compatibility relationship is provided between at least one first character and at least one second character. Among them, there are three cases: firstly, a fault-tolerant compatibility relationship between one character and another character; secondly, fault-tolerant compatibility relation between one character and a plurality of characters; and thirdly, the characters and the fault-tolerant compatibility relationship among the characters. Taking the first case as an example, if adjacent characters on the input module are preset to have a fault-tolerant compatibility relationship, for example, a fault-tolerant compatibility relationship exists between the character "d" and the character "f", then when the first character string "faxue" is input, through fault-tolerant analysis processing, several groups of second character strings, including "daxue", can be found, and then the word stock is imported, so as to find the word group "university" matching with the syllable. Taking the second case as an example, when the first character is a syllable of a certain character, a fault-tolerant compatible relationship is set between the character "c" and two characters "ch" which are mutually harmonic in the character fault-tolerant table, that is, the first character and the second character which are mutually fault-tolerant compatible have the same or similar syllables, for example, when the first character string "cab" is input, a plurality of groups of second character strings including "cab" are found through fault-tolerant analysis processing, the second character string "cab" is imported into the word stock, and the phrase "difference" matched with the second character string is found. Therefore, by setting the fault-tolerant compatibility relationship between harmonic characters or character strings, the word processing system can find out the word or phrase matched with the syllable of the first input character or character string to help output the word with incorrect spelling.
In another embodiment of the present invention, the decoding module 2 can also be omitted, and the input character code is directly decoded by the input module 1 and then transmitted to the character fault-tolerant table for fault-tolerant analysis.
Referring to fig. 2, the following describes a method for performing word processing using the word processing system:
step 1) establishing a word stock and a character fault-tolerant table, wherein the word stock stores a plurality of characters, and the character fault-tolerant table comprises a plurality of pairs of first characters and second characters which have fault-tolerant compatible relations;
step 2) inputting a first character;
step 3), fault-tolerant processing is carried out, and at least one second character which is mutually fault-tolerant and compatible with the first character is found out in the character fault-tolerant table;
step 4) searching processing, namely judging whether the word stock has characters consisting of second characters or syllables thereof, outputting word stock comparison results, and judging whether the characters are output according to the word stock comparison results;
and 5) adding the characters matched with the characters in the word stock into a word candidate area so that a user can select a desirable target from the candidate area according to self-intention and output the target.
In step 1), in a certain word processing system, storing a plurality of words of a certain language in the word stock, wherein the words at least comprise single words and phrases; the character fault-tolerant table is divided into a plurality of storage spaces which are respectively used for storing a plurality of character relation tables, and three different embodiments are respectively provided according to the definition of the character relation tables:
in the first embodiment, the fault-tolerant compatibility relationship between any first character and any second character in the input module is defined in the character relationship table.
In the second embodiment, the fault-tolerant compatibility relationship between a first character and a plurality of second characters in the input module is defined in the character relationship table.
In the third embodiment, the fault-tolerant compatibility relationship between the plurality of first characters and the plurality of second characters in the input module is defined in the character relationship table.
In the first embodiment of the character relation table, any one first character and one second character having a fault-tolerant compatible relation have a correlated position relation on the input module, the position relation may be an adjacent relation, such as adjacent left and right or adjacent up and down, and it means that two first characters having a fault-tolerant compatible relation are located at adjacent positions on the input module, so that when a user mistakenly inputs a first character due to a keystroke error, another adjacent fault-tolerant character can be drawn out and output according to the character fault-tolerant table, and thus, even if another key adjacent to the first character is mistakenly input due to the keystroke error, the target character can be mapped and led in through fault-tolerant processing. For example, in an English full keyboard, a fault-tolerant compatibility relationship is set between a character "u" and a character "y" and a character "i" adjacent to the character "u", when the character "u" is input, the character "u" is used as a first character, two second characters "y" and "i" compatible with the character "u" and the first character "u" can be output, so that when a user needs to input the character "y" but incorrectly inputs the first character "u" adjacent to the character "u", the "y" compatible with the character "u" can be exported through a fault-tolerant processing module, and vice versa. Therefore, the consequence caused by mistaken input of the adjacent keys is solved, and the correct output of the characters is guided.
In the second embodiment of the character relationship table, a first character and a plurality of second characters having fault-tolerant compatibility relationship can be fault-tolerant compatible with each other in pronunciation, that is, fault-tolerant compatibility relationship is established between characters and characters, character and character strings, and character strings having the same or similar syllables, when inputting through syllables, a syllable composed of the input first character or character string, or the character or character string compatible therewith is found, and a character corresponding thereto is found through the syllable. For example, in an English keyboard, a fault-tolerant compatible relationship is set between a character "z" with similar pronunciation and two characters "zh", when a first character "z" is input, the character "z" and another group of characters "zh" compatible with the character "z" can be output through fault-tolerant processing, and two results are output for selection, and vice versa. Therefore, the method can help people correct the pronunciation of characters or characters and guide correct output by the way that the same or similar pronunciations are mutually compatible.
According to different applicable languages and different forms of the first character, different character relation tables can be set in the word processing system, and the error-tolerant technology is applied to improve the accuracy of character or word output by combining different characteristics of word input.
In step 2), the second character may include the first character, which indicates that the fault-tolerant compatible character also includes the same character, and the second character output after the fault-tolerant processing includes both the character compatible with the second character and the first character itself.
For example, in an english full keyboard, a character "j" and two adjacent characters "k" and "h" are in a fault-tolerant compatible relationship, and when a first character "j" is input, the first character "j" and two other second characters "k" and "h" can be output after fault-tolerant processing.
In step 3), the process of fault-tolerant processing is determined according to a fault-tolerant table, in the first embodiment of the character relation table, a one-to-one correspondence relationship is formed between the first character and the second character which are mutually fault-tolerant compatible, that is, a certain first character is input, and only one second character which is mutually fault-tolerant compatible with the first character can be output through fault-tolerant processing; and so on.
In step 4), the searching process is determined according to the form of the second character, when the Chinese character is output by using the English keyboard and the pinyin input method in a certain character processing system, the second character is a syllable of the Chinese character, a single character or a phrase matched with the second character is found out in a word stock according to the syllable, and the single character or the phrase is output to a candidate area for candidate; similarly, when the english keyboard is selected to output english words, the second character is the character itself, and the matching english word is found in the word stock according to the english character string composed of the compatibly output second characters.
And 5) judging whether to output the search result according to the word bank search comparison result, if the word completely identical to the second character or the syllable identical to the second character is found, judging that the comparison result is true, outputting the search result, and if the conditions of incomplete input, redundant input, partial correct input and the like are all considered as false, outputting and displaying.
In a preferred embodiment of the present invention, a fault-tolerant compatible relationship between any one first character and one second character in an input module is defined in a character relationship table, and when an english keyboard is selected to output chinese characters by a pinyin input method:
step 1') establishing a word stock and a character fault-tolerant table, wherein the word stock stores a plurality of Chinese single characters or word groups, and the character fault-tolerant table comprises all first characters on an input module and second characters with fault-tolerant compatible relation with the first characters;
step 2') inputting a plurality of first characters to form a first character string; such as: inputting a first character string 'fuhao';
step 3') fault-tolerant processing, namely searching at least one second character which is mutually fault-tolerant and compatible with the first character in the character fault-tolerant table, and arranging the searched second character according to the input sequence of the first character which is compatible with the second character to generate a plurality of groups of second character strings;
if any two first characters with fault-tolerant compatibility relationship have left-right adjacent position relationship on the input module, the first character strings are subjected to fault-tolerant processing respectively to obtain second character strings compatible with the first character strings, and the method comprises the following steps: fuhao, guhao, duhao, fihao, fyhao, fugao, fudao, etc., and the second character strings may be searched and compared in the word stock to judge whether there is corresponding character.
In step 4') further comprising:
step 41') dividing each group of second character strings into a plurality of groups of character segments with different character lengths;
taking the second character string "fuhao" as an example, the second character string is divided into a plurality of groups of character segments with different word lengths, including "f/uhao", "fu/hao", "fuh/ao", "fuha/o", and "fuhao", etc.;
step 42') comparing each of said character segments with syllables of the Chinese characters in the lexicon, respectively, and outputting the comparison result:
comparing the character segments with syllables of the Chinese characters in the word stock one by one according to the ascending order of the word length, namely comparing the character segments such as 'f/uhao', 'fu/hao', 'fuh/ao', 'fuha/o' and 'fuhao' with the syllables of the Chinese characters in the word stock respectively;
step 421'), in any group of second character strings, comparing the character segments in the input sequence of the compatible first character;
if the nth character field is matched with the syllable of a single character in the word stock, turning to the step 4211');
4211') comparing the n +1 th character segments, setting the current character index (zifuindex) as the length of the syllable corresponding to the first word plus 1, and setting the character index (zilndex) plus 1 to indicate that the search cursor points to the next character segment of the syllable and the cursor points to the next found character of the word;
for example, in the second string "fu/hao", including the first character segment "fu" and the second character segment "hao", the first character segment "fu" is first compared with syllables of characters in the lexicon, and a plurality of single characters corresponding to the syllables are found: character, uniform, rich, complex, right, etc., the word stock can be searched for the single character matched with the syllable of the word stock by adopting the first character segment, the character index (zifuindex) is set as the length of the syllable corresponding to the first character of the word plus 1, meanwhile, the character index setting (zilndex) plus 1, the search cursor points to the second character segment of the syllable, and the cursor points to the next character.
If the nth character segment is not matched with any single character or syllable in the word stock, the character segment searching process is terminated.
For example, in the second character string "f/uhao", the first character segment "f" and the second character segment "uhao" are included, the first character segment "f" is firstly compared with syllables of characters in the word stock, and if no single character or word group corresponding to the syllable is found, the comparison of the second character segment "uhao" is not performed any more, and the word stock searching process is terminated.
Step 4212') determines whether the subscript (zilndex) of the current word is greater than the length of the current word, i.e. whether the next word exists:
if the subscript of the current character is larger than the length of the word, judging that the next character exists, and turning to step 422');
if the subscript of the current character is less than or equal to the length of the word, judging that the next character does not exist, turning to step 4213');
step 4213') determines whether the current index (zifulndex) is greater than the total length of the current second string, i.e. whether the next syllable segment exists:
if the subscript of the current character is larger than the total length of the second character string, judging that the next syllable still exists, turning to the step 4211'), and comparing the character segments of the next syllable;
in this embodiment, the second character segment "hao" is compared, and a plurality of single words corresponding to the syllable are found in the word stock: comparing the syllable character segments one by one, such as good, number, consumption, good, luxury, and the like;
if the subscript of the current character is less than or equal to the total length of the second character string, judging that the next syllable does not exist, and turning to step 422') if the character segment comparison is finished;
in this embodiment, after the comparison of the second character segment "hao" is completed, the length of the subscript (zifuIndex) of the current character is set to 5, and if the length is the same as the length of the second character string, it is determined that the next syllable does not exist, and the character segment comparison process is ended.
Step 422') combining the single characters corresponding to each character segment in the second character according to the input sequence to form a plurality of phrases, such as: the word group is put into a word stock for comparison, and whether the same word group exists in the word stock is searched:
if the comparison result is not matched, returning to step 421'), and performing syllable character segment comparison on another group of second character strings;
in this embodiment, if the syllable segment search for a certain second string "duhao" is performed, the result may be "degree good", and in the word bank comparison, if the word does not exist, the syllable segment comparison of another set of second strings is performed.
If the comparison result is that the characters are matched with each other, the step 4221') is carried out, the subscript (zilndex) of the character is added with one, and the character cursor points to the next Chinese character; adding one to the subscript (zifuIndex) of the character, pointing the character cursor to the next syllable, returning to the step 4212'), judging the length of the character again, and judging whether to finish the comparison process of the syllable character segments according to the comparison of the length of the character;
step 422') combining the single characters corresponding to each character segment in the second character according to the input sequence to form a plurality of phrases, such as: the word group is put into a word stock for comparison, and whether the word group is output is judged according to the word stock comparison result;
4221 ') if the word stock comparison result is true, searching the same word group in the word stock, and indicating that the second character string forms the syllable of a certain word group in the word stock, turning to step 5'), and outputting and displaying the syllable for selection;
step 4222') if the result of the thesaurus comparison is false, that is, the same phrase is not searched in the thesaurus, which indicates that the second character string cannot form a certain character, the thesaurus searching process is terminated and no output display is performed.
And 5') adding the word groups matched with the word groups in the word stock into a word candidate area, wherein a plurality of characters or word groups can appear in the candidate area according to different sizes of the word stock, different input first characters and different character segment division of the fault-tolerant second characters, so that a user can select a desired target from the candidate area according to self intention to output the target.
Preferentially outputting the comparison results which are the same as the first character string in the phrase candidate area; and secondly, the search results are sorted from high to low according to the descending order of the use frequency of the search results, so that people can be helped to find out a desirable target phrase as soon as possible and output the phrase.
In this embodiment, after syllable segment comparison and word stock comparison are sequentially performed on the second character string "fuhao", the following phrases are derived: symbols, luxury, minus, drum, logo, coaching, gynaecological, secondary, etc.
In the invention, the word processing system and the processing method thereof have the following advantages:
1) the accuracy of character input is improved: the method adopts a fault-tolerant input technology to set a mutual fault-tolerant relationship between input characters and output characters, particularly a one-to-one character fault-tolerant compatible relationship, and associates the fault-tolerant compatible relationship with a certain position relationship among characters on an input module, so that the correct output of the characters cannot be influenced even if a certain other character is mistakenly pressed due to carelessness in the character input process, and the character input accuracy is improved;
2) the application range is wide: the method can be applied to various character input systems, such as Chinese, English, Japanese and other languages, different character libraries and word libraries are established according to different languages, a system for performing input processing by taking the voice or syllables of characters as media, a syllable library corresponding to the characters can be established, and the characters can be input according to different input forms, languages and the size of the word libraries. On the other hand, the input module can be various full keyboards, including mechanical keyboards and touch screen keyboards, and can be applied to various character input devices such as mobile phones, computers, PDAs and the like;
3) in the input module, every two characters with fault-tolerant compatible relation can be adjacent relation, thus, in the character input process, the problem of error output or output interruption caused by error input of adjacent characters due to undersize of a keyboard or error operation is solved, the error press of a user is automatically corrected by means of a fault-tolerant technology, and the efficiency and the accuracy of character output are effectively improved;
4) the fault-tolerant forms are diversified: various different character relation tables can be established in the fault-tolerant table aiming at different languages or input forms, in the character relation table, the one-to-one corresponding fault-tolerant compatible relation between a single input character and a single output character can be set, the mutual fault-tolerant compatible relation between the single input character and a plurality of output characters can also be set, and the like;
5) in the word processing system, the input form may be diversified, the input first character may constitute a word in the lexicon or a syllable thereof, when it is a syllable, the input form may be selected as pinyin input or ZhuYin input, and the input form is changed accordingly according to different languages.
However, the above description is only a preferred embodiment of the present invention, and should not be taken as limiting the scope of the invention, which is intended to cover all the modifications and equivalents of the claims and the specification.
Claims (12)
1. A fault tolerant word processing system, comprising:
the input module is used for inputting characters, and the characters comprise a first character and a second character;
a character fault-tolerant table comprising a combination of a first character and a second character having a fault-tolerant compatible relationship;
the fault-tolerant processing module is used for receiving the first character output by the input module and finding out a second character which is mutually fault-tolerant compatible with the first character in a character fault-tolerant table;
the word stock is used for storing words;
the word searching module is used for searching words consisting of second characters in the word stock; and
and the output module is used for outputting the characters found by the character search module.
2. The word processing system of claim 1, wherein: the fault-tolerant compatibility relationship is between at least one first character and at least one second character.
3. The word processing system of claim 2, wherein: the character fault-tolerant table further comprises the position relation of the characters which are mutually fault-tolerant and compatible on the input module.
4. The word processing system of claim 3, wherein: the position relation of the first character and the second character on the input module is an adjacent relation, and the adjacent relation is a left-right adjacent relation or/and an up-down adjacent relation.
5. The word processing system of claim 1, wherein: the first character is a component of the Chinese characters in the word stock or syllables thereof.
6. The word processing system of claim 5, wherein: the first character and the second character which are mutually fault-tolerant compatible have the same or similar syllables.
7. A character processing method adopting fault-tolerant technology is characterized in that:
step 1) establishing a word stock and a character fault-tolerant table, wherein the word stock stores a plurality of characters, and the character fault-tolerant table comprises a combination of a first character and a second character which have a fault-tolerant compatible relation;
step 2) inputting a first character;
step 3), fault-tolerant processing is carried out, and a second character which is mutually fault-tolerant and compatible with the first character is found out in the character fault-tolerant table;
step 4) searching processing, namely judging whether the word stock has characters consisting of second characters or syllables thereof, outputting word stock comparison results, and judging whether the characters are output according to the word stock comparison results;
and 5) adding the characters matched with the characters in the word stock into a word candidate area so as to enable a user to select target characters from the candidate area for outputting.
8. The method of claim 7, wherein:
step 2) inputting a plurality of first characters to form a first character string;
and 3) fault-tolerant processing, namely searching at least one second character which is mutually fault-tolerant and compatible with the first character string in the character fault-tolerant table, and arranging the searched second characters according to the input sequence of the first character which is compatible with the second characters to generate a plurality of groups of second character strings.
9. The method of claim 8, wherein: further comprising in step 4):
step 41) dividing each group of second character strings into a plurality of groups of character segments with different character lengths
Step 42) comparing the character segments with the characters in the word stock or syllables thereof respectively and outputting the comparison result.
10. The method of claim 9, wherein: in step 42): and comparing the character segments with the characters in the word stock or syllables thereof one by one according to the ascending order of the word length.
11. The method of claim 10, wherein: in step 42) further comprising:
step 421) comparing the character segments in any group of second character strings one by one according to the input sequence of the compatible first characters;
if the nth character field matches with a single character or syllable in the word stock, go to step 4211);
if the nth character segment is not matched with any single character or syllable in the word stock, the character segment comparison process is completed;
step 4211) comparing the n +1 th character segment;
step 422) combining the single characters of each character segment in the corresponding second character string according to the input sequence to form a plurality of phrases, putting the phrases into a word stock for comparison, and searching whether the same phrases exist in the word stock:
if the word stock comparison results are mutually matched, namely the same phrases are searched in the word stock, turning to the step 5), and outputting and displaying the phrases for selection;
if the word stock comparison results are not matched, i.e. the same word group is not searched in the word stock, the step 421) is returned, syllable character segment comparison is performed on another group of second character strings, or the word stock search process is terminated, and no output display is performed.
12. The method of claim 11, wherein: in step 421) further comprising:
4211) if the nth character segment is matched with the syllable of a single character in the word stock, comparing the (n + 1) th character segment, wherein the subscript of the current character is set as the length of the syllable corresponding to the first character of the word plus 1, and the subscript of the character plus 1;
step 4212) determining whether the subscript of the current word is greater than the length of the current word:
if the subscript of the current character is greater than the length of the word, go to step 422);
if the subscript of the current word is less than or equal to the length of the word, go to step 4213);
step 4213) determining whether the current character subscript is greater than the total length of the current second character string:
if the subscript of the current character is larger than the total length of the second character string, turning to step 4211), and comparing the next syllable character segment;
if the subscript of the current character is less than or equal to the total length of the second character string and the character segment comparison is finished, go to step 422).
Publications (1)
| Publication Number | Publication Date |
|---|---|
| HK1140559A true HK1140559A (en) | 2010-10-15 |
Family
ID=
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US10489508B2 (en) | Incremental multi-word recognition | |
| US7129932B1 (en) | Keyboard for interacting on small devices | |
| US10241673B2 (en) | Alternative hypothesis error correction for gesture typing | |
| JP5362095B2 (en) | Input method editor | |
| RU2377664C2 (en) | Text input method | |
| JP4829901B2 (en) | Method and apparatus for confirming manually entered indeterminate text input using speech input | |
| JP5997217B2 (en) | A method to remove ambiguity of multiple readings in language conversion | |
| US8077974B2 (en) | Compact stylus-based input technique for indic scripts | |
| CN103026318A (en) | Input method editor | |
| KR20010024309A (en) | Reduced keyboard disambiguating system | |
| US20080300861A1 (en) | Word formation method and system | |
| CN102455845A (en) | Character input method and device | |
| CN111259170A (en) | Voice search method and device, electronic equipment and storage medium | |
| CN101630309A (en) | Word processing system with fault tolerance function and method | |
| CN101630310A (en) | Word processing system with fault tolerance function and method | |
| HK1140559A (en) | An error-tolerant word processing system and method | |
| CA2584444C (en) | Handheld electronic device and method for performing optimized spell checking during text entry by providing a sequentially ordered series of spell-check algorithms | |
| Kyaw Thu | Positional prediction: consonant cluster prediction text entry method for Burmese (Myanmar Language) | |
| EP1843254A1 (en) | Handheld electronic device and method for performing spell checking during text entry and for integrating the output from such spell checking into the output from disambiguation | |
| KR100950797B1 (en) | How to enter characters on devices with a virtual keyboard | |
| CN103123539A (en) | Matching method of T9 keyboard numbers and Chinese | |
| HK1170318B (en) | Input method editor | |
| Sandeva | Design and Evaluation of User-friendly yet | |
| HK1112770B (en) | Method and apparatus for inputing chinese phrase | |
| HK1112770A1 (en) | Method and apparatus for inputing chinese phrase |