CN101154134A - Method and apparatus for adjusting order of candidate words in Chinese input method - Google Patents
Method and apparatus for adjusting order of candidate words in Chinese input method Download PDFInfo
- Publication number
- CN101154134A CN101154134A CNA2006101523488A CN200610152348A CN101154134A CN 101154134 A CN101154134 A CN 101154134A CN A2006101523488 A CNA2006101523488 A CN A2006101523488A CN 200610152348 A CN200610152348 A CN 200610152348A CN 101154134 A CN101154134 A CN 101154134A
- Authority
- CN
- China
- Prior art keywords
- candidate word
- input
- literal
- user
- word sequence
- 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
Links
Images
Landscapes
- Document Processing Apparatus (AREA)
Abstract
The invention discloses a method of adjusting the sequence of candidate words in the Chinese input method. The method is that firstly the determined input characters and corresponding codes are obtained after chosen candidate words are edited by users; next the corresponding list of the candidate words is determined according to the codes, and the sequence of the characters in the list of the candidate words is adjusted, so the characters are come before the list of the candidate words when the codes are input. Therefore, the sequence and the contents of the list of the candidate words presented on the window of the candidate words completely meet the operation habit of users, thereby the operation intent of users is showed, the input speed of users is improved, and the software of Chinese input method like pinyin, etc. is used simpler and more conveniently. The invention also discloses a device used for adjusting the sequence of candidate words.
Description
Technical field
The present invention relates to the word processing technology, particularly in Chinese character coding input method, adjust the method and the device of candidate word sequence.
Background technology
The computer user will be input to computer with Chinese character, will use input in Chinese software.Input in Chinese software is a tool software that runs on the operating system, is divided into keyboard input class and non-keyboard input class, and its effect is that the media data of the coding of keyboard input or the input of other non-keyboards is converted to the Chinese character input.
Present comparative maturity, using the widest is exactly the input in Chinese software that keyboard is imported class, and it is a kind of keyboard that utilizes, and imports the method for Chinese character according to certain coding rule.
English alphabet has only 26, and their correspondences 26 letters on the keyboard, so, for English, be not have Input Software, directly inputting English letter just can.And the number of words of Chinese character has several ten thousand, they and keyboard are without any corresponding relation, in order in computer, to import Chinese character, we must encode to Chinese character, and with these the coding with keyboard on binding be, just can make us import the coding of certain Chinese character, become Chinese character according to code conversion then by keyboard.
At present, Hanzi coding scheme has had hundreds of, that has wherein moved on computers just has tens kinds, as a kind of pictograph, Chinese character is to come co expression by the sound of word, shape, justice, the coding method of Chinese character input all is to adopt sound, shape, justice and specific key are interrelated basically, makes up the input of finishing Chinese character according to different Chinese character again.
Existing main flow phonetic class Chinese character coding input method software all possesses the function of adjusting the order of candidate word according to user's input habit, this function is exactly to carry out the adjustment of candidate word sequence according to the alphabetical sequence of user's input and user-selected individual character or the mapping relations between the phrase, the front that the individual character of the last input of user or phrase are arranged in the candidate word sequence, like this, when the user re-uses same individual character or phrase next time, just be easy to find needed Chinese character, thereby improved the speed of input characters.
But the function of this automatic adjustment candidate word sequence also can be brought inconvenience in the use to the user sometimes.For example, consult shown in the table 1, when the user thinks input " halogen " this word, if directly input " lu ", " halogen " this word can't occur so in first page of candidate word window, need the user to carry out the page turning inquiry, this has delayed the time of literal input to a certain extent.Therefore; the user is through speech with " halogen " beginning of regular meeting's input earlier; and then the word of deletion back; consult shown in the table 2; after the user input " lushui ", " bittern " speech appears in first page of the candidate word window, so the user selects 2; behind input " bittern " speech, delete " water " word again, so just finished the input of " halogen " word indirectly.
Table 1
lu | ||||
1. road | 2. Shandong | 3. land | 4. Lu | 5. record |
Table 2
lushui | ||||
1. dew | 2. bittern | 3. Lushui | 4. road | 5. Shandong |
Consult shown in the table 3, when the user imported " lushui " next time, " bittern " this speech had just come the 1st position of candidate window.
Table 3
lushui | ||||
1. bittern | 2. dew | 3. Lushui | 4. road | 5. Shandong |
This candidate word that is not the user wants puts in order, what the user wanted to import is " halogen " word, when the user imports " lu " next time, the candidate word window still is as shown in table 1, at this moment, the user then also will repeat top process if think to import once more " halogen " word, and " bittern " this speech has been adjusted to the beginning position of candidate word window, and this might not be that the user wants.
On the other hand, if the user wants to create some new phrases according to the use habit of self, use existing phonetic class Chinese character coding input method software also can run into some inconveniences, for example, the user wishes input " three justice " these two Chinese characters, and still " three justice " is not common phrase, therefore after user's input " sanyi ", consult shown in the table 4, do not occur the option of " three justice " in the candidate word window, if will select " three " and " justice " also will carry out loaded down with trivial details page turning inquiry.For this situation, consult shown in the table 5, the user can import " sanguoyanyi " earlier, select the 1st candidate word " The Romance of the Three Kingdoms " after, deletion " state " word and " drilling " word again, thus obtain phrase " three justice "; But when the user imports " sanyi " next time, the candidate word window still is as shown in table 4, the user also needs the repetition said process could import phrase " three justice " once more, and " three justice " is deposited in the dictionary as the phrase of new establishment.
Table 4
sanyi | ||||
1. 31 | 2. loose | 3. umbrella | 4. Rui | 5. three |
Table 5
sanguoyanyi |
1. the The Romance of the Three Kingdoms |
In sum, existing phonetic class Chinese character coding input method software can not reflect the real intention of user in entirely accurate ground, the function of its automatic adjustment candidate word sequence in some cases, individual character or phrase for needs adjustment order are not adjusted, and the individual character or the phrase that do not need the adjustment order are adjusted, like this, just reduced user's input speed to a certain extent.
Summary of the invention
The invention provides a kind of method and device of in Chinese character coding input method, adjusting candidate word sequence, in order to solve existing Chinese character coding input method software can not accurately be intended to adjust corresponding candidate word sequence according to user's operation order; Further, separate the problem that must not be intended to add corresponding literal according to user's operation.
Technical solution of the present invention is as follows:
A kind of method of adjusting candidate word sequence in Chinese character coding input method comprises step:
Determine the candidate word selected behind user's input coding;
Obtaining the user edits after the described candidate word terminal and determines the literal of input and the coding of this literal;
Determine corresponding candidate word sequence according to described coding, and adjust the order of described literal in this candidate word sequence, make described literal appear at the front of described candidate word sequence during the described coding of follow-up input.
According to said method:
Described editor comprises from candidate word from the deletion literal.
Described literal appears at the first place of candidate word sequence when the described coding of the follow-up input of user.
When not comprising described literal in the described candidate word sequence, add described literal as candidate word, described literal is added into the first place of described candidate word sequence in the front of this candidate word sequence.
Described Chinese character coding input method is a phonetic class Chinese character coding input method.
A kind of device of adjusting candidate word sequence comprises:
Be used for determining the unit of the candidate word selected behind user's input coding;
Be used to obtain the unit that the user edits the coding of the literal of determining input after the described candidate word and this literal;
Be used for adjusting the order of described literal, and when the described coding of follow-up input, make this word appear at the unit of the front of candidate word sequence in described candidate word sequence.
Described device also comprises:
Be used for when described candidate word sequence does not comprise described literal, add described literal in the front of this candidate word sequence and as the unit of candidate word.
Beneficial effect of the present invention is as follows:
The present invention edits final literal and the corresponding codes of importing in back by obtaining the user to the candidate word of selecting, and corresponding candidate word sequence is carried out order adjustment; Maybe when this candidate word sequence does not comprise described literal, add described literal in the front of this candidate word sequence and as candidate word.Make the order of the candidate word sequence that the candidate word window is presented and the operating habit that content meets the user fully, thereby the operation intention that has reflected the user exactly, improved user's input speed, it is simple more, convenient also to make the defeated method software of phonetic class Chinese use.
Description of drawings
Fig. 1 is a functional structure chart of adjusting the candidate word sequence device in the embodiment of the invention;
Fig. 2 is a main process flow diagram of adjusting candidate word sequence in the embodiment of the invention;
Fig. 3 is a particular flow sheet of adjusting candidate word sequence in the embodiment of the invention.
Embodiment
The present invention is in Chinese character coding input method, determine the literal of input and the coding of this literal according to terminal after the candidate word of user's edit selection, the order of corresponding candidate word sequence is adjusted or add corresponding literal in the candidate word sequence, solve the problem that existing Chinese character coding input method software can not accurately reflect user's input intention with this.
Present embodiment is that example describes with the phonetic class input method in the Chinese character coding input method.
Consult shown in Figure 1, the device of adjusting candidate word sequence in the embodiment of the invention also comprises: IO interface 10, resolution unit 11 and processing unit 12 except comprising input block (as keyboard and mouse), output unit (as display) and storage unit (as pinyin lexicon).Described IO interface 10 is used to receive pinyin string, option and the processing command of user by keyboard or mouse input, and the pinyin string and the corresponding candidate word sequence of user's input are presented to the user by display; Described resolution unit 11 is used for determining the candidate word that the user selects according to the pinyin string and the option of user input, and handles the candidate word that described user selects according to the edit commands of user's input, obtains literal and corresponding pinyin string that the user finally determines input; Described processing unit 12 is used for according to pinyin string behind the editor and candidate word corresponding candidate word sequence being carried out order adjustment, and adds corresponding literal.
Consult shown in Figure 2ly, to adjust the flow process of candidate word sequence order as follows for phonetic class Chinese character coding input method software in the present embodiment:
Step 200: the user passes through keyboard input Pinyin string, and selects candidate word from the candidate word sequence that occurs.
Step 201: after the user edits described candidate word, obtain literal and corresponding pinyin string thereof that the terminal of user is determined input.
Step 202: search corresponding candidate word sequence according to described pinyin string, determine whether there is described literal in this candidate word sequence, if, then carry out step 203, otherwise, progressive rapid 204.
Step 203: adjust the order of described literal in described candidate word sequence, make the user when the pinyin string of the described literal of follow-up input, make this literal appear at the foremost of described candidate word sequence, finish this time processing.
Step 204: add described literal in the front of described candidate word sequence, and finish this time processing.
In addition, when step 202 determines that described literal is not included in the described candidate word sequence, also can not increase this literal, and directly finish this time operation.
The present invention is described in detail with concrete enforcement below.
Consult shown in the table 2, the user is after input " lushui ", and candidate word " bittern " is selected in input " 2 " again, and " water " word is deleted in then input " Backspace " again (available " ← " expression).Existing phonetic class Chinese character coding input method software is ignored in " ← " selecting to import behind " bittern " speech for the user, directly according to pinyin string " lushui " and candidate word " bittern " order of corresponding candidate word is adjusted.With " lushui ", " 2 " and " ← " of user's input, regard holistic keyboard sequence " lushui2 ← " as in the present embodiment; Because character of " ← " representative deletion, so " water " word of candidate word " bittern " deletion with input, become " halogen ", also the pinyin string " lushui " of input is deleted a syllable simultaneously, become " lu ", and then adjust the order of this word in the candidate word sequence according to " lu " and " halogen ".
Consult shown in Figure 3ly, in the present embodiment, it is as follows that phonetic class Chinese character coding input method software is adjusted the detailed process of candidate word sequence order:
Step 300: the user passes through keyboard input Pinyin string " lushui ", and selects the 2nd candidate word " bittern ", and " water " word is deleted in input " ← " again.
Step 301: IO interface 10 is obtained the keyboard sequence " lushui2 ← " of user's input and is sent to resolution unit 11.
Step 302: resolution unit 11 becomes " halogen " according to " lushui2 ← " with candidate word " bittern ", and " lushui " becomes " lu " with pinyin string, and " halogen " and " lu " is sent to processing unit 12.
Step 303: after processing unit 12 receives " halogen " and " lu ", find the candidate word sequence shown in the table 1, the foremost adjusted in " halogen " word wherein by " lu ".
Consult shown in the table 6, output unit is imported the user in " lu " next time, and adjusted candidate word sequence is presented to the user, and at this moment, " halogen " word just has been arranged in the 1st position of candidate word window.
In the present embodiment, can only carry out order adjustment, and not influence the order of the candidate word sequence of pinyin string " lushui " the candidate word sequence of pinyin string " lu ".As shown in table 7, to import in " lushui " the user next time, corresponding candidate word window does not change.In addition, also can adjust " bittern " order by existing mode in the candidate word sequence of pinyin string " lushui ".
Table 6
lu | ||||
1. halogen | 2. road | 3. Shandong | 4. land | 5. Lu |
Table 7
lushui | ||||
1. dew | 2. bittern | 3. Lushui | 4. road | 5. Shandong |
Certainly, the user also can add new candidate word by the word on the diverse location of deleting the candidate word of having selected.In the present embodiment, the user wishes input " three justice " these two Chinese characters, consult shown in the table 5, the user imports " sanguoyanyi " earlier, after selecting the 1st candidate word " The Romance of the Three Kingdoms ", deletes " state " word and " drilling " word again, this candidate word is become " three justice ", at this moment, also delete two syllables in the pinyin string " sanguoyanyi " accordingly, become " sanyi "; So, when the user imports " sanyi " next time, to consult shown in the table 8, new candidate word " three justice " appears in the candidate word window and is arranged in the 1st position, this explanation, " three justice " is deposited in the dictionary as the phrase of new establishment; And on the other hand, when the user imports " sanguoyanyi " next time, consult shown in the table 9, the candidate word window does not change.
Though above-mentioned is that example describes with phonetic class input method, is not limited to this, for other high input methods of the repetition rate of coding, its implementation and in like manner above-mentioned.
Table 8
Sanyl | ||||
1. three justice | 2. 31 | 3. three | 4. umbrella | 5. Rui |
Table 9
sanguoyanyi |
1. the The Romance of the Three Kingdoms |
The present invention edits literal and the corresponding codes that input is determined in the back by obtaining the user to the candidate word of selecting; Corresponding candidate word sequence is carried out order to be adjusted or adds corresponding literal.Make the order of the candidate word sequence that the candidate word window is presented and the operating habit that content meets the user fully, thereby the operation intention that has reflected the user exactly, improved user's input speed, the defeated method software of also modern phonetic class Chinese uses simple more, convenient.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.
Claims (8)
1. a method of adjusting candidate word sequence in Chinese character coding input method is characterized in that, comprises step:
Determine the candidate word selected behind user's input coding;
Obtain and determine the literal of input and the coding of this literal after the user edits described candidate word;
Determine corresponding candidate word sequence according to described coding, and adjust the order of described literal in this candidate word sequence, make described literal appear at the front of described candidate word sequence during the described coding of follow-up input.
2. the method for claim 1 is characterized in that, described editor comprises deletion literal from candidate word.
3. the method for claim 1 is characterized in that, described literal appears at the first place of candidate word sequence when the described coding of the follow-up input of user.
4. the method for claim 1 is characterized in that, when not comprising described literal in the described candidate word sequence, adds described literal in the front of this candidate word sequence and as candidate word.
5. method as claimed in claim 4 is characterized in that, described literal is added into the first place of described candidate word sequence.
6. as each described method of claim 1 to 5, it is characterized in that described Chinese character coding input method is a phonetic class Chinese character coding input method.
7. a device of adjusting candidate word sequence is characterized in that, comprising:
Be used for determining the unit of the candidate word selected behind user's input coding;
Be used to obtain the unit that the user edits the coding of the literal of determining input after the described candidate word and this literal;
Be used for adjusting the order of described literal, and when the described coding of follow-up input, make this word appear at the unit of the front of candidate word sequence in described candidate word sequence.
8. device as claimed in claim 7 is characterized in that, also comprises:
Be used for when described candidate word sequence does not comprise described literal, add described literal in the front of this candidate word sequence and as the unit of candidate word.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2006101523488A CN100498658C (en) | 2006-09-26 | 2006-09-26 | Method and apparatus for adjusting order of candidate words in Chinese input method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2006101523488A CN100498658C (en) | 2006-09-26 | 2006-09-26 | Method and apparatus for adjusting order of candidate words in Chinese input method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101154134A true CN101154134A (en) | 2008-04-02 |
CN100498658C CN100498658C (en) | 2009-06-10 |
Family
ID=39255825
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2006101523488A Active CN100498658C (en) | 2006-09-26 | 2006-09-26 | Method and apparatus for adjusting order of candidate words in Chinese input method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100498658C (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102566772A (en) * | 2010-12-26 | 2012-07-11 | 上海量明科技发展有限公司 | Method and system for implementation of character hybrid input |
CN102750007A (en) * | 2012-06-12 | 2012-10-24 | 上海量明科技发展有限公司 | Method and client for establishing personality character repertoire |
CN103197764A (en) * | 2012-01-10 | 2013-07-10 | 联想(北京)有限公司 | Pinyin input method and device |
CN104345900A (en) * | 2013-08-09 | 2015-02-11 | 阿尓派株式会社 | Text input device and text input method |
CN104731364A (en) * | 2015-03-30 | 2015-06-24 | 天脉聚源(北京)教育科技有限公司 | Input method and input method system |
CN106066706A (en) * | 2016-05-26 | 2016-11-02 | 珠海市魅族科技有限公司 | A kind of data processing method and intelligent terminal |
CN106933382A (en) * | 2017-03-17 | 2017-07-07 | 北京小米移动软件有限公司 | Update the method and device of input method dictionary |
CN109002183A (en) * | 2017-06-07 | 2018-12-14 | 北京搜狗科技发展有限公司 | A kind of method and device of information input |
CN109144290A (en) * | 2018-08-17 | 2019-01-04 | 科大讯飞股份有限公司 | A kind of candidate entry method of adjustment, device, equipment and readable storage medium storing program for executing |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102135953B (en) * | 2011-03-29 | 2012-12-12 | 中国科学院自动化研究所 | Text coherence editing method |
-
2006
- 2006-09-26 CN CNB2006101523488A patent/CN100498658C/en active Active
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102566772A (en) * | 2010-12-26 | 2012-07-11 | 上海量明科技发展有限公司 | Method and system for implementation of character hybrid input |
CN103197764A (en) * | 2012-01-10 | 2013-07-10 | 联想(北京)有限公司 | Pinyin input method and device |
CN102750007A (en) * | 2012-06-12 | 2012-10-24 | 上海量明科技发展有限公司 | Method and client for establishing personality character repertoire |
CN104345900A (en) * | 2013-08-09 | 2015-02-11 | 阿尓派株式会社 | Text input device and text input method |
CN104731364A (en) * | 2015-03-30 | 2015-06-24 | 天脉聚源(北京)教育科技有限公司 | Input method and input method system |
CN106066706A (en) * | 2016-05-26 | 2016-11-02 | 珠海市魅族科技有限公司 | A kind of data processing method and intelligent terminal |
CN106066706B (en) * | 2016-05-26 | 2019-01-11 | 珠海市魅族科技有限公司 | A kind of data processing method and intelligent terminal |
CN106933382A (en) * | 2017-03-17 | 2017-07-07 | 北京小米移动软件有限公司 | Update the method and device of input method dictionary |
CN109002183A (en) * | 2017-06-07 | 2018-12-14 | 北京搜狗科技发展有限公司 | A kind of method and device of information input |
CN109002183B (en) * | 2017-06-07 | 2022-11-29 | 北京搜狗科技发展有限公司 | Information input method and device |
CN109144290A (en) * | 2018-08-17 | 2019-01-04 | 科大讯飞股份有限公司 | A kind of candidate entry method of adjustment, device, equipment and readable storage medium storing program for executing |
CN109144290B (en) * | 2018-08-17 | 2023-07-25 | 科大讯飞股份有限公司 | Candidate entry adjustment method, device, equipment and readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN100498658C (en) | 2009-06-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN100498658C (en) | Method and apparatus for adjusting order of candidate words in Chinese input method | |
JP4829901B2 (en) | Method and apparatus for confirming manually entered indeterminate text input using speech input | |
CN106959994B (en) | Server-side matching | |
CN102449579B (en) | All-in-one chinese character input method | |
JP4413868B2 (en) | Character input device, copier equipped with character input device, character input method, control program, and recording medium | |
EP1686493A2 (en) | Dictionary learning method and device using the same, input method and user terminal device using the same | |
CN101154226B (en) | Method for adding unlisted word to word stock of input method and its character input device | |
CN101556508A (en) | Candidate phrase generating method, equipment, system and device in input method | |
JP2013117978A (en) | Generating method for typing candidate for improvement in typing efficiency | |
CN102314319B (en) | Touch control input method, device and system | |
CN101149679A (en) | Method for adding self-defined word in input method word library and word input device | |
CN101546228A (en) | Input method and device for realizing English reminding | |
KR20150083961A (en) | The method for searching integrated multilingual consonant pattern, for generating a character input unit to input consonants and apparatus thereof | |
CN101667099B (en) | A kind of method and apparatus of stroke connection keyboard text event detection | |
CN103294223B (en) | The input method of a kind of Chinese pinyin and terminal unit | |
JP4890551B2 (en) | Character conversion device and method for controlling character conversion device | |
CN103729066A (en) | Digital binary-syllabification two-stroke whole-sentence input method supporting fuzzy tone and keyboard scheme thereof | |
CN105683891A (en) | Inputting tone and diacritic marks by gesture | |
CN100465860C (en) | Digit keyboard intelligent phonetic Chinese character input method | |
CN104571593A (en) | Simple repeated-code-free unified input method for total Chinese characters and Chinese words | |
JPH08305701A (en) | Improved character input system | |
CN103309459A (en) | Method and device for inputting Chinese and English in hybrid way | |
CN102063196A (en) | Intelligent Japanese input method capable of spelling by Romaji for mobile phone | |
CN103984420B (en) | A kind of Tibetan language intelligent input method based on phonetic | |
CN104834392A (en) | Chinese character input method for dynamic Chinese character combination of strokes |
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 |