CN101178741A - Method and device for updating user's word stock - Google Patents

Method and device for updating user's word stock Download PDF

Info

Publication number
CN101178741A
CN101178741A CNA2007103022820A CN200710302282A CN101178741A CN 101178741 A CN101178741 A CN 101178741A CN A2007103022820 A CNA2007103022820 A CN A2007103022820A CN 200710302282 A CN200710302282 A CN 200710302282A CN 101178741 A CN101178741 A CN 101178741A
Authority
CN
China
Prior art keywords
character
input
module
instruction
user
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
CNA2007103022820A
Other languages
Chinese (zh)
Other versions
CN101178741B (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 CN2007103022820A priority Critical patent/CN101178741B/en
Publication of CN101178741A publication Critical patent/CN101178741A/en
Application granted granted Critical
Publication of CN101178741B publication Critical patent/CN101178741B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides a method and device of renewing consumer thesaurus. Seen from the content above, after the method and device of renewing consumer thesaurus of the invention deletes one character and obtains one input character, the input character is judged whether to be the corrected character of the deleted character or not, and then the invention renews consumer input habit according to the judging result. Therefore, the invention can correct consumer input habit renewing error in the consumer thesaurus caused by the wrong input character after the consumer deletes once wrongly input character and then inputs the corrected character of the wrongly input character.

Description

A kind of method and device that upgrades user thesaurus
Technical field
The present invention relates to input method, particularly a kind of method and device that upgrades user thesaurus.
Background technology
Along with the development of electronics technology, input method has all obtained widely using in every field, provide a accurately, fast and the input method of hommization, be the problem that a lot of developers pay close attention to.
The input method that is widely used at present generally realizes the character input by following steps:
At first accord with by user input instruction, system filters out the pairing candidate word of instruction character according to instruction character from user thesaurus, candidate word is sorted according to priority of long word principle and user's input habit and present to the user, finally the candidate word of need being selected by the user is imported as input character.Like this, just finished a character input.Instruction character described here can be phonetic, and described character can be spoken for Chinese word, and described Chinese word can be single Chinese character, also can be the speech of a plurality of Chinese characters compositions.Certainly, instruction character and character have a variety of, and such as in the Japanese input, the instruction character corresponding characters of Japanese spelling is a Japanese.
User's input habit is stored in the user thesaurus, in user thesaurus, in each character its corresponding user's input habit is all arranged, user's input habit comprises last memory and word frequency.Described last memory is meant that the user imports after certain instruction character for the last time, has selected an input character, and this input character is exactly the last memory of this instruction character so.Described word frequency is meant, the number of times that character was imported by the user.
After character of the every input of user, system can carry out user thesaurus and upgrade, and user thesaurus described here upgrades and comprises: the user's input habit that upgrades described input character correspondence in user thesaurus.
Upgrade user's input habit and comprise the renewal of last memory and the renewal of word frequency.
The renewal of described last memory is meant: the every input once command symbol of user is also selected a character in the candidate word that system generates according to described instruction character, the character record that system all can select the instruction character and the user of user's input gets off, and the last memory of described character as described instruction character deposited in the user thesaurus.In ensuing input, if the user imports this instruction character once more, system at first can filter out candidate word according to described instruction character, candidate word is sorted again, and in the process of ordering, can pay the utmost attention to the last memory of described instruction character so.
The renewal of described word frequency is meant: for each character of being imported by the user, system all can record this character and this character in user thesaurus be imported the number of times of this speech by the user, and this just is the word frequency of described character by the number of times that the user imported.In the process of input, character of the every input of user, system will judge whether described character had been transfused to before, if then the word frequency with character described in the user thesaurus adds one, otherwise, described character is added in the user thesaurus.After input in, if the user has imported an instruction character, system at first can filter out all characters of described instruction character correspondence from user thesaurus, then the character that filters out is sorted, in the process of ordering, system is after the last memory of having paid the utmost attention to described instruction character so, and meeting is further sorted according to the word frequency of candidate word again, the candidate word that word frequency is high comes the front, and word frequency is low comes the back.
For instance, the user is input Pinyin " nh " for the first time, has selected " hello " then, system can judge whether " hello " had been transfused to before so, if then the word frequency with " hello " in the user thesaurus adds one, otherwise, " hello " is added in the user thesaurus; Simultaneity factor also can be updated to " hello " with the last memory of " nh ", need to prove here, if " girl " selected in user's input " nh " more next time, system can be updated to " girl " with the last memory of " nh " so.
This shows, user's input habit of bringing in constant renewal in the user thesaurus can have influence on the ordering of candidate word, and the ordering of candidate word is directly connected to the user and uses input method to carry out the accuracy and the speed of character input, and therefore accuracy and the reliability to input method all has crucial effects.
Yet in actual applications, can there be such situation in the renewal of user thesaurus:
After the user input instruction symbol, owing in the process that candidate word is selected, select error, with the candidate word of mistake as the input character input, the last memory that can be in user thesaurus the word frequency of this character of being imported by mistake be added in the lump the instruction character of user's input of system is updated to the character that this is imported by mistake so, during this made that user thesaurus upgrades, user's input habit was updated mistake.
Next, the user is after input error, may find at once and delete this because candidate word is selected wrong by the character of wrong input, re-enter instruction character then in the position at the described deleted original place of character and finally select correct candidate word to import as input character, here we claim this correct input character for before the corrigendum character of deleted character.The instruction character that re-enters may be different with the instruction character of input before, what select to adopt in wrong in candidate word such as the user is simplicity, and after the discovery mistake, in order to improve accuracy, when input corrigendum character, select spelling, but in the instruction character of the twice input institute candidate word, all comprise described corrigendum character.
Yet after said process finishes, be updated wrong user's custom and can not obtain corrigendum all the time, the instruction character of correspondence when if the user has imported input error character at that time once more, system can sort to the candidate word that filters out according to word frequency wrong in the user thesaurus and last memory, and then cause misordering, next this bring unnecessary interference according to the candidate word character of selecting needs that sorts can for the user, reduced the accuracy and the speed of input character.
Summary of the invention
The embodiment of the invention provides a kind of user thesaurus method for updating, can user deletion once wrong input character and import the corrigendum character of described wrong input character subsequently after, correct user's input habit renewal mistake in the user thesaurus that the character of described wrong input causes.
The device that the embodiment of the invention provides a kind of user thesaurus to upgrade, can user deletion once wrong input character and import the corrigendum character of described wrong input character subsequently after, correct user's input habit renewal mistake in the user thesaurus that the character of described wrong input causes.
Below the technical scheme that provides for the embodiment of the invention:
A kind of method for testing motion, this method comprises:
By above content as can be seen, user thesaurus method for updating and device that the embodiment of the invention provides at a character of deletion and after obtaining input character subsequently, judge that whether described input character is the corrigendum character of described deleted character; Upgrade user's input habit according to judged result.Therefore, can user deletion once wrong input character and import the corrigendum character of described wrong input character subsequently after, correct user's input habit renewal mistake in the user thesaurus that the character of described wrong input causes.
Description of drawings
The user thesaurus method for updating process flow diagram that Fig. 1 provides for the embodiment of the invention one;
Fig. 2 is the user thesaurus method for updating process flow diagram of the embodiment of the invention two confessions;
The structure drawing of device that the user thesaurus that Fig. 3 provides for the embodiment of the invention three upgrades;
The structure drawing of device that the user thesaurus that Fig. 4 provides for the embodiment of the invention four upgrades.
Embodiment
For making the purpose, technical solutions and advantages of the present invention express clearlyer, the present invention is further described in more detail below in conjunction with drawings and the specific embodiments.
At first the user thesaurus method for updating that the embodiment of the invention is provided describes.
Embodiment one:
The user thesaurus method for updating process flow diagram that Fig. 1 provides for the embodiment of the invention, as shown in Figure 1:
Step 101:, judge that whether described input character is the corrigendum character of described deleted character, if then execution in step 102 at a character of deletion and after obtaining input character subsequently.
In this step, describedly judge that whether input character is that the corrigendum character of deleted character can comprise: judge that described input character is whether in and the candidate word that filters out when being present in the described deleted character of input identical with the position at described deleted character place of the position at place, if judge that then described input character is the corrigendum character of described deleted character.
Step 102: upgrade user's input habit according to judged result.
This step can realize in the following ways:
If judged result is described input character is the corrigendum character of described deleted character, then described deleted character corresponding user's input habit in user thesaurus is reverted to before the described deleted character of input, upgrade user's input habit of described input character correspondence in user thesaurus.
Wherein, describedly before being reverted to the described deleted character of input, described deleted character corresponding user's input habit in user thesaurus can comprise: the last memory of instruction character is reduced to before the described delete character of input the instruction character of described instruction character user's input during for the described deleted character of input; The word frequency of described delete character in user thesaurus subtracted one.
In addition, the word frequency of described delete character in user thesaurus subtracted after one, deleted character corresponding user's input habit in user thesaurus may further include before reverting to the described deleted character of input: judge whether the word frequency of described deleted character in user thesaurus is 0, if then described deleted character is deleted in user thesaurus.
If judging described input character is not the corrigendum character of described deleted character, this method can further include: upgrade described input character corresponding user's input habit in user thesaurus.
The above upgrades described input character corresponding user's input habit in user thesaurus and can comprise:
The last memory of instruction character is updated to described input character, the instruction character of described instruction character user's input during for the described input character of input; Judge whether to import for the first time described input character, if, described input character is added in the user thesaurus, otherwise, the word frequency of described input character in user thesaurus added one.
The above instruction character is to be phonetic, and described character can be spoken for Chinese word.
By above content as can be seen, user thesaurus method for updating and device that the embodiment of the invention provides, at user's once wrong input character of deletion and after importing the corrigendum character of described wrong input character subsequently, described deleted character corresponding user's input habit in user thesaurus is reverted to before the described deleted character of input, upgrade user's input habit of described input character correspondence in user thesaurus, therefore, after can and importing the corrigendum character of described wrong input character subsequently at the once wrong input character of user deletion, correct that user's input habit upgrades mistake in the user thesaurus that described wrong input character causes.
With regard to above various situations, select preferred implementation below, the user thesaurus method for updating that the embodiment of the invention is provided is described in further detail.
Embodiment two
In the present embodiment, instruction character is a phonetic, and character is Chinese word.Suppose that the user has imported " nh ", because error has been imported " title of an emperor's reign " as input character, at this moment the user finds mistake at once, with " title of an emperor's reign " deletion, re-entered " nhao ", and in candidate word, selected the corrigendum character " hello " of " title of an emperor's reign " to import as input character.
The user thesaurus method for updating process flow diagram that Fig. 2 provides for the embodiment of the invention, as shown in Figure 2:
The user thesaurus method for updating that the embodiment of the invention provides comprises:
Step 201: also obtain input character " hello " subsequently afterwards at delete character " title of an emperor's reign ", whether the position of judging input character " hello " place is identical with the position at deleted character " title of an emperor's reign " place, if then execution in step 201, otherwise execution in step 204.
For instance, if the deletion character first the row, and subsequently input character be the tenth the row, the two position difference, so described input character can be the corrigendum character of the character of described deletion scarcely.That is to say that this input character is not in order to correct last wrong input character, may be the modification to article content.
In the present embodiment, deleted " title of an emperor's reign " is identical with " hello " position of input subsequently.Yet only judge whether the position is not enough identical, also need further execution in step 202.
Step 202: judge in the candidate word that input character " hello " filters out when whether being present in the described deleted character " title of an emperor's reign " of input, if then execution in step 203, otherwise execution in step 204
In this step, be not whether instruction character by judging twice input is identical, this be because, the user is when righting the wrong, might change instruction character, for example change spelling into from original simplicity, so according to the instruction character of twice input of user whether consistent judge this input character whether be last time the corrigendum character of delete character be inappropriate.
From present embodiment, this point is conspicuous: during user error input " title of an emperor's reign ", the instruction character of input is " nh ", and when righting the wrong, the instruction character of input is " nhao ", if judge merely whether twice instruction character is identical, will think that " nh " is different with " nhao ", input character is not the corrigendum to deleted character, and this judged result is inaccurate.
In the present embodiment, during user error input " title of an emperor's reign ", comprise " hello " in the pairing candidate word of the instruction character of input " nh ", therefore can judge that Shu Ru " hello " was to the corrigendum character of deletion " title of an emperor's reign " afterwards.
Step 203: the last memory of instruction character " nh " is reduced to the deleted character of input " title of an emperor's reign " before, and the instruction character of instruction character " nh " user's input during for the described deleted character " title of an emperor's reign " of input subtracts one with the word frequency of deleted character " title of an emperor's reign ".
In the present embodiment, suppose before in mistake input " title of an emperor's reign ", when the user imports " nh " for the last time, selected " girl " to import as input character, at that time with " girl " as the last memory of " nh ", and after mistake input " title of an emperor's reign ", the last memory with " nh " of mistake is updated to " title of an emperor's reign ".This step is corrected this mistake exactly, and the last memory of " nh " has been reverted to wrong input " title of an emperor's reign " before, just the last memory of " nh " is reduced to " girl ".If " title of an emperor's reign " this character is being 8 by the word frequency before the wrong input, and at that time the word frequency of wrong input back " title of an emperor's reign " by mistake be updated to 9, this step subtracts one by the word frequency with " title of an emperor's reign " so, has just corrected mistake renewal at that time.
Step 204: judge whether the word frequency of described deleted character " title of an emperor's reign " in user thesaurus is 0, if then execution in step 205, otherwise, execution in step 206.
Step 205: described deleted character " title of an emperor's reign " is deleted in user thesaurus.
If described deleted character " title of an emperor's reign " not in user thesaurus, owing to wrong input, has been added on " title of an emperor's reign " in the user thesaurus originally, so, by step 204 and step 205, just can correct this mistake, " title of an emperor's reign " deleted from user thesaurus.
Step 206: the last memory of instruction character " nhao " is updated to input character " hello ", the instruction character of user's input when instruction character " nhao " is input " hello ".
Step 207: judge whether input " hello " for the first time, if, execution in step 206, otherwise, execution in step 209.
Step 208: " hello " is added in the user thesaurus.
Step 209: " hello " word frequency in user thesaurus is added one.
By above content as can be seen, user thesaurus method for updating and device that the embodiment of the invention provides, at user's once wrong input character of deletion and after importing the corrigendum character of described wrong input character subsequently, described deleted character corresponding user's input habit in user thesaurus is reverted to before the described deleted character of input, upgrade user's input habit of described input character correspondence in user thesaurus, therefore, after can and importing the corrigendum character of described wrong input character subsequently at the once wrong input character of user deletion, correct that user's input habit upgrades mistake in the user thesaurus that described wrong input character causes.
Based on above method, the device that the embodiment of the invention also provides a kind of user thesaurus to upgrade is elaborated to this device below.
Embodiment three
The structure drawing of device that the user thesaurus that Fig. 3 provides for the embodiment of the invention upgrades.As shown in Figure 3:
The device that the user thesaurus that the embodiment of the invention provides upgrades comprises: discrimination module 301 and update module 302.
Discrimination module 301 is used at a character of deletion and after obtaining input character subsequently, judges that whether the input character that obtains is the corrigendum character of described deleted character, sends object commands to update module 302.
Discrimination module 301 can comprise position discrimination module 3011 and candidate word discrimination module 3012;
Position discrimination module 3011 is used at a character of deletion and after obtaining input character subsequently, whether the position of judging described input character place is identical with the position at described deleted character place, if, then send decision instruction to candidate word discrimination module 3012, otherwise, judge that the input character obtain is not the corrigendum character of described deleted character, sends object command to update module.
Candidate word discrimination module 3012 is used to receive the decision instruction from position discrimination module 3011, after receiving described decision instruction, judge in the candidate word that described input character filters out when whether being present in the described deleted character of input, if, judge that then described input character is the corrigendum character of described deleted character, send object command to update module 302, otherwise, judge that the input character obtain is not the corrigendum character of described deleted character, sends object command to update module.
Update module 302 is used to receive the object command from discrimination module 301, upgrades user's input habit according to the object command that receives.
Update module 302 can comprise: analysis module 3021 and processing module 3022.
Analysis module 3021 is used to receive the object command from discrimination module 301, if described object command is: the input character that obtains is the corrigendum character of described deleted character, then sends first update instruction to processing module 3022.
Wherein, the content of first update instruction is: described deleted character corresponding user's input habit in user thesaurus is reverted to before the described deleted character of input, upgrade described input character corresponding user's input habit in user thesaurus.
Processing module 3022 is used to receive first update instruction from analysis module 3021, after receiving first update instruction, described deleted character corresponding user's input habit in user thesaurus is reverted to before the described deleted character of input, upgrade described input character corresponding user's input habit in user thesaurus.
In addition, can be further used for receiving object command be after the input character that obtains is not the corrigendum character of described deleted character, to send second update instruction to processing module 3022 to analysis module 3021.
Wherein, the content of second update instruction is; Upgrade user's input habit of described input character correspondence in user thesaurus.
Processing module 3022 is further used for receiving second update instruction from analysis module 3021, after receiving second update instruction, upgrades user's input habit of described input character correspondence in user thesaurus.
The device that upgrades of the user thesaurus that the embodiment of the invention is provided is described in further detail below.
Embodiment four
The structure drawing of device that the user thesaurus that Fig. 4 provides for the embodiment of the invention upgrades.As shown in Figure 4:
The device that the user thesaurus that the embodiment of the invention provides upgrades comprises: discrimination module 301 and update module 302.
Discrimination module 301 comprises position discrimination module 3011 and candidate word discrimination module 3012.
Position discrimination module 3011 is used at a character of deletion and after obtaining input character subsequently, whether the position of judging described input character place is identical with the position at described deleted character place, if then send decision instruction to candidate word discrimination module 3012.
Candidate word discrimination module 3012 is used to receive the decision instruction from position discrimination module 3011, after receiving described decision instruction, judge in the candidate word that described input character filters out when whether being present in the described deleted character of input, if, judge that then described input character is the corrigendum character of described deleted character, sends object commands to update module 302.
Update module 302 comprises: update module 302 can comprise: analysis module 3021 and processing module 3022.
Analysis module 3021 is used to receive the object command from discrimination module 301, if described object command is: the input character that obtains is the corrigendum character of described deleted character, then sends first update instruction to processing module 3022; If receive object command be: the input character that obtains is not the corrigendum character of described deleted character, then sends second update instruction to processing module 3022.
Processing module 3022 is used to receive first update instruction or second instruction from analysis module 3021, after receiving first update instruction, described deleted character corresponding user's input habit in user thesaurus is reverted to before the described deleted character of input, upgrade described input character corresponding user's input habit in user thesaurus; After receiving second update instruction, upgrade user's input habit of described input character correspondence in user thesaurus.
Processing module 3022 comprises: delete character update module 30221 and input character update module 30222.
Delete character update module 30221 is used to receive first update instruction from analysis module 3021, after receiving described first update instruction, described deleted character corresponding user's input habit in user thesaurus is reverted to before the described deleted character of input, send second update instruction to input character update module 3022.
Delete character update module 30221 comprises: first last memory update module 01, the first word frequency update module 02 and the sending module 03.
The first last memory update module 01 is used to receive first update instruction from analysis module 3021, after receiving described first update instruction, the last memory of instruction character is reduced to before the described deleted character of input, send last memory to sending module 03 and upgrade the instruction that finishes, the described instruction character instruction character that the user imports during for the described deleted character of input.
The first word frequency update module 02 is used to receive first update instruction from analysis module 3021, after receiving described notice, the word frequency of described deleted character in user thesaurus is subtracted one, sends word frequency to sending module 03 and upgrades the instruction that finishes.
The first word frequency update module 02 comprises and subtracts frequency module 1, word frequency discrimination module 2 and removing module 3.
Subtract frequency module 1 and be used to receive first update instruction from analysis module 3021, after receiving described first update instruction, the word frequency of described deleted character in user thesaurus subtracted one, the word frequency of described deleted character in dictionary is sent to word frequency judge module 2.
Word frequency discrimination module 2 is used to receive the word frequency from subtracting frequency module, judges whether the word frequency of described deleted character in user thesaurus is 0, if then send delete instruction to removing module 3.
Described removing module 3 is used to receive the delete instruction from the word frequency discrimination module, after receiving described delete instruction, with the word frequency deletion of described deleted character in dictionary, sends word frequency to sending module 03 and upgrades the instruction that finishes.
Sending module 03 be used to receive from the last memory of the first last memory module 01 upgrade finish instruction and from the first word frequency update module 02 word frequency upgrade the instruction that finishes, receiving after last memory upgrades finish instruction and word frequency and upgrade the instruction that finishes, to input character update module 30222 transmissions second update instruction.
Input character update module 30222 is used to receive from delete character update module 30221 or from second update instruction of analysis module 3021, after receiving described second update instruction, upgrade user's input habit of described input character correspondence in user thesaurus.
Input character update module 30222 comprises: the second last memory update module 11 and the second word frequency update module 12;
The second last memory update module 11 is used to receive from delete character update module 30221 or from second update instruction of analysis module 3021, after receiving described second update instruction, the last memory of instruction character is updated to described input character, the instruction character of described instruction character user's input during for the described input character of input.
The second word frequency update module 22 is used to receive from delete character update module 30221 or from second update instruction of analysis module 3021, after receiving described second update instruction, judge whether to import for the first time described input character, if, described input character is added in the user thesaurus, otherwise, the word frequency of described input character in user thesaurus added one.
By above content as can be seen, user thesaurus method for updating and device that the embodiment of the invention provides at a character of deletion and after obtaining input character subsequently, judge that whether described input character is the corrigendum character of described deleted character; Upgrade user's input habit according to judged result.Therefore, can user deletion once wrong input character and import the corrigendum character of described wrong input character subsequently after, correct user's input habit renewal mistake in the user thesaurus that the character of described wrong input causes.
In sum, more than be preferred embodiment of the present invention only, be not to be used to limit protection scope of the present invention.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (15)

1. a method of upgrading user thesaurus is characterized in that, this method comprises:
At a character of deletion and after obtaining input character subsequently, judge that whether described input character is the corrigendum character of described deleted character;
Upgrade user's input habit according to judged result.
2. method according to claim 1 is characterized in that, describedly judges that whether input character is that the corrigendum character of deleted character comprises:
Judge that described input character is whether in and the candidate word that filters out when being present in the described deleted character of input identical with the position at described deleted character place of the position at place, if judge that then described input character is the corrigendum character of described deleted character.
3. method according to claim 1 and 2 is characterized in that, describedly upgrades user's input habit according to judged result and comprises:
If judged result is described input character is the corrigendum character of described deleted character, then described deleted character corresponding user's input habit in user thesaurus is reverted to before the described deleted character of input, upgrade user's input habit of described input character correspondence in user thesaurus.
4. method according to claim 3 is characterized in that, described user's input habit with described deleted character correspondence in user thesaurus comprises before reverting to the described deleted character of input:
The last memory of instruction character is reduced to before the described deleted character of input the instruction character of described instruction character user's input during for the described deleted character of input;
The word frequency of described deleted character in user thesaurus subtracted one.
5. method according to claim 3, it is characterized in that, the word frequency of described deleted character in user thesaurus subtracted after one, described user's input habit with described deleted character correspondence in user thesaurus further comprises before reverting to the described deleted character of input: judge whether the word frequency of described deleted character in user thesaurus is 0, if then described deleted character is deleted in user thesaurus.
6. method according to claim 1 is characterized in that, is not the corrigendum character of described deleted character if judge described input character, and this method further comprises: upgrade described input character corresponding user's input habit in user thesaurus.
7. according to claim 3 or 6 described methods, it is characterized in that the described input character of described renewal corresponding user's input habit in user thesaurus comprises:
The last memory of instruction character is updated to described input character, the instruction character of described instruction character user's input during for the described input character of input;
Judge whether to import for the first time described input character, if, described input character is added in the user thesaurus, otherwise, the word frequency of described input character in user thesaurus added one.
8. the device that upgrades of a user thesaurus, this device comprises: discrimination module and update module;
Described discrimination module is used at a character of deletion and after obtaining input character subsequently, judges that whether the input character that obtains is the corrigendum character of described deleted character, sends object command to update module.
Described update module is used to receive the object command from discrimination module, upgrades user's input habit according to the object command that receives.
9. device according to claim 8 is characterized in that, described discrimination module comprises position discrimination module and candidate word discrimination module;
Described position discrimination module is used for after deleting a character and obtaining an input character input subsequently, judge whether the input character position that obtains is identical with described deleted character position, if, then send decision instruction to the candidate word discrimination module, otherwise, judge that the input character obtain is not the corrigendum character of described deleted character, sends object command to update module;
Described candidate word discrimination module is used to receive the decision instruction from the position discrimination module, after receiving described decision instruction, judge in the candidate word that described input character filters out when whether being present in the described deleted character of input, if, judge that then described input character is the corrigendum character of described deleted character, send object command to update module, otherwise, judge that the input character obtain is not the corrigendum character of described deleted character, sends object command to update module.
10. device according to claim 8, it is characterized in that described update module comprises: analysis module and processing module;
Described analysis module is used to receive the object command from discrimination module, if described object command is: the input character that obtains is the corrigendum character of described deleted character, then sends first update instruction to processing module;
Described processing module is used to receive first update instruction from analysis module, after receiving first update instruction, described deleted character corresponding user's input habit in user thesaurus is reverted to before the described deleted character of input, upgrade described input character corresponding user's input habit in user thesaurus.
11. device according to claim 10 is characterized in that, described processing module comprises: delete character update module and input character update module;
Described delete character update module is used to receive first update instruction from analysis module, after receiving described first update instruction, described deleted character corresponding user's input habit in user thesaurus is reverted to before the described deleted character of input, send second update instruction to the input character update module;
Described input character update module is used to receive second update instruction from described delete character update module, after receiving described second update instruction, upgrades user's input habit of described input character correspondence in user thesaurus.
12. device according to claim 11 is characterized in that, described delete character update module comprises: the first last memory update module, first word frequency update module and the sending module;
The described first last memory update module is used to receive first update instruction from analysis module, after receiving described first update instruction, the last memory of instruction character is reduced to before the described deleted character of input, send last memory to sending module and upgrade the instruction that finishes, the described instruction character instruction character that the user imports during for the described deleted character of input;
The described first word frequency update module is used to receive first update instruction from analysis module, after receiving described first update instruction, the word frequency of described deleted character in user thesaurus is subtracted one, sends word frequency to sending module and upgrades the instruction that finishes;
Described sending module is used to receive upgrade from the last memory of the first last memory module and finishes instruction and upgrade the instruction that finishes from the word frequency of the first word frequency update module, receive last memory upgrade finish instruction and word frequency upgrade finish instruct after, send second update instruction to the input character update module.
13. device according to claim 12 is characterized in that, the described first word frequency update module bag subtracts frequency module, word frequency discrimination module and removing module;
The described frequency module that subtracts is used to receive first update instruction from analysis module, after receiving described first update instruction, the word frequency of described deleted character in user thesaurus subtracted one, the word frequency of described deleted character in dictionary is sent to the word frequency judge module;
Described word frequency discrimination module is used to receive the word frequency from subtracting frequency module, judges whether the word frequency of described deleted character in user thesaurus is 0, if then send delete instruction to removing module;
Described removing module is used to receive the delete instruction from the word frequency discrimination module, after receiving described delete instruction, with the word frequency deletion of described deleted character in dictionary, sends word frequency to sending module and upgrades the instruction that finishes.
14. device according to claim 10 is characterized in that, it is after the input character that obtains is not the corrigendum character of described deleted character, to send second update instruction to processing module that described analysis module is further used for receiving object command;
Described processing module is further used for receiving second update instruction from analysis module, after receiving second update instruction, upgrades user's input habit of described input character correspondence in user thesaurus.
15., it is characterized in that described input character update module comprises according to the arbitrary described device of claim 11~14: the second last memory update module and the second word frequency update module;
The described second last memory update module is used to receive second update instruction from delete character update module or analysis module, after receiving described second update instruction, the last memory of instruction character is updated to described input character, the instruction character of described instruction character user's input during for the described input character of input;
The described second word frequency update module is used to receive second update instruction from delete character update module or analysis module, after receiving described second update instruction, judge whether to obtain for the first time described input character, if, described input character is added in the user thesaurus, otherwise, the word frequency of described input character in user thesaurus added one.
CN2007103022820A 2007-12-24 2007-12-24 Method and device for updating user's word stock Active CN101178741B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2007103022820A CN101178741B (en) 2007-12-24 2007-12-24 Method and device for updating user's word stock

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2007103022820A CN101178741B (en) 2007-12-24 2007-12-24 Method and device for updating user's word stock

Publications (2)

Publication Number Publication Date
CN101178741A true CN101178741A (en) 2008-05-14
CN101178741B CN101178741B (en) 2010-06-23

Family

ID=39404994

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2007103022820A Active CN101178741B (en) 2007-12-24 2007-12-24 Method and device for updating user's word stock

Country Status (1)

Country Link
CN (1) CN101178741B (en)

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102073527A (en) * 2011-01-26 2011-05-25 百度在线网络技术(北京)有限公司 Method and device for updating input method word stock
CN102750005A (en) * 2012-06-11 2012-10-24 迪尔码国际营销服务(北京)有限公司 Method for intercepting and replacing input information based on input method
CN102810095A (en) * 2011-06-02 2012-12-05 北京搜狗科技发展有限公司 Word learning method and device
CN103019398A (en) * 2011-09-20 2013-04-03 腾讯科技(深圳)有限公司 Character input method and character input device
CN103049458A (en) * 2011-10-17 2013-04-17 北京搜狗科技发展有限公司 Method and system for revising user word bank
CN103365905A (en) * 2012-04-06 2013-10-23 腾讯科技(深圳)有限公司 Method and device for correcting word bank data of input method
CN103389800A (en) * 2012-05-11 2013-11-13 北京百度网讯科技有限公司 Entry generating method and device
CN104049766A (en) * 2013-03-11 2014-09-17 百度国际科技(深圳)有限公司 Cloud server for updating language model in cloud input method and terminal thereof
CN105589570A (en) * 2014-10-23 2016-05-18 北京搜狗科技发展有限公司 Input error processing method and apparatus
CN106921561A (en) * 2017-03-01 2017-07-04 维沃移动通信有限公司 A kind of information processing method and device
CN106959766A (en) * 2017-03-16 2017-07-18 努比亚技术有限公司 Input method association method and association's device
CN107870931A (en) * 2016-09-26 2018-04-03 北京搜狗科技发展有限公司 A kind of method, apparatus and electronic equipment for optimizing user thesaurus
CN107870932A (en) * 2016-09-26 2018-04-03 北京搜狗科技发展有限公司 A kind of user thesaurus optimization method, device and electronic equipment
CN108628461A (en) * 2017-03-16 2018-10-09 北京搜狗科技发展有限公司 A kind of input method and device, a kind of method and apparatus of update dictionary
CN109240511A (en) * 2017-07-04 2019-01-18 北京搜狗科技发展有限公司 It is a kind of to update the method for dictionary, system and a kind of for updating the device of dictionary
CN109344402A (en) * 2018-09-20 2019-02-15 中国科学技术信息研究所 A kind of new terminology finds recognition methods automatically

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE10236574A1 (en) * 2002-08-08 2004-02-26 T-Mobile Deutschland Gmbh Process for the technically supported input of text messages on electronic devices
CN100472524C (en) * 2006-06-26 2009-03-25 腾讯科技(深圳)有限公司 Chinese character library updating method and system
CN100483416C (en) * 2007-05-22 2009-04-29 北京搜狗科技发展有限公司 Character input method, input method system and method for updating word stock

Cited By (26)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102073527B (en) * 2011-01-26 2013-04-10 百度在线网络技术(北京)有限公司 Method and device for updating input method word stock
CN102073527A (en) * 2011-01-26 2011-05-25 百度在线网络技术(北京)有限公司 Method and device for updating input method word stock
CN102810095A (en) * 2011-06-02 2012-12-05 北京搜狗科技发展有限公司 Word learning method and device
CN102810095B (en) * 2011-06-02 2016-01-13 北京搜狗科技发展有限公司 A kind of word method and apparatus
CN103019398A (en) * 2011-09-20 2013-04-03 腾讯科技(深圳)有限公司 Character input method and character input device
CN103049458A (en) * 2011-10-17 2013-04-17 北京搜狗科技发展有限公司 Method and system for revising user word bank
CN103365905A (en) * 2012-04-06 2013-10-23 腾讯科技(深圳)有限公司 Method and device for correcting word bank data of input method
CN103365905B (en) * 2012-04-06 2017-12-15 深圳市世纪光速信息技术有限公司 The dictionary data antidote and device of input method
CN103389800B (en) * 2012-05-11 2016-08-17 北京百度网讯科技有限公司 A kind of method and apparatus generating entry
CN103389800A (en) * 2012-05-11 2013-11-13 北京百度网讯科技有限公司 Entry generating method and device
CN102750005A (en) * 2012-06-11 2012-10-24 迪尔码国际营销服务(北京)有限公司 Method for intercepting and replacing input information based on input method
CN104049766B (en) * 2013-03-11 2017-05-31 百度国际科技(深圳)有限公司 Cloud server and its terminal for updating language model in cloud input method
CN104049766A (en) * 2013-03-11 2014-09-17 百度国际科技(深圳)有限公司 Cloud server for updating language model in cloud input method and terminal thereof
CN105589570B (en) * 2014-10-23 2019-04-09 北京搜狗科技发展有限公司 A kind of method and apparatus handling input error
CN105589570A (en) * 2014-10-23 2016-05-18 北京搜狗科技发展有限公司 Input error processing method and apparatus
CN107870932B (en) * 2016-09-26 2021-10-08 北京搜狗科技发展有限公司 User word stock optimization method and device and electronic equipment
CN107870931A (en) * 2016-09-26 2018-04-03 北京搜狗科技发展有限公司 A kind of method, apparatus and electronic equipment for optimizing user thesaurus
CN107870932A (en) * 2016-09-26 2018-04-03 北京搜狗科技发展有限公司 A kind of user thesaurus optimization method, device and electronic equipment
CN107870931B (en) * 2016-09-26 2021-09-07 北京搜狗科技发展有限公司 Method and device for optimizing user lexicon and electronic equipment
CN106921561A (en) * 2017-03-01 2017-07-04 维沃移动通信有限公司 A kind of information processing method and device
CN106921561B (en) * 2017-03-01 2019-01-11 维沃移动通信有限公司 A kind of information processing method and device
CN108628461A (en) * 2017-03-16 2018-10-09 北京搜狗科技发展有限公司 A kind of input method and device, a kind of method and apparatus of update dictionary
CN106959766A (en) * 2017-03-16 2017-07-18 努比亚技术有限公司 Input method association method and association's device
CN108628461B (en) * 2017-03-16 2022-07-08 北京搜狗科技发展有限公司 Input method and device and method and device for updating word stock
CN109240511A (en) * 2017-07-04 2019-01-18 北京搜狗科技发展有限公司 It is a kind of to update the method for dictionary, system and a kind of for updating the device of dictionary
CN109344402A (en) * 2018-09-20 2019-02-15 中国科学技术信息研究所 A kind of new terminology finds recognition methods automatically

Also Published As

Publication number Publication date
CN101178741B (en) 2010-06-23

Similar Documents

Publication Publication Date Title
CN101178741B (en) Method and device for updating user's word stock
CN101778160B (en) Method and device for dynamically presetting message
CN100570545C (en) expression input method and device
CN104885071A (en) Multiple device intelligent language model synchronization
CN103247291A (en) Updating method, device, and system of voice recognition device
CN104598020A (en) PRESERVING EMOTION OF USER INPUT and devie
CN109272995A (en) Audio recognition method, device and electronic equipment
CN108536745B (en) Shell-based data table extraction method, terminal, equipment and storage medium
CN104808806A (en) Chinese character input method and device in accordance with uncertain information
CN103488796A (en) Inputting method based on context and mobile terminal
CN102770910A (en) Voice recognition apparatus
CN105095391A (en) Device and method for identifying organization name by word segmentation program
CN105808197A (en) Information processing method and electronic device
CN101477565B (en) Method and apparatus for confirming correctness of input character string in search engine
CN110263127A (en) Text search method and device is carried out based on user query word
CN107783763A (en) A kind of application program generation method, device, server and readable storage medium storing program for executing
CN101604290B (en) Background module test method and backstage module test system
CN101751290B (en) Method, device and ERP system for calling functional modules
CN110211576B (en) Voice recognition method, device and system
CN105070289A (en) English name recognition method and device
CN106446064A (en) Data conversion method and device
CN104115222B (en) For the method and apparatus transferring the data set comprising word to voice
CN112632893A (en) Graph screening method and device, server and storage medium
CN111373473B (en) Method for voice recognition of electronic equipment and electronic equipment
CN104346151A (en) Information processing method and electronic device

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