CN103365905A - Method and device for correcting word bank data of input method - Google Patents

Method and device for correcting word bank data of input method Download PDF

Info

Publication number
CN103365905A
CN103365905A CN2012100987917A CN201210098791A CN103365905A CN 103365905 A CN103365905 A CN 103365905A CN 2012100987917 A CN2012100987917 A CN 2012100987917A CN 201210098791 A CN201210098791 A CN 201210098791A CN 103365905 A CN103365905 A CN 103365905A
Authority
CN
China
Prior art keywords
literal
upper screen
dictionary
word
recording areas
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.)
Granted
Application number
CN2012100987917A
Other languages
Chinese (zh)
Other versions
CN103365905B (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.)
Shenzhen Shiji Guangsu Information Technology 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 CN201210098791.7A priority Critical patent/CN103365905B/en
Publication of CN103365905A publication Critical patent/CN103365905A/en
Application granted granted Critical
Publication of CN103365905B publication Critical patent/CN103365905B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

The invention discloses a method and device for correcting word bank data of a character input method. The method for correcting the word bank data comprises the steps that up-screen characters input into an up screen each time are recorded to a recording area, the up-screen characters input into the up screen each time are mutually distinguished in the recording area, the cursor position and the modifying operation on the screen are synchronized in the recording area, the up-screen characters input into the up screen each time as learning words are included in a word bank, whether the up-screen characters recorded in the recording area are modified is judged according to the synchronous cursor position and the modifying operation in the recording area, and if the up-screen characters recorded in the recording area are modified, the contents before and after modification of the modified up-screen characters are determined, the learning words corresponding to the up-screen characters before modification are cancelled from the word bank, and the up-screen characters after modification as the learning words are included in the word bank. By utilization of the method and device, the accurate rate of correcting the word bank data can be improved.

Description

Dictionary data antidote and the device of input method
Technical field
The present invention relates to the literal input technology of data processing equipment, relate in particular to a kind of antidote and device of term database (abbreviation dictionary) data of character input method.
Background technology
Data processing equipment such as computing machine, smart mobile phone etc. have been widely applied in people's production and life.A kind of important function of data processing equipment is the processing to literal.Therefore various character input methods use and give birth to.
Described character input method is made into character input method software usually, and the common character input process of character input method software is: (1) user starts input method software; (2) user by keyboard operation to the input method software input coding, Pinyin coding, root coding in the input of described coding such as Chinese character, the character code in the english input etc.; (3) input method software is that candidate character is presented in the candidate frame with the code conversion of input; (4) literal in the user selection candidate frame triggers upper screen key, common upper screen key such as space bar, enter key, digital selective key etc.; (5) input method software is inputted the cursor position that is shown on the data processing equipment screen with the literal of user selection, this also is called the operation that the input of the literal chosen is shown to screen " upper screen ", is input to literal on the screen by described step (2) to the operation of step (5) at every turn and is called as once " on shield literal ".
In input method, usually come recording user by the upper screen literal of input method software input with dictionary.Usually the upper screen literal of upper screen operation all will be learned word as one and count dictionary each time.Comprise the word that the screen literal is corresponding on each in the dictionary and count number of times, industry is called " study warehouse-in " process with a upper screen literal as the process that a word counts dictionary usually visually.Input method software determines the follow-up under the same conditions preferential word of selecting to count often according to the number of times that counts of dictionary middle school word, and preferentially is illustrated in candidate regions.
In the process of input characters, often need to make amendment to the literal of inputting owing to input error, and the word in the dictionary is corrected accordingly.The dictionary data antidote of existing character input method has two kinds usually.
Fig. 1 is a kind of process flow diagram of dictionary data antidote of the character input method of prior art one.Referring to Fig. 1, the method comprises: after every input is once upward shielded literal, screen literal on this is deposited in the interim buffer memory, judge whether afterwards to continue to have inputted screen literal on next, if inputted, judge that then the upper screen literal that is somebody's turn to do of having confirmed in this interim buffer memory be to learn word, the upward screen literal in this interim buffer memory was counted dictionary as learning word; If continue to input screen literal on next, but carry out other retouching operation, then removed the upper screen literal in the described interim buffer memory.
Fig. 2 is a kind of process flow diagram of dictionary data antidote of the character input method software of prior art two.Referring to Fig. 2, the method does not need interim buffer memory, but after shielding literal in every input once, just should count dictionary as learning word by upper screen literal, for example literal " Liu Yuanfang " is once upward shielded in input, just " Liu Yuanfang " counted dictionary as learning word, whether backspace is revised to judge afterwards the user again, if it is word was learned in rollback last time, so-called rollback is exactly to cancel the word that counts recently dictionary, if described cancel in other words should upper screen literal counts for the first time dictionary then deletes from dictionary, if not counting for the first time the number of times that counts that dictionary then reduces this word; If the user does not have backspace to revise, then continue to input screen literal on next.
Although above-mentioned prior art can be avoided learning wrong word to a certain extent, following shortcoming is arranged:
1) utilizes in the input method software input characters process the user, often have the situation of input error, such as upper screen literal " Liu Yuanfang "; if the user finds to have made mistakes; this people is " Liu Yuanfang " in fact, and at this moment, the user re-enters " unit's virtue " by backspace key deletion " distant place ".Then remove " Liu Yuanfang " in the interim buffer memory according to the mode of prior art one, at upper screen " unit's virtue " and after confirming " unit's virtue " counted dictionary as learning word.Then cancel the word " Liu Yuanfang " that has counted dictionary according to the method for prior art two, again " unit's virtue " counted dictionary as learning word.But, although above-mentioned prior art does not count wrong word " Liu Yuanfang " to dictionary, do not count correct word " Liu Yuanfang " to dictionary yet, but counted wrong word " unit's virtue " to dictionary again.Therefore, the accuracy that causes the dictionary data to be corrected is lower, often can not count correct word to dictionary.
2) if the user has continued to have inputted a period of time, such as input " Liu Yuanfang | do not hesitate to do what is right | | story " after (wherein | represent in the gradation process that screen operates), just find the mistake in " distant place " this moment, this moment, the user carried out retraction operation, and " distant place " changed into " unit's virtue ", but, scheme according to above-mentioned prior art but can't be corrected the word of cancelling " Liu Yuanfang " this mistake in dictionary, because follow-up the last input " not hesitating to do what is right " confirmed " Liu Yuanfang " that shield on the front screen literal this on have been counted dictionary as word.And what really cancel is the upper screen literal " story " of the last upper screen, and this obviously is wrong, and has counted wrong word " unit's virtue " to dictionary again.Therefore, when the user changed the literal of preamble input, mistake can appear in the rectification of dictionary data, and the accuracy that the dictionary data are corrected is lower.
Summary of the invention
In view of this, fundamental purpose of the present invention is to provide a kind of dictionary data antidote and device of character input method, the accuracy of correcting to improve the dictionary data.
Technical scheme of the present invention is achieved in that
A kind of dictionary data antidote of character input method comprises:
The upper screen written record of at every turn inputting upper screen is arrived recording areas, the upper screen literal of the each screen of mutual differentiation in this recording areas, cursor position and the retouching operation of while on this recording areas subsequent screen;
The upper screen literal that at every turn upward shields is counted dictionary as learning word;
According to the inter-sync cursor position of described recording areas and retouching operation, judged whether to revise the upper screen literal that has recorded in this recording areas, if it is determine the content before and after the modification of the upper screen literal revise, from dictionary, cancel being somebody's turn to do before revising and shield word corresponding to literal, should count dictionary as word by upper screen literal with amended.
A kind of dictionary data apparatus for correcting of character input method comprises:
Logging modle, for recording areas is provided, the upper screen written record of the upper screen of input arrives this recording areas at every turn, the mutual upper screen literal of distinguishing each screen in this recording areas;
Monitor module, be used for monitoring cursor position and retouching operation on the screen, at described recording areas simultaneous user's cursor position and retouching operation;
Learn the word module, be used at every turn the upper screen literal of upper screen and the upper screen literal of judging treatmenting module appointment and count dictionary as learning word;
Judging treatmenting module, be used for according to the inter-sync cursor position of described recording areas and retouching operation, judged whether to revise the upper screen literal that has recorded in this recording areas, if it is determine the content before and after the modification of the upper screen literal revise, triggering cancel module from dictionary, cancel before revising should word corresponding to screen literal, and trigger and learn the word module and will amendedly should upward shield literal and count dictionary as word;
Cancel module, be used for the word of cancelling described judging treatmenting module appointment from dictionary.
Compared with prior art, at first, because the present invention distinguishes the upper screen literal of each screen mutually in described recording areas, and cancel the operation of learning word and again counting amended word as an operating unit with the integral body of a upper screen literal, even the user has only revised the partial content of a upper screen literal, it also is the full content of screen literal integral body on this being cancelled and counted amended upward screen literal, therefore avoided in the prior art having improved the accuracy that the dictionary data are corrected owing to having revised the problem that partial content causes the dictionary data to correct a mistake.Secondly, if the user has continued to have inputted a period of time, which upper screen literal of input before no matter the user revises, then all can be according to position and the content at the inter-sync cursor position of described recording areas and the definite upper screen literal of revising of retouching operation, from dictionary, cancel being somebody's turn to do before revising and shield word corresponding to literal, should count dictionary as learning word by upper screen literal with amended, therefore overcome prior art when the user changes the literal of preamble input, the dictionary data are corrected and wrong problem can be occurred, have improved the accuracy that the dictionary data are corrected.
Description of drawings
Fig. 1 is a kind of process flow diagram of dictionary data antidote of the character input method of prior art one;
Fig. 2 is a kind of process flow diagram of dictionary data antidote of the character input method software of prior art two;
Fig. 3 is a kind of composition schematic diagram of the dictionary data apparatus for correcting of character input method of the present invention;
Fig. 4 is a kind of particular flow sheet of the dictionary data antidote of character input method of the present invention;
Fig. 5 a is a kind of contrast schematic diagram of the upper screen literal of the upper screen literal that shows at screen and described buffer area institute synchronous recording;
Fig. 5 b is in described screen and a kind of contrast schematic diagram of buffer area simultaneous user cursor position;
Fig. 5 c is a kind of schematic diagram of the content before and after the modification of definite upper screen literal of revising in buffer area.
Embodiment
The present invention is further described in more detail below in conjunction with drawings and the specific embodiments.
The dictionary data antidote that core technology scheme of the present invention is a kind of character input method, comprise: will input the upper screen written record of screen to recording areas at every turn, in this recording areas, mutually distinguish the upper screen literal of each screen, simultaneously cursor position and the retouching operation on this recording areas subsequent screen; The upper screen literal that at every turn upward shields is counted dictionary as learning word; According to the inter-sync cursor position of described recording areas and retouching operation, judged whether to revise the upper screen literal that has recorded in this recording areas, if it is determine the content before and after the modification of the upper screen literal revise, from dictionary, cancel being somebody's turn to do before revising and shield word corresponding to literal, should count dictionary as word by upper screen literal with amended.
Fig. 3 is a kind of composition schematic diagram of the dictionary data apparatus for correcting of character input method of the present invention.This dictionary data apparatus for correcting is used for carrying out described method of the present invention.This device specifically comprises:
Logging modle 301, for recording areas is provided, the upper screen written record of the upper screen of input arrives this recording areas at every turn, the mutual upper screen literal of distinguishing each screen in this recording areas.
Monitor module 302, be used for monitoring cursor position and retouching operation on the screen, at described recording areas simultaneous user's cursor position and retouching operation.
Learn word module 303, be used at every turn the upper screen literal of upper screen and count dictionary; And the upper screen literal of follow-up judging treatmenting module 304 appointments is counted dictionary as learning word, be about to amended upper screen literal and count dictionary as learning word.
Judging treatmenting module 304, be used for according to the inter-sync cursor position of described recording areas and retouching operation, judged whether to revise the upper screen literal that has recorded in this recording areas, if it is determine the content before and after the modification of the upper screen literal revise, triggering following cancel module 305 from dictionary, cancel before revising should word corresponding to screen literal, and trigger and learn word module 303 and will amendedly should upward shield literal and count dictionary as word.
Cancel module 305, for the word of cancelling described judging treatmenting module 304 appointments from dictionary, word corresponding to literal upward shielded in being somebody's turn to do before namely revising.
Among the present invention, described recording areas is specifically as follows: buffer area or daily record or file (such as notepad etc.).A buffer area is that example describes as recording areas among the embodiment below.
Fig. 4 is a kind of particular flow sheet of the dictionary data antidote of character input method of the present invention.Referring to Fig. 4, this treatment scheme comprises:
Step 401, receive user's input instruction, and on screen, input upper screen literal by upper screen operation.
Detailed process is: receive the coding of user's input, Pinyin coding, root coding in described coding such as the Chinese character input, the character code in the english input etc.; With the input code conversion be that candidate character is presented in the candidate frame; Literal in the user selection candidate frame triggers upper screen key, common upper screen key such as space bar, enter key, digital selective key etc.; Input method software is inputted the cursor position that is shown on the screen with the literal of user selection, this also is called the operation that the input of the literal chosen is shown to screen " upper screen operation ", is input to literal on the screen by described upper screen operation at every turn and is called as once " on shield literal ".
Step 402, will input screen at every turn upper screen written record to buffer area, in this buffer area, mutually distinguish the upper screen literal of each screen, simultaneously at cursor position and the retouching operation of this buffer area simultaneous user in screen.
In this step, the concrete grammar of the described upper screen literal of in described recording areas, mutually distinguishing each screen can for: utilize the list separator of appointment to separate the upper screen literal that shields each time.For example described separator can be appointed as newline, can certainly use other symbols such as comma, branch as separator.Fig. 5 a is a kind of contrast schematic diagram of the upper screen literal of the upper screen literal that shows at screen and described buffer area institute synchronous recording.Referring to Fig. 5, for example when having inputted respectively four, the user upward shields literal: " Liu Yuanfang ", " not hesitating to do what is right ", " ", " story ", although what show at screen 501 is " story that Liu Yuanfang is not hesitate to do what is right ", the content of record is in described buffer area 502:
Liu Yuanfang
Do not hesitate to do what is right
{。##.##1},
Story
Wherein screen literal is separated with newline on each, is used for can definitely finding in subsequent treatment the whole content of a certain screen literal.Be that content between per two separators is exactly a complete upper screen literal, after on certain, shielding the content modification of literal, complete upper screen literal before revising corresponding word in dictionary need to be cancelled, and amended complete upper screen literal is counted dictionary again as learning word.
Owing in described buffer area, having used separator to separate the upper screen literal of each time screen, therefore when described buffer area simultaneous user cursor position, need ignore described list separator.Fig. 5 b is in described screen and a kind of contrast schematic diagram of buffer area simultaneous user cursor position.Referring to Fig. 5 b, wherein vertically arrow represents cursor position, for example suppose 511 places, position of the literal " story that Liu Yuanfang is not hesitate to do what is right " that user's cursor shows at described screen 501 at first, then in buffer area 502, cursor position is at first at 521 places, described position; When the user presses No. 4 return keys, cursor on the screen turns back to 512 places, position, so correspondingly in buffer area 502, cursor needs synchronous No. 4 return keys, but synchronously the time, neglect the existence of described separator, therefore by synchronous No. 4 return keys, cursor has been synchronized to 522 places, position, can guarantee cursor position in buffer area and the consistance of the cursor position in screen.
In this step, describedly can adopt at cursor position and the concrete grammar of retouching operation of described buffer area simultaneous user on screen that corresponding application programming interface (api interface) realizes in the data processing equipment operating system, for example in windows operating system, has the api interface that to follow the trail of keyboard operation and mouse action, can monitor keyboard and the operational order of mouse on screen by these api interfaces, for example cursor movement order, and deletion, insert, revise to wait and revise order etc., get final product to described buffer area these operational order synchronization implementations by these api interfaces.
Step 403, the upper screen literal that will at every turn upward shield count dictionary as learning word.Certain described step 402 and step 403 do not have strict front and back order, can be first execution in step 403 rear execution in step 402 yet, or carry out simultaneously.
Step 404, basis are at the inter-sync cursor position of described buffer area and retouching operation, judged whether to revise the upper screen literal that has recorded in this buffer area, if it is treat as the content that the user has revised the preamble input, execution in step 405 and subsequent step are corrected the dictionary data; Otherwise the dictionary data are not corrected, and behind the new input characters of ending place of current input characters, return step 402.
Content before and after the modification of step 405, definite upper screen literal of revising.
Determine described in this step the content before and after the modification of the upper screen literal revise concrete grammar can for: during cursor position in synchronous described buffer area, tracking copies the complete upper screen literal of current cursor position, for example Fig. 5 c is depicted as, each time screen literal is separated by the number of line feed in buffer area 502, the screen literal all is considered as an integral unit on each, suppose that cursor is synchronized to 523 places, position, then following the trail of the complete upper screen literal that copies this position is " Liu Yuanfang ", after the user is revised as " distant place " " unit's virtue ", in case cursor leaves this current upper screen literal synchronously, then confirm to revise complete to screen literal on this, the described full unit " Liu Yuanfang " that at this moment tracking is copied is as the upper screen literal before revising, as amended upper screen literal, and execution in step 405 is carried out the rectification of dictionary data with the current complete content " Liu Yuanfang " of screen literal on this.
In a kind of special circumstances, if cursor is synchronized to 524 places, position, owing to being two positions between the upper screen literal herein, I do not know that next step can revise previous or rear one, a kind of disposal route of this moment is to be that " Liu Yuanfang " and " not hesitating to do what is right " all copies with former and later two upper screen literal of this cursor place, if the user has revised " Liu Yuanfang " with " Liu Yuanfang " that copy as the upper screen literal before revising, if the user has revised " not hesitating to do what is right ", then with " not the hesitating to do what is right " of copying as the upper screen literal before revising.
Step 406, from dictionary, cancel before revising should word corresponding to screen literal, and will amendedly should upward shield literal and count dictionary as word.If for example described in Fig. 5 c " distant place " changed into " unit's virtue ", then cancel word corresponding to screen literal " Liu Yuanfang ", " Liu Yuanfang " counted dictionary as learning word.
The so-called word of cancelling is not equal to deletion herein, refer to if this word " Liu Yuanfang " only counts dictionary once deletion from dictionary (be its count number of times be 0), if count dictionary more than once then reduce the number of times that counts of this word " Liu Yuanfang ".
What is called counts and learns word and also be not equal to simple increase herein, if but should learn word " Liu Yuanfang " in the dictionary, then increase this word, and count once; If this word " Liu Yuanfang " has been arranged in the dictionary, then increase the number of times that counts of this word.
As described in above-mentioned step 404 and 405, the present invention cancels the operation of learning word and again counting amended word with the integral body of a upper screen literal as an operating unit, even the user has only revised the partial content of a upper screen literal, it also is the full content of screen literal integral body on this being cancelled and counted amended upward screen literal, therefore avoided in the prior art having improved the accuracy that the dictionary data are corrected owing to having revised the problem that partial content causes the dictionary data to correct a mistake.
And, if the user has continued to have inputted a period of time, which upper screen literal of input before no matter the user revises, then the present invention can be according to position and the content at the inter-sync cursor position of described recording areas and the definite upper screen literal of revising of retouching operation, from dictionary, cancel being somebody's turn to do before revising and shield word corresponding to literal, should count dictionary as learning word by upper screen literal with amended, therefore overcome prior art when the user changes the literal of preamble input, the dictionary data are corrected and wrong problem can be occurred, have improved the accuracy that the dictionary data are corrected.
Among the present invention, the retouching operation that can be judged as the dictionary data rectification of having revised the upper screen literal that has recorded in the buffer area and need to having carried out correspondence can have multiple, for example following each table is easy-to-read for typical several retouching operations, and the place of wherein revising marks with underscore:
1) revises the end part of shielding literal on certain.
Figure BDA0000150884160000091
2) revise the center section that shields literal on certain.
Figure BDA0000150884160000092
Figure BDA0000150884160000101
3) center section of screen literal is revised raw content and is inserted fresh content on certain.
4) insert fresh content in other endings of shielding literal except last screen literal.
Figure BDA0000150884160000103
But not all retouching operation can have been revised the upper screen literal that has recorded in the buffer area by being judged as and need to carry out corresponding dictionary data rectification.
For example if in the buffer area on last the ending of screen literal insert fresh content, then treat as having increased new upper screen literal, rather than the upper screen literal that has recorded in the buffer area made amendment, therefore do not need the dictionary data are corrected, but the upper screen literal that will increase newly counts dictionary as learning word.
The operation of for example before a certain screen literal, inserting new literal again, revised the upper screen literal that has recorded in the buffer area although can be judged to be, but little with the content relation that should shield literal at the literal that upper screen literal front end inserts, therefore do not need to carry out corresponding dictionary data and correct, but the literal that inserts is counted dictionary as the new word of learning.As shown in the table:
In addition, among the present invention, carry out the retouching operation that the dictionary data are corrected if above-mentioned needs have occured, can correct the dictionary data, this disposal route is looser; If wish the word of dictionary is carried out more strict corrective operations, also can carry out the retouching operation that the dictionary data are corrected above-mentioned needs have occured, and determined after the content before and after the modification of the upper screen literal revised, further set the determination strategy of more refinement, such as number of words equate, the strategy such as coding is consistent, if reach the requirement of these determination strategy, further correct again corresponding dictionary data, can more accurately correct the dictionary data like this.For example:
In one embodiment, after the content before and after the modification of the upper screen literal of determining to revise, whether the number of words of further judging amended upper screen literal is identical with the number of words of revising front upward screen literal, only when number of words is identical, just from dictionary, cancel being somebody's turn to do before revising and shield word corresponding to literal, and should count dictionary as word by upper screen literal with amended.Otherwise, from dictionary, do not cancel before revising should word corresponding to screen literal, but will be amended should upper screen literal count dictionary as new word.
In another kind of embodiment, after the content before and after the modification of the upper screen literal of determining to revise, whether the coding (such as Pinyin coding, root coding, character code etc.) of further judging amended upper screen literal is identical with the coding of revising front upward screen literal, only coding just from dictionary, cancel when identical before revising should word corresponding to screen literal, and will amendedly should count dictionary as word by upper screen literal.In this case, need to be when user's input screen literal coding corresponding to synchronous recording.
Among the present invention, the capacity of described recording areas can not be infinitely great, therefore the capacity of described recording areas can be set, after the content of the upper screen literal that records in this recording areas reaches the maximum size of this recording areas, then need to delete upper screen literal the earliest, record up-to-date upper screen literal, with the content maintenance of recording areas record in a rational capacity.
The above only is preferred embodiment of the present invention, and is in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of making, is equal to replacement, improvement etc., all should be included within the scope of protection of the invention.

Claims (11)

1. the dictionary data antidote of a character input method is characterized in that, comprising:
The upper screen written record of at every turn inputting upper screen is arrived recording areas, the upper screen literal of the each screen of mutual differentiation in this recording areas, cursor position and the retouching operation of while on this recording areas subsequent screen;
The upper screen literal that at every turn upward shields is counted dictionary as learning word;
According to the inter-sync cursor position of described recording areas and retouching operation, judged whether to revise the upper screen literal that has recorded in this recording areas, if it is determine the content before and after the modification of the upper screen literal revise, from dictionary, cancel being somebody's turn to do before revising and shield word corresponding to literal, should count dictionary as word by upper screen literal with amended.
2. method according to claim 1 is characterized in that,
The described upper screen literal of mutually distinguishing each screen in described recording areas is specially: utilize the list separator of appointment to separate the each time upper screen literal of screen;
When described recording areas simultaneous user's cursor position, ignore described list separator.
3. method according to claim 1, it is characterized in that, content before and after the modification of described definite upper screen literal of revising is specially: follow the trail of the upper screen literal that copies current cursor position, after operation that the upper screen literal of current cursor position is made amendment, to follow the trail of the upper screen literal that copies before revising as the upper screen literal before revising, the integral body of the upper screen literal after will changing is as amended upper screen literal.
4. method according to claim 1, it is characterized in that, described when having judged whether to revise the upper screen literal that has recorded in this recording areas, if judging described retouching operation is the operation that the front end of the upper screen literal that recorded in recording areas inserts literal, then do not carry out described follow-up processing, counted dictionary but should insert literal as the new word of learning.
5. method according to claim 1, it is characterized in that, after the content of the method before and after the modification of the upper screen literal of determining to revise, whether the number of words of further judging amended upper screen literal is identical with the number of words of revising front upward screen literal, only when number of words is identical, just from dictionary, cancel being somebody's turn to do before revising and shield word corresponding to literal, and should count dictionary as word by upper screen literal with amended.
6. method according to claim 5, it is characterized in that, in the number of words of amended screen literal and before revising this shields the number of words of literal when not identical, in described dictionary, do not cancel before revising should word corresponding to screen literal, but will be amended should upper screen literal count dictionary as new word.
7. method according to claim 1, it is characterized in that, after the content of the method before and after the modification of the upper screen literal of determining to revise, whether the coding of further judging amended upper screen literal is identical with the coding of revising front upward screen literal, only coding just from dictionary, cancel when identical before revising should word corresponding to screen literal, and will amendedly should count dictionary as word by upper screen literal.
8. method according to claim 1 is characterized in that, the capacity of described recording areas is set, and after the content of record was reaching the maximum size of this recording areas, deletion upper screen literal the earliest recorded up-to-date upper screen literal.
9. according to claim 1 to 8 each described methods, it is characterized in that, described recording areas is specially: buffer area or daily record or file.
10. the dictionary data apparatus for correcting of a character input method is characterized in that, comprising:
Logging modle, for recording areas is provided, the upper screen written record of the upper screen of input arrives this recording areas at every turn, the mutual upper screen literal of distinguishing each screen in this recording areas;
Monitor module, be used for monitoring cursor position and retouching operation on the screen, at described recording areas simultaneous user's cursor position and retouching operation;
Learn the word module, be used at every turn the upper screen literal of upper screen and the upper screen literal of judging treatmenting module appointment and count dictionary as learning word;
Judging treatmenting module, be used for according to the inter-sync cursor position of described recording areas and retouching operation, judged whether to revise the upper screen literal that has recorded in this recording areas, if it is determine the content before and after the modification of the upper screen literal revise, triggering cancel module from dictionary, cancel before revising should word corresponding to screen literal, and trigger and learn the word module and will amendedly should upward shield literal and count dictionary as word;
Cancel module, be used for the word of cancelling described judging treatmenting module appointment from dictionary.
11. device according to claim 10 is characterized in that, described recording areas is specially: buffer area or daily record or file.
CN201210098791.7A 2012-04-06 2012-04-06 The dictionary data antidote and device of input method Active CN103365905B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210098791.7A CN103365905B (en) 2012-04-06 2012-04-06 The dictionary data antidote and device of input method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210098791.7A CN103365905B (en) 2012-04-06 2012-04-06 The dictionary data antidote and device of input method

Publications (2)

Publication Number Publication Date
CN103365905A true CN103365905A (en) 2013-10-23
CN103365905B CN103365905B (en) 2017-12-15

Family

ID=49367269

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210098791.7A Active CN103365905B (en) 2012-04-06 2012-04-06 The dictionary data antidote and device of input method

Country Status (1)

Country Link
CN (1) CN103365905B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103941979A (en) * 2014-04-10 2014-07-23 北京搜狗科技发展有限公司 Method and device for inputting characters into mobile device
CN106933382A (en) * 2017-03-17 2017-07-07 北京小米移动软件有限公司 Update the method and device of input method dictionary
CN115089127A (en) * 2022-08-24 2022-09-23 深圳市心流科技有限公司 Sleep recording method and system and sleep monitoring system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE10153505A1 (en) * 2001-10-30 2003-05-28 Siemens Ag Correction of characters in a character string, applicable particularly to text input using a mobile phone, whereby individual characters in a string can be deleted or altered without the whole string having to be deleted
CN101178741A (en) * 2007-12-24 2008-05-14 腾讯科技(深圳)有限公司 Method and device for updating user's word stock
CN101727200A (en) * 2009-12-02 2010-06-09 腾讯科技(深圳)有限公司 Processing method and device based on input behavior

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE10153505A1 (en) * 2001-10-30 2003-05-28 Siemens Ag Correction of characters in a character string, applicable particularly to text input using a mobile phone, whereby individual characters in a string can be deleted or altered without the whole string having to be deleted
CN101178741A (en) * 2007-12-24 2008-05-14 腾讯科技(深圳)有限公司 Method and device for updating user's word stock
CN101727200A (en) * 2009-12-02 2010-06-09 腾讯科技(深圳)有限公司 Processing method and device based on input behavior

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103941979A (en) * 2014-04-10 2014-07-23 北京搜狗科技发展有限公司 Method and device for inputting characters into mobile device
CN103941979B (en) * 2014-04-10 2018-05-04 北京搜狗科技发展有限公司 A kind of method and apparatus for inputting word in a mobile device
CN106933382A (en) * 2017-03-17 2017-07-07 北京小米移动软件有限公司 Update the method and device of input method dictionary
CN115089127A (en) * 2022-08-24 2022-09-23 深圳市心流科技有限公司 Sleep recording method and system and sleep monitoring system

Also Published As

Publication number Publication date
CN103365905B (en) 2017-12-15

Similar Documents

Publication Publication Date Title
CN105378606B (en) The alternative hvpothesis error correction keyed in for gesture
CN104737156B (en) Predict in space for text input
US20150309984A1 (en) Learning language models from scratch based on crowd-sourced user text input
US10310628B2 (en) Type error revising method
CN103049458B (en) A kind of method and system revising user thesaurus
US10838513B2 (en) Responding to selection of a displayed character string
CN101361064A (en) A text editing apparatus and method
CN101206639A (en) Method for indexing complex impression based on PDF
CN104090669B (en) Input method edit methods and device
CN103299550A (en) Spell-check for a keyboard system with automatic correction
KR101394874B1 (en) Device and method implementing for particular function based on writing
KR101332757B1 (en) Type correction method for word or letters without deletion input and device for implementing the method
CN104615591A (en) Context-based forward input error correcting method and device
US20140297276A1 (en) Editing apparatus, editing method, and computer program product
CN104916177B (en) The data output method of electronic equipment and electronic equipment
CN104699265A (en) Text input method and text input device
CN102915122B (en) Based on the intelligent family moving platform spelling input method of language model
CN103365905A (en) Method and device for correcting word bank data of input method
US20200042588A1 (en) User Interface Tools and Methods Facilitating Data Transformations and Coding
CN104933030A (en) Uygur language spelling examination method and device
CN104731766A (en) Alphabetic writing lexicon establishing method, alphabetic writing lexicon establishing device, inputting method and inputting system
CN102810095B (en) A kind of word method and apparatus
CN115510828A (en) Table data processing method and device, electronic equipment and storage medium
CN111985233A (en) Semantic association type Chinese proofreading database and Chinese proofreading system
CN102236638B (en) Method and device for correcting capital and lowercase forms of characters in western language words

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
ASS Succession or assignment of patent right

Owner name: SHENZHEN SHIJI LIGHT SPEED INFORMATION TECHNOLOGY

Free format text: FORMER OWNER: TENGXUN SCI-TECH (SHENZHEN) CO., LTD.

Effective date: 20131021

C41 Transfer of patent application or patent right or utility model
COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: 518044 SHENZHEN, GUANGDONG PROVINCE TO: 518057 SHENZHEN, GUANGDONG PROVINCE

TA01 Transfer of patent application right

Effective date of registration: 20131021

Address after: 518057 Tencent Building, 16, Nanshan District hi tech park, Guangdong, Shenzhen

Applicant after: Shenzhen Shiji Guangsu Information Technology Co., Ltd.

Address before: Shenzhen Futian District City, Guangdong province 518044 Zhenxing Road, SEG Science Park 2 East Room 403

Applicant before: Tencent Technology (Shenzhen) Co., Ltd.

C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant