CN100559332C - Recover the system and method for deleted characters - Google Patents

Recover the system and method for deleted characters Download PDF

Info

Publication number
CN100559332C
CN100559332C CNB2008101705019A CN200810170501A CN100559332C CN 100559332 C CN100559332 C CN 100559332C CN B2008101705019 A CNB2008101705019 A CN B2008101705019A CN 200810170501 A CN200810170501 A CN 200810170501A CN 100559332 C CN100559332 C CN 100559332C
Authority
CN
China
Prior art keywords
character
deleted
literal
quilt
input frame
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CNB2008101705019A
Other languages
Chinese (zh)
Other versions
CN101387919A (en
Inventor
陈坚
李伟杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CNB2008101705019A priority Critical patent/CN100559332C/en
Publication of CN101387919A publication Critical patent/CN101387919A/en
Application granted granted Critical
Publication of CN100559332C publication Critical patent/CN100559332C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

The invention provides a kind of system and method that recovers deleted characters.Described system comprises the dictionary of storing literal; Character to input carries out code conversion and transcoder unit, the record cell of output corresponding candidate speech tabulation from dictionary, the literal that is complementary with character that generates in character of importing in the storage input frame and the candidate word list box; The character deletion detecting unit, the character of having imported in the deletion input frame, detection is deleted the quilt of character in record cell institute store character and is deleted the position; Recovery unit, delete the quilt of character in record cell according to the quilt that detects and delete the position, judge that the character re-enter in input frame is whether identical with character in the record cell, if identical, then in input frame, deleted described in the output record unit behind the position character and in the candidate word list box output record unit storage with the described literal that is complementary by character after deleting the position.The present invention is the quick-recovery deleted characters soon, has improved the input efficiency of literal greatly.

Description

Recover the system and method for deleted characters
Technical field
The present invention relates to character computer input field, be specifically related to a kind of system and method that recovers deleted characters.
Background technology
The computer user will be input to computer with Chinese character, needs to use input in Chinese software.At present, input in Chinese software can be divided into keyboard input and non-keyboard input, and what comparative maturity and use were the widest is the keyboard input.Input in Chinese software is a tool software that operates on the computer operating system, is used for the coding of keyboard input or the media data of other non-keyboard input are converted to the Chinese character input.
(1) keyboard input in Chinese software
Keyboard input in Chinese software is to utilize keyboard, imports the method for Chinese character according to certain coding rule.
English alphabet one has 26, and they are corresponding with 26 letters on the keyboard, so for English what Input Software that do not exist, direct inputting English letter gets final product.And the number of words of Chinese character has several ten thousand, they are deleted relation with keyboard without any quilt, for to Chinese character inputting, we must encode to Chinese character, and with these the coding with keyboard on binding be, just can make us import the coding of certain Chinese character by keyboard, be Chinese character according to code conversion then.
At present, the scheme of encode Chinese characters for computer has had hundreds of, wherein operation on computers just has tens kinds, as a kind of pictograph, Chinese character is to come co expression by the sound of word, shape, justice, the coding method of Chinese character input all is to adopt sound, shape, adopted and specific key are interrelated basically, makes up the input of finishing Chinese character according to different Chinese character again.
(2) non-keyboard input in Chinese software
Non-keyboard input in Chinese software comprises handwriting input software, phonetic entry software, OCR Input Software etc.
Handwriting input software is the hand-written Chinese identification Input Software under a kind of pen type environment, the identical Chinese custom of word that writes with a pen, as long as write by usual custom on handwriting pad, computer just can show its identification.Handwriting input software needs supporting hardware handwriting pad, writes the typing Chinese character with pen (can be the hard-tipped pen of any kind) on supporting handwriting pad, and is not only convenient, fast, and character error rate is also lower.Also can write word in the appointed area with mouse, utilize hand-written software to be converted to Chinese character then, just mouse action requires very skilled.
Phonetic entry software is by the microphone sound import, uses a kind of software that converts literal to then.Though use easily, character error rate is still than higher, particularly some unbred professional term and rarely used words.Phonitic entry method requires computer to be equipped with to carry out normal recording at hardware aspect, and has debugged microphone, carries out words input facing to microphone with mandarin pronunciation.If the mandarin accent is nonstandard, the voice training program that provides with it is provided, carry out the training of a period of time, allow software be familiar with this accent, can realize the literal input by speech too.
The OCR Input Software is also referred to as optical character recognition, and it requires that the manuscript of input is converted into figure by scanner and could discern.Therefore, scanner is necessary, and the printing quality of original copy is high more, and the accuracy rate of identification is just high more, and the general preferably literal of block letter is such as books, magazine etc.If the paper of original copy is thinner, then might when scanning, also throw by figure, the literal of back side of paper, disturb last recognition effect.
Along with intelligent the improving constantly of input method, increasing input in Chinese software can both provide intelligent word (being also referred to as whole sentence generates) and phrase input function.Intelligent word is also referred to as the dynamic group speech or whole sentence generates, and to the phrase that does not have in the dictionary, input method can be searched relevant word and speech, helps the importer to form required candidate's phrase.Import whole phrase or sentence by input in Chinese software and can significantly reduce extra making speech and select the speech operation, improve typing speed.
Yet, the encoded influence of reasonable change of repeated code and Chinese of character input method of today, in intelligent word and phrase input, be not at every turn can both the needed result of the right-on user of presenting, the therefore literal in quick correction group speech of needs or the sentence.In makeover process, in order to correct certain literal, literal that may other are correct is deletion earlier, after corrigendum, more correct literal is re-entered then, and not only the literal input efficiency is low for such character input method, and loaded down with trivial details consuming time.
Below in conjunction with an input method of Chinese character above-mentioned shortcoming is described, for example: the user needs input " will take into account its numeral and optical characteristics ".The user by result shown in Figure 1 as can be known, can find not obtain fully the desirable result of user in a succession of coding of input back (following example figure all adopts Chinese phonetic alphabet coding).For " he " is revised as " it ", certain customers are got used to earlier again it being returned modification behind the screen on first candidate word.Backspace key (Backspace) can be got used to using by certain customers, " his numeral and optical characteristics " behind the last screen all deleted, and then screen in " its numeral and optical characteristics " input.In this example, when Chinese character is revised, can cause some repetitive works as can be seen, thereby make Chinese character input efficiency low, loaded down with trivial details consuming time.
Summary of the invention
One of purpose of the present invention is to provide a kind of system and method that improves the recovery deleted characters of literal input efficiency.
The invention provides a kind of system of recovering deleted characters, comprise the dictionary of storing literal; Character to input carries out code conversion and the transcoder unit of output corresponding candidate speech tabulation from dictionary; Record cell, the literal that is complementary with character that generates in character that storage is imported in the input frame and the candidate word list box; The character deletion detecting unit, the character of having imported in the deletion input frame, detection is deleted the quilt of character in record cell institute store character and is deleted the position; Recovery unit, delete the quilt of character in record cell according to the quilt that detects and delete the position, judge that the character re-enter in input frame is whether identical with character in the record cell, if identical, then in input frame, deleted described in the output record unit behind the position character and in the candidate word list box output record unit storage with the described literal that is complementary by character after deleting the position.
A kind of method of recovering deleted characters comprises:
That generate and the literal input character coupling in the character of step S1, the input of storage in the input frame and the candidate word list box;
Character that step S2, deletion have been imported in the input frame and the character number that detects deletion detect and are deleted character and delete the position at the quilt in the store character;
Step S3, delete character according to the quilt that detects and delete the position, judge that the character that re-enters is whether identical with character in the described store character at the quilt in the store character, if identical, execution in step S4 then;
Step S4, in input frame, export described in the store character character deleted behind the position and in the candidate word list box output that stored with the described literal that is complementary by character after deleting the position.
The present invention also provides a kind of system of recovering deleted characters, comprise the dictionary of storing literal, the character of input is carried out code conversion and the transcoder unit of output corresponding candidate speech tabulation from dictionary, described system also comprises record cell, storage import at every turn in input frame character and from the candidate word list box selection that shield with literal character match; Detecting unit deleted in literal, and deletion selects to go up the literal of screen, and detection is deleted the quilt of its corresponding characters of literal in record cell and deleted the position; Recovery unit, deleted the position according to deleting the quilt of its corresponding characters of literal in record cell, judge that the character re-enter in input frame is whether identical with character in the record cell, if identical, then in input frame, deleted described in the output record unit behind the position character and in the candidate word list box output record unit storage with the described literal that is complementary by character after deleting the position.
A kind of method of recovering deleted characters comprises:
The character of steps A 1, the input of storage in the input frame and from the candidate word list box that select and literal character match;
The literal of screen select is gone up in steps A 2, deletion, detects to be deleted its corresponding characters of literal and delete the position at the quilt in the store character;
Steps A 3, according to being deleted the position by being deleted the quilt of its corresponding characters of literal in record cell, judge that the character that re-enters in input frame is whether identical with character in the described store character, if identical, execution in step A4 then;
Steps A 4, in input frame, export described in the store character character deleted behind the position and in the candidate word list box output that stored with the described literal that is complementary by character after deleting the position.
A kind of system and method that recovers deleted characters provided by the invention is by record cell, character deletion detecting unit and recovery unit cooperating; Or by record cell, literal deletion detecting unit and recovery unit cooperating, can recover output at the candidate word list box and be deleted literal, improve the input efficiency of literal greatly, and effectively saved input time.
Description of drawings
Fig. 1 is the surface chart behind the coupling Chinese character in an embodiment of the prior art;
Fig. 2 is the structured flowchart that one embodiment of the invention is recovered the system of deleted characters;
Fig. 3 is the structured flowchart of one embodiment of the invention character deletion detecting unit;
Fig. 4 is the structured flowchart of one embodiment of the invention recovery unit;
Fig. 5 is the structured flowchart that further embodiment of this invention is recovered the system of deleted characters;
Fig. 6 is the structured flowchart of one embodiment of the invention literal deletion detecting unit;
Fig. 7 is the schematic flow sheet that one embodiment of the invention is recovered the method for deleted characters;
Fig. 8 is that one embodiment of the invention detects and to be deleted character and delete the schematic flow sheet of position at the quilt in the store character;
Fig. 9 is the schematic flow sheet that further embodiment of this invention is recovered the method for deleted characters;
Figure 10 is that further embodiment of this invention detects and to be deleted character and delete the schematic flow sheet of position at the quilt in the store character.
In order to make purpose of the present invention, technical scheme and advantage clearer,, the present invention is further elaborated below in conjunction with drawings and Examples.
Embodiment
A kind of system and method that recovers deleted characters provided by the invention is by record cell, character deletion detecting unit and recovery unit cooperating; Or by record cell, literal deletion detecting unit and recovery unit cooperating, can recover output at the candidate word list box and be deleted literal, improve the input efficiency of literal greatly, and effectively saved input time.Concrete each unit how cooperating will in following examples, launch explanation in detail.
Fig. 2 shows the structure that one embodiment of the invention is recovered the system of deleted characters, and this system comprises dictionary 10, transcoder unit 20, record cell 30, character deletion detecting unit 40 and recovery unit 50.Should be noted that the annexation between each equipment is the needs of explaining its information interaction and control procedure for clear in all diagrams of the present invention, therefore should be considered as annexation in logic, and should not only limit to physical connection.Wherein:
Described dictionary 10, the dictionary of storage literal.
Described transcoder unit 20, the line data of going forward side by side of linking to each other with dictionary 10 is mutual, and the character of input is carried out code conversion and the transcoder unit of output corresponding candidate speech tabulation from dictionary.
Described record cell 30, the line data of going forward side by side of linking to each other with transcoder unit 20, character deletion detecting unit 40 respectively is mutual, the storage input in input frame character and the candidate word list box in that generate and the literal input character coupling.
Described character deletion detecting unit 40, the line data of going forward side by side of linking to each other with record cell 30 and recovery unit 50 is mutual, and the character of having imported in the deletion input frame detects and is deleted the quilt of character in record cell institute store character and delete the position.
Described recovery unit 50, the line data of going forward side by side of linking to each other with character deletion detecting unit 40 is mutual, delete the quilt of character in record cell 30 according to the quilt that detects and delete the position, judge that the character re-enter in input frame is whether identical with character in the record cell 30, if identical, then in input frame, deleted described in the output record unit 30 behind the position character and in the candidate word list box output record unit 30 storage with the described literal that is complementary by character after deleting the position.Described recovery unit 50 also is further used for exporting with described other type options that are complementary by character after deleting the position in the candidate word list box and selects for the user.
At an embodiment, described character comprises the combination of letter, the radical of forming by letter (for example, five-stroke input method is exactly to generate Chinese character according to radical) that the combination of described letter comprises the pinyin string that is complementary with Chinese character, be complementary with Chinese character, and the monogram that is complementary of Japanese or Korean etc.
In order to further specify embodiment shown in Figure 2, Fig. 3 shows the character deletion detecting unit 40 of one embodiment of the invention, comprises character deletion module 401 and is deleted position computation module 402.
Described character deletion module 401, the character of having imported in the deletion input frame.
The described position computation module 402 of being deleted, the line data of going forward side by side of linking to each other with character deletion module 401 is mutual, and the number of catching delete instruction and adding up its delete character is deleted the quilt of character in 30 store characters of record cell and is deleted the position thereby detect.
In one embodiment, delete key comprises backspace key.Catching delete instruction can pass through the touch potential that IMM-IME (Inputmethod manager-Input method editor, input method manager-Input Method Editor) catches backspace and obtain.In one embodiment, obtain user's number of times, and judge the number of delete character, thereby determine that being deleted the quilt of character in record cell 30 deletes the position according to the number of times that obtains by backspace by input method manager-IMM-IME.
In order to further specify embodiment shown in Figure 2, Fig. 4 shows the recovery unit 50 of one embodiment of the invention, comprises that character match module 501, character and literal recover module 502.
Character match module 501 is deleted the position according to the quilt of character in 30 store characters of record cell of being deleted that detects, and judges that the character that re-enters in the input frame is whether identical with character in the record cell 30.
Character and literal recover module 502, the line data of going forward side by side of linking to each other with character match module 501 is mutual, under the character that the re-enters situation identical with character in the record cell 30, in input frame, deleted described in the output record unit 30 behind the position character and in the candidate word list box output record unit 30 storage with the described literal that is complementary by character after deleting the position.
Fig. 5 shows the structure that further embodiment of this invention is recovered the system of deleted characters, and this system comprises dictionary 10, transcoder unit 20, record cell 30, literal deletion detecting unit 60 and recovery unit 50.Wherein:
Described dictionary 10, the dictionary of storage literal.
Described transcoder unit 20, the line data of going forward side by side of linking to each other with dictionary 10 is mutual, and the character of input is carried out code conversion and output corresponding candidate speech tabulation from dictionary 10.
Described record cell 30, the line data of going forward side by side of linking to each other with transcoder unit 20 and record cell 30 is mutual, storage import at every turn in input frame character and from the candidate word list box selection that shield with literal character match.The last screen of selection herein promptly is input to the literal in document or the alternative document.
Described literal deletion detecting unit 60, the line data of going forward side by side of linking to each other with record cell 30 and recovery unit 50 is mutual, and deletion selects to go up the literal of screen, and detection is deleted the quilt of its corresponding characters of literal in record cell 30 and is deleted the position.
Described recovery unit 50, the line data of going forward side by side of linking to each other with literal deletion detecting unit 60 is mutual, delete the quilt of character in record cell 30 according to the quilt that detects and delete the position, judge that the character re-enter in input frame is whether identical with character in the record cell 30, if identical, then in input frame, deleted described in the output record unit 30 behind the position character and in the candidate word list box output record unit 30 storage with the described literal that is complementary by character after deleting the position.Described recovery unit 50 also is further used for exporting with described other type options that are complementary by character after deleting the position in the candidate word list box and selects for the user.
At an embodiment, described character comprises the combination of letter, the radical of forming by letter (for example, five-stroke input method is exactly to generate Chinese character according to radical) that the combination of described letter comprises the pinyin string that is complementary with Chinese character, be complementary with Chinese character, and the monogram that is complementary of Japanese or Korean etc.
In order to further specify embodiment shown in Figure 5, Fig. 6 shows the literal deletion detecting unit 60 of one embodiment of the invention, comprises literal removing module 601 and is deleted the corresponding character position computing module 602 of literal.
Described literal removing module 601, deletion that from the candidate word list box, select to shield with literal character match;
Deleted the corresponding character position computing module 602 of literal, the number of catching delete instruction and adding up its deletion literal, detection is deleted the quilt of its corresponding characters of literal in record cell 30 and is deleted the position.
The structure of recovery unit 50 and function thereof have been done explanation in the embodiment shown in fig. 4, repeat no more.
Fig. 7 shows the flow process of method of the recovery deleted characters of one embodiment of the invention, and this method comprises:
That generate and the literal input character coupling in the character of step S1, the input of storage in the input frame and the candidate word list box;
Character that step S2, deletion have been imported in the input frame and the character number that detects deletion detect and are deleted character and delete the position at the quilt in the store character;
Step S3, delete character according to the quilt that detects and delete the position, judge that the character that re-enters is whether identical with character in the described store character at the quilt in the store character, if identical, execution in step S4 then;
Step S4, in input frame, export described in the store character character deleted behind the position and in the candidate word list box output that stored with the described literal that is complementary by character after deleting the position.
Above step can realize by the system of recovery deleted characters shown in Figure 2.How concrete this system realizes recovering deleted characters to have done specific description when introducing this system, repeats no more herein.
In order to further specify embodiment shown in Figure 7, Fig. 8 shows one embodiment of the invention and detects and deleted character and delete the flow process of position at the quilt in the store character, comprises step:
The character of having imported in step S21, the deletion input frame;
The character number of step S22, statistics deletion is deleted the quilt of character in described store character and is deleted the position thereby detect.
Fig. 9 shows the flow process of method of the recovery deleted characters of further embodiment of this invention, and this method comprises:
The character of steps A 1, the input of storage in the input frame and from the candidate word list box that select and literal character match;
The literal of screen select is gone up in steps A 2, deletion, detects to be deleted its corresponding characters of literal and delete the position at the quilt in the store character;
Steps A 3, deleted the position at the quilt in the store character, judge that the character that re-enters in input frame is whether identical with character in the described store character according to deleting its corresponding characters of literal, if identical, execution in step A4 then;
Steps A 4, in input frame, export described in the store character character deleted behind the position and in the candidate word list box output that stored with the described literal that is complementary by character after deleting the position.
Above step can realize by the system of recovery deleted characters shown in Figure 5.How concrete this system realizes recovering deleted characters to have done specific description when introducing this system, repeats no more herein.
In order to further specify embodiment shown in Figure 9, Figure 10 shows one embodiment of the invention and detects and deleted its corresponding characters of literal and delete the flow process of position at the quilt in the store character, comprises step:
Steps A 21, deletion that select and literal character match from the candidate word list box;
The number of steps A 22, statistics deletion literal detects and is deleted its corresponding characters of literal and delete the position at the quilt in the store character.
In one embodiment, delete key comprises backspace key.Catching delete instruction can pass through the touch potential that IMM-IME (Inputmethod manager-Input method editor, input method manager-Input Method Editor) catches backspace and obtain.In one embodiment, obtain user's number of times, and judge the number of deletion literal, thereby determine that being deleted the quilt of its corresponding characters of literal in record cell 30 deletes the position according to the number of times that obtains by backspace by input method manager-IMM-IME.
The system of the recovery deleted characters that Fig. 2 embodiment of the present invention is proposed below in conjunction with an input method of Chinese character describes.
For example the pinyin string that is input in the input frame of user is " yao ' jian ' gu ' ta ' de ' shu ' zi ' he ' guang ' xue ' te ' xing ", and the Chinese character that generates at the candidate word list box is " will take into account his numeral and optical characteristics ".Record cell 30 is preserved the pinyin string of input frame input and the Chinese character that the candidate word list box generates.
In the Chinese character that the candidate word list box generates, an erroneous words " he " occurred, need correct.Delete by the pinyin string of importing in 401 pairs of input frames of the character deletion module in the character deletion detecting unit 40, in one embodiment, character deletion module 401 comprises backspace key (Backspace).In delete procedure, obtain 25 backspace number of times by the input method system framework, and determine to be deleted the position of pinyin string at record cell 30 according to the backspace number of times that obtains, also determined that the quilt of being deleted pinyin string and corresponding Chinese character thereof deletes scope.For example: can determine to be deleted the position of pinyin string " ta ", it is deleted the 9th character of inverse of calculating to " yao " from 30 store characters of record cell " yao ' jian ' gu ' ta ' de ' shu ' zi ' he ' guang ' xue ' te ' xing " from " xing ".Can determine to be deleted the position of pinyin string " de ", the 8th pinyin string of inverse that its correspondence is calculated to " yao " from record cell 30 pinyin string that writes down " yao ' jian ' gu ' ta ' de ' shu ' zi ' he ' guang ' xue ' te ' xing " from " xing ".
Undelete among the embodiment one, when user's input Pinyin string " ta ", after " it " chosen screen, character match module 501 was deleted the quilt of pinyin string in record cell 30 according to the quilt that detects to delete the position (was aforesaidly to calculate successively to " yao " from " xing " this moment, " ta " corresponding reciprocal the 9th pinyin string for example), the pinyin string " ta " of judging input whether with record cell 30 in stored with to be deleted the corresponding pinyin string of pinyin string identical, identical by determining relatively later on the 9th pinyin string reciprocal, under identical situation, character and literal recover module 502 in input frame in the output record unit 30 pinyin string after the 9th pinyin string reciprocal and in the candidate word list box 30 storages of output record unit and the 9th pinyin string reciprocal after the Chinese character that is complementary of pinyin string.
In another undeletes embodiment, when user's input Pinyin string " ta ' de ", after " it " chosen screen, this moment, character match module 501 was deleted the correspondence position (be aforesaid inverse 8th pinyin string and 9th pinyin string of from " xing " to " yao " calculating) of pinyin string in record cell 30 according to the quilt of knowing, the pinyin string " ta ' de " of judging input whether with record cell 30 in stored with to be deleted corresponding pinyin string identical, all identical by determining after relatively, character and literal recover module 502 in input frame in the output record unit 30 pinyin string after the 8th pinyin string reciprocal and in the candidate word list box 30 storages of output record unit and the 8th pinyin string reciprocal after the Chinese character that is complementary of pinyin string.
In addition, the present invention in input frame, export described in the store character deleted the character behind the position and output has been stored in the candidate word list box with the described literal that is complementary by character after deleting the position in, the candidate word list box also export with described other candidate characters that are complementary by character after deleting the position for you to choose, particularly occur under the situation of many places mistake in same character corresponding character, when one of them literal of corrigendum, the character and literal in the candidate word list box behind output record unit institute correspondence position, also in other candidate word option, automatically generate and the identical match options of text word more.In one embodiment, the pinyin string that the user is input in the input frame is " yao ' jian ' gu ' ta ' de ' shu ' zi ' he ' ta ' de ' guang ' xue ' te ' xing ", and the Chinese character of screen is " will take into account his numeral and his optical characteristics " on the candidate word list box is selected.The Chinese character that mates with pinyin string that record cell 30 is preserved the pinyin string of input frames input and select screen from the candidate word list box.After " he " is modified to " it ", in addition under the situation that " he " and the corresponding characters " ta " by judging correction and " he " in the Chinese character that will recover and corresponding characters are identical, first option of exporting in the candidate word list box is " numeral and his optical characteristics ", second option exporting in the candidate word list box selected for the user for " numeral and its optical characteristics ", and this is the process of an intelligence coupling.
The system of the recovery deleted characters that Fig. 5 embodiment of the present invention is proposed below in conjunction with an input method of Chinese character describes.
For example the pinyin string that is input in the input frame of user is " yao ' jian ' gu ' ta ' de ' shu ' zi ' he ' guang ' xue ' te ' xing ", and the Chinese character of screen is " will take into account his numeral and optical characteristics " on the candidate word list box is selected.The Chinese character that mates with pinyin string that record cell 30 is preserved the pinyin string of input frames input and select screen from the candidate word list box.
An erroneous words " he " occurred in screen and Chinese character character match in the candidate word list box, selecting, need correct.Delete by the Chinese character that shields in the 601 pairs of selections of literal removing module in the literal deletion detecting unit 60, and detected and deleted the quilt of its corresponding pinyin string of Chinese character in record cell 30 and delete the position by deleting the corresponding character position computing module 602 of literal.
In one embodiment, literal removing module 601 comprises backspace key (Backspace).In delete procedure, obtain 9 backspace number of times by the input method system framework, and determine that according to the backspace number of times that obtains being deleted the quilt of its corresponding pinyin string of Chinese character in record cell 30 deletes the position, also determined that the quilt of being deleted pinyin string and corresponding Chinese character thereof deletes scope.For example, can determine by the position of Chinese character " he ", its correspondence from record cell 30 Chinese character of storing " to take into account his numeral and optical characteristics " from " property " to " will " the 9th Chinese character of inverse of calculating, thereby determine that " he " corresponding pinyin string quilt in record cell 30 deletes the position.Can determine that the quilt of its correspondence deletes the position of pinyin string " ta " (being aforesaid the 9th pinyin string of inverse of calculating successively to " yao " from " xing "), the Chinese character of storing " to take into account his numeral and optical characteristics " from " property " to " will " the 8th Chinese character of inverse of calculating, thereby determine " " corresponding quilt delete pinyin string " " quilt in record cell 30 deletes position (being aforesaid the 8th pinyin string of inverse of calculating successively to " yao " from " xing ").
Undelete among the embodiment one, when user's input Pinyin string " ta ", after " it " chosen screen, character match module 501 is deleted the quilt of its corresponding pinyin string of Chinese character in record cell 30 according to the quilt that detects and is deleted the position at this moment, the pinyin string " ta " of judging input whether with record cell 30 in stored with to be deleted the corresponding pinyin string of pinyin string identical, identical by determining relatively later on the 9th pinyin string reciprocal, under identical situation, by character and literal recover module 502 in input frame in the output record unit 30 pinyin string after the 9th pinyin string reciprocal and in the candidate word list box 30 storages of output record unit and the 9th pinyin string reciprocal after the Chinese character that is complementary of pinyin string.
In another undeletes embodiment, when user's input Pinyin string " ta ' de ", after " it " chosen screen, character match module 501 is deleted the quilt of its corresponding pinyin string of Chinese character in record cell 30 according to the quilt that detects and is deleted position (being aforesaid the 9th pinyin string of inverse and the 8th pinyin string of calculating to " yao " from " xing ") at this moment, the pinyin string " ta ' de " of judging input whether with record cell 30 in the inverse the 9th that write down identical with the 8th pinyin string, if it is all identical, recover module 502 with the 8th pinyin string that pinyin string is later reciprocal and corresponding Chinese character output thereof in the record cell 30 by character and literal, be about to " shu ' zi ' he ' guang ' xue ' te ' xing " and " numeral and optical characteristics " output.
The above only is preferred embodiment of the present invention, not in order to restriction the present invention, all any modifications of being done within the spirit and principles in the present invention, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1, a kind of system of recovering deleted characters comprises the dictionary of storing literal, the character of input is carried out code conversion and the transcoder unit of output corresponding candidate speech tabulation from dictionary, it is characterized in that described system also comprises:
Record cell, the literal that is complementary with character that generates in character that storage is imported in the input frame and the candidate word list box;
The character deletion detecting unit, the character of having imported in the deletion input frame, detection is deleted the quilt of character in record cell institute store character and is deleted the position;
Recovery unit, delete the quilt of character in record cell according to the quilt that detects and delete the position, judge that the character re-enter in input frame is whether identical with character in the record cell, if identical, then in input frame, deleted described in the output record unit behind the position character and in the candidate word list box output record unit storage with the described literal that is complementary by character after deleting the position.
2, the system of recovery deleted characters according to claim 1 is characterized in that, described character deletion detecting unit comprises:
The character deletion module, the character of having imported in the deletion input frame;
By being deleted position computation module, the number of catching delete instruction and adding up its deletion phonetic is deleted the quilt of character in record cell institute store character and is deleted the position thereby detect.
3, the system of recovery deleted characters according to claim 1 is characterized in that, described recovery unit comprises:
The character match module is deleted the position according to the quilt of character in record cell institute store character of being deleted that detects, and judges that the character that re-enters in the input frame is whether identical with character in the record cell;
Character and literal recover module, under the character that the re-enters situation identical with character in the record cell, in input frame, deleted described in the output record unit behind the position character and in the candidate word list box output record unit storage with the described literal that is complementary by character after deleting the position.
4, a kind of method of recovering deleted characters is characterized in that, comprising:
That generate and the literal input character coupling in the character of step S1, the input of storage in the input frame and the candidate word list box;
Character that step S2, deletion have been imported in the input frame and the character number that detects deletion detect and are deleted character and delete the position at the quilt in the store character;
Step S3, delete character according to the quilt that detects and delete the position, judge that the character that re-enters is whether identical with character in the described store character at the quilt in the store character, if identical, execution in step S4 then;
Step S4, in input frame, export described in the store character character deleted behind the position and in the candidate word list box output that stored with the described literal that is complementary by character after deleting the position.
5, the method for recovery deleted characters according to claim 5 is characterized in that, described step S2 comprises:
The character of having imported in step S21, the deletion input frame;
The character number of step S22, statistics deletion is deleted the quilt of character in described store character and is deleted the position thereby detect.
6, a kind of system of recovering deleted characters comprises the dictionary of storing literal, the character of input is carried out code conversion and the transcoder unit of output corresponding candidate speech tabulation from dictionary, it is characterized in that described system also comprises:
Record cell, storage import at every turn in input frame character and from the candidate word list box selection that shield with literal character match;
Detecting unit deleted in literal, and deletion selects to go up the literal of screen, and detection is deleted the quilt of its corresponding characters of literal in record cell and deleted the position;
Recovery unit, deleted the position according to deleting the quilt of its corresponding characters of literal in record cell, judge that the character re-enter in input frame is whether identical with character in the record cell, if identical, then in input frame, deleted described in the output record unit behind the position character and in the candidate word list box output record unit storage with the described literal that is complementary by character after deleting the position.
7, the system of recovery deleted characters according to claim 6 is characterized in that, described literal deletion detecting unit comprises:
The literal removing module, deletion that from the candidate word list box, select to shield with literal character match;
Deleted the corresponding character position computing module of literal, the number of catching delete instruction and adding up its deletion literal, detection is deleted the quilt of its corresponding characters of literal in record cell and is deleted the position.
According to the system of claim 6 or 7 described recovery deleted characters, it is characterized in that 8, described recovery unit comprises:
The character match module is deleted the quilt of its corresponding characters of literal in record cell according to the quilt that detects and is deleted the position, judges that the character that re-enters in the input frame is whether identical with character in the record cell;
Character and literal recover module, under the character that the re-enters situation identical with character in the record cell, in input frame, deleted described in the output record unit behind the position character and in the candidate word list box output record unit storage with the described literal that is complementary by character after deleting the position.
9, a kind of method of recovering deleted characters is characterized in that, comprising:
The character of steps A 1, the input of storage in the input frame and from the candidate word list box that select and literal character match;
The literal of screen select is gone up in steps A 2, deletion, detects to be deleted its corresponding characters of literal and delete the position at the quilt in the store character;
Steps A 3, according to being deleted the position by being deleted the quilt of its corresponding characters of literal in record cell, judge that the character that re-enters in input frame is whether identical with character in the described store character, if identical, execution in step A4 then;
Steps A 4, in input frame, export described in the store character character deleted behind the position and in the candidate word list box output that stored with the described literal that is complementary by character after deleting the position.
10, the method for recovery deleted characters according to claim 9 is characterized in that, described step S2 comprises:
Steps A 21, deletion that select and literal character match from the candidate word list box;
The number of steps A 22, statistics deletion literal detects and is deleted its corresponding characters of literal and delete the position at the quilt in the store character.
CNB2008101705019A 2008-10-17 2008-10-17 Recover the system and method for deleted characters Active CN100559332C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2008101705019A CN100559332C (en) 2008-10-17 2008-10-17 Recover the system and method for deleted characters

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2008101705019A CN100559332C (en) 2008-10-17 2008-10-17 Recover the system and method for deleted characters

Publications (2)

Publication Number Publication Date
CN101387919A CN101387919A (en) 2009-03-18
CN100559332C true CN100559332C (en) 2009-11-11

Family

ID=40477363

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2008101705019A Active CN100559332C (en) 2008-10-17 2008-10-17 Recover the system and method for deleted characters

Country Status (1)

Country Link
CN (1) CN100559332C (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102141886B (en) * 2010-01-29 2016-04-20 诺基亚技术有限公司 Method for editing text and equipment
EP2529287B1 (en) * 2010-01-29 2019-12-25 Nokia Technologies Oy Method and device for facilitating text editing and related computer program product and computer readable medium
CN103455162B (en) * 2012-06-01 2017-11-14 中兴通讯股份有限公司 input processing method and device
CN103941979B (en) * 2014-04-10 2018-05-04 北京搜狗科技发展有限公司 A kind of method and apparatus for inputting word in a mobile device
CN105334952B (en) * 2014-07-11 2018-12-18 北京搜狗科技发展有限公司 A kind of input method and device of text information
CN118051384A (en) * 2018-04-28 2024-05-17 北京搜狗科技发展有限公司 Input processing method, input processing device, electronic equipment and storage medium
CN111488062A (en) * 2019-01-29 2020-08-04 阿尔派株式会社 Character input device and character input method

Also Published As

Publication number Publication date
CN101387919A (en) 2009-03-18

Similar Documents

Publication Publication Date Title
CN100555203C (en) Revise the system and method for input characters
CN100559332C (en) Recover the system and method for deleted characters
CN101067780B (en) Character inputting system and method for intelligent equipment
CN100472411C (en) Method for cancelling character string in inputting method and word inputting system
CN101369216B (en) Words input method and system
CN101154226B (en) Method for adding unlisted word to word stock of input method and its character input device
CN1205572C (en) Language input architecture for converting one text form to another text form with minimized typographical errors and conversion errors
CN101730898B (en) Handwriting recognition using neural networks
US8504350B2 (en) User-interactive automatic translation device and method for mobile device
CN102346560B (en) A kind of method and device of adjusting candidate word sequence in input method
CN101533317A (en) Fast recording device with handwriting identifying function and method thereof
CN110046350A (en) Grammatical bloopers recognition methods, device, computer equipment and storage medium
JP5141560B2 (en) Information search program, recording medium storing the program, information search device, and information search method
CN101669116A (en) Recognition architecture for generating asian characters
CA2313968A1 (en) A method for correcting the error characters in the result of speech recognition and the speech recognition system using the same
CN101004738A (en) Character input device, device for possessing same and input method
CN101334769B (en) Method and device for regulating candidate word sequence
CN101149679A (en) Method for adding self-defined word in input method word library and word input device
Lyu et al. Neural OCR post-hoc correction of historical corpora
CN1704882A (en) Asian language input by using keyboard
CN101520693A (en) Method and system for rapidly inputting bulk information
CN101739143A (en) Character inputting method and character inputting system
Al Azawi et al. WFST-based ground truth alignment for difficult historical documents with text modification and layout variations
Juan et al. Handwritten text recognition for ancient documents
CN102375817A (en) Method and device for acquiring self-created words

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant