CN102541284B - A kind of method and system of carrying out combination through target quantity in character input - Google Patents

A kind of method and system of carrying out combination through target quantity in character input Download PDF

Info

Publication number
CN102541284B
CN102541284B CN201010605699.6A CN201010605699A CN102541284B CN 102541284 B CN102541284 B CN 102541284B CN 201010605699 A CN201010605699 A CN 201010605699A CN 102541284 B CN102541284 B CN 102541284B
Authority
CN
China
Prior art keywords
input
candidate word
character
target
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.)
Active
Application number
CN201010605699.6A
Other languages
Chinese (zh)
Other versions
CN102541284A (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.)
Shanghai Liangming Technology Development Co Ltd
Original Assignee
Shanghai Liangming Technology Development 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 Shanghai Liangming Technology Development Co Ltd filed Critical Shanghai Liangming Technology Development Co Ltd
Priority to CN201010605699.6A priority Critical patent/CN102541284B/en
Publication of CN102541284A publication Critical patent/CN102541284A/en
Application granted granted Critical
Publication of CN102541284B publication Critical patent/CN102541284B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Document Processing Apparatus (AREA)
  • Machine Translation (AREA)

Abstract

The present invention provides the method and system of a kind of carrying out combination through target quantity in character input, belongs to computer, software technology field。The method comprises the following steps that step 1, gathers the character string that user inputs in interface of input method;Step 2, accepts the target character amount that user inputs;Step 3, the target character amount inputted based on user carries out candidate word distribution;Step 4, exports allocation result at interface of input method。Utilize the present invention, based on the aim parameter of the word needing combination, provide a user with corresponding compound mode, user can be allowed when word inputs to directly select oneself required combination option。

Description

A kind of method and system of carrying out combination through target quantity in character input
Technical field
The invention belongs to computer, software technology field。
Technical background
We can apply input method and carry out the input operation of various character。Such as, for literal types such as Chinese, because the existence of a large amount of polyphone so that during data input, it is necessary to select from multiple candidate word。It addition, for the efficiency improving input, between candidate word, be also often applied to the association function of vocabulary。
In order to realize the association function of vocabulary, user typically requires and is simultaneously entered two or more vocabulary, otherwise just cannot be normally carried out vocabulary association。In this case, if the user desired that in the content of input, some demand being only used to launch association, but not be actually subjected to the vocabulary of input, current input method selection mode, will to user bring quite a lot of not。Because, current input method, it is defaulted as the content that user inputs and is the effective content needing record。
Summary of the invention
The purpose of the present invention, it is to provide the method and system of a kind of carrying out combination through target quantity in character input, utilizes the present invention, based on the aim parameter of the word needing combination, provide a user with corresponding compound mode, user can be allowed when word inputs to directly select oneself required combination option。
A kind of method of carrying out combination through target quantity in character input, the method comprises the following steps that
Step 1, gathers the character string that user inputs in interface of input method;
Step 2, accepts the target character amount that user inputs;
Step 3, the target character amount inputted based on user carries out candidate word distribution;
Step 4, exports allocation result at interface of input method。
Further, after collecting the target character amount that user inputs, the default candidate word ranked the first corresponding to user institute input of character string is combined。
Further, with the quick Fn arranged on keyboard, representing target character amount for " n ", wherein " n " is taken as 1 or 2 or 3。
Further, described target character amount, it is taken as 1 or 2 or 3。
Further, when candidate word has multiple time, utilize the use frequency by candidate word, and above inputted number of times, and utilize the classification vocabulary of network, cell dictionary, carry out candidate word sequence。
It addition, the present invention also provides for the system of a kind of carrying out combination through target quantity in character input, this system includes following ingredient:
Character string acquisition module, gathers the character string that user inputs in interface of input method;
Target character amount accepts module, accepts the target character amount that user inputs;
Candidate word distribution module, the target character amount inputted based on user carries out candidate word distribution;
Distribution output module, exports allocation result at interface of input method。
Accompanying drawing explanation
Fig. 1 is the schematic diagram of one embodiment of the present of invention, and under this state, user is but without input target character amount。
Fig. 2 is the schematic diagram of one embodiment of the present of invention, correspond to the schematic diagram shown in Fig. 1-2, and under this state, user have input target character amount, then, completes the combination of character according to target character amount。
Fig. 3 is the flow chart of the retouched method of the present invention。
Fig. 4 is the structured flowchart of system of the present invention。
Specific embodiment
In order to one there being to be best understood from the present invention, for example and without limitation, below the thought of the present invention is described as follows:
In the present invention, when the candidate word that user inputs includes multiple time, user is likely to have the candidate word of part to be not real input content, and is intended merely to the association function realizing between vocabulary。In this case, we just the target character amount input needing input, then just can be combined into the candidate word required for user according to target character amount, come selective。This input mode flexibly, it is possible to offer convenience to the input of user。
Below in conjunction with Fig. 1, Fig. 2, Fig. 3, the present invention is elaborated。
Shown in ginseng Fig. 3, the present invention describes one and realizes method, and the method includes following key step:
Step 1, gathers the character string that user inputs in interface of input method。
In the present invention, when user utilizes the input operation that interface of input method carries out character string, being consistent with original input method mode, user according to the demand of oneself, can directly input corresponding character string。
Such as, in the phonetic word input method of Chinese, the character string inputted is exactly pinyin character string, by the pinyin character string that user inputs, through the respective handling of data base, candidate word list will produce each and the pinyin character string that inputs there is the candidate word of relatedness。User selects for corresponding candidate word;If there is no required character in candidate word list, then, it is also possible to operation that pinyin character string is modified。
Step 2, accepts the target character amount that user inputs。
The target character amount that user inputs, refers to the quantity of the final goal candidate word organized。Such as, the pinyin character string of user's input, to there being two candidate word, if then user have input and has the content of corresponding relation with measure word " 1 ", then represent user and finally wish that the candidate word selected is one。If including four candidate word in the target string of user's input, and user have input the content corresponding with measure word " 2 ", then user finally wishes that the candidate word obtained is two。
Certainly, the target character amount information gathered, it is also possible to carry out before step 1。That is, it is possible to first gather the target character amount that user inputs。But accept target character amount the step in order to candidate word, then need after step 1。Only effectively collect the input of character string of user, in order to generate candidate word, and these candidate word can be directed to target character amount is set。
Step 3, the target character amount inputted based on user carries out candidate word distribution。
Based on the target character amount that user inputs, the candidate word corresponding to character string input user is analyzed processing。It is exemplified below。
When user have input the pinyin character string of " yuliang " in interface of input method, corresponding multiple candidate word can be produced。But " the space amount " of desired input, not wherein。According to current way, it is necessary to first select " space " from candidate word list, reselection " amount " is so just passable。
Specifically it is referred to shown in accompanying drawing。
Ginseng Fig. 1, illustrates inputting interface 100 here。In this interface, the character string 200 having user to input is shown on top, and following shown have the candidate word list 300 corresponding with character string 200。In this candidate word list 300, it is provided with multiple candidate word 310。After user have input " yuzhouliangzi " such several character strings 200。By the associative action of character, " yuzhou " therein correspond to character " universe ", and " liangzi " then correspond to " quantum "。
Shown in ginseng Fig. 2, after user have input target character amount " 2 ", the quantity that just represent the candidate word that user wishes to obtain is individual for " 2 "。In this case, it is possible to be combined between " universe " and " quantum "。In the present embodiment, the target character amount inputted, is the input operation being completed target character amount " 2 " by shortcut " F2 "。
In this case, the target character amount inputted, the default candidate word of user institute input of character string can be combined。This default candidate word, generally ranks the first in candidate word list。This is effective manner, because the vocabulary in order to realize associative action that user inputs, is generally all fixing word combination form。
In the present embodiment, correspond to " yuzhouliangzi " such character string, the candidate word of acquiescence is " universe quantum "。
When by these four vocabulary according to sequencing, when being combined by twos, four combining forms can be obtained altogether: " space amount, space, cosmos amount, cosmos son "。
Each candidate word correspond to candidate word mark, as: 1,2,3,4, select for user。When user inputs candidate word mark " 1 " time, or when clicking acquiescence button, it is possible to obtain " space amount " this word。
When input target character amount, in order to produce effective differentiation, for example and without limitation, it is possible to bring measure word " 1 " with " F1 ";" F2 " represents measure word " 2 ", by that analogy, with Fn, represents target character amount for " n ";But considering time target character amount is big, combination can be more, it is difficult to selecting, then, n is preferably 1 or 2 or 3。
Giving one example: in user thinks input " anxiety " word, it is possible to first input the phonetic of " yumeiren " with spelling input method, then, input " F1 " represents target character amount for " 1 ", and then, user may be selected by the candidate word " anxiety " given tacit consent to。Very convenient。
As it was previously stated, only when there being two or more candidate word, target character amount is just meaningful。Therefore, it can, by two or more candidate word, select one of factor of function as trigger target character amount。
Step 4, exports allocation result at interface of input method。
By the result after distribution, export in interface of input method, ensuing operation, similar with conventional input method, as it was previously stated, user inputs candidate word mark, it is possible to choose corresponding candidate word。
Further, when candidate word has multiple time, it is also possible to utilize conventional mode to be ranked up candidate word。Such as, by the use frequency situation of candidate word, and above input number of times, or, utilize the classification vocabulary of network, cell dictionary etc., in conjunction with being ranked up, select the accuracy rate of suitable candidate word improving user。
Based on method described above, the present invention is also to the system that should have a kind of carrying out combination through target quantity in character input, and this system includes following ingredient:
Character string acquisition module 400, gathers the character string that user inputs in interface of input method;
Target character amount accepts module 410, accepts the target character amount that user inputs;
Candidate word distribution module 420, the target character amount inputted based on user carries out candidate word distribution;
Distribution output module 430, exports allocation result at interface of input method。
In this system, the function of each structure, corresponding with method described above。
It is above the description of this invention and non-limiting, based on the other embodiments of inventive concept, also all among protection scope of the present invention。

Claims (6)

1. the method for a carrying out combination through target quantity in character input, it is characterised in that the method comprises the following steps that
Step 1, gathers the character string that user inputs in interface of input method, and when the character string of input produces two and above candidate word, trigger target character amount selects function;
Step 2, accepts the target character amount that user inputs;
Step 3, the target character amount inputted based on user carries out candidate word distribution;
Step 4, exports allocation result at interface of input method;
The distribution of described candidate word refers to, the quantity according to target character amount, the character in candidate word corresponding to input of character string is combined。
2. the method for a kind of carrying out combination through target quantity in character input according to claim 1, it is characterised in that: after collecting the target character amount that user inputs, the default candidate word ranked the first corresponding to user institute input of character string is combined。
3. the method for a kind of carrying out combination through target quantity in character input according to claim 1, it is characterised in that: with the quick Fn arranged on keyboard, represent target character amount for " n "。
4. the method for a kind of carrying out combination through target quantity in character input according to claim 1, it is characterised in that: described target character amount, it is taken as 1 or 2 or 3。
5. the method for a kind of carrying out combination through target quantity in character input according to claim 1, it is characterized in that: when candidate word has multiple time, utilize the use frequency by candidate word, and above inputted number of times, and utilize the classification vocabulary of network, cell dictionary, carry out candidate word sequence。
6. the system of the carrying out combination through target quantity in character input implementing method described in claim 1, it is characterised in that this system includes following ingredient:
Character string acquisition module, gathers the character string that user inputs in interface of input method;When the character string of input produces two and above candidate word, trigger target character amount selects function;
Target character amount accepts module, accepts the target character amount that user inputs;
Candidate word distribution module, the target character amount inputted based on user carries out candidate word distribution;
Distribution output module, exports allocation result at interface of input method。
CN201010605699.6A 2010-12-25 2010-12-25 A kind of method and system of carrying out combination through target quantity in character input Active CN102541284B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010605699.6A CN102541284B (en) 2010-12-25 2010-12-25 A kind of method and system of carrying out combination through target quantity in character input

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010605699.6A CN102541284B (en) 2010-12-25 2010-12-25 A kind of method and system of carrying out combination through target quantity in character input

Publications (2)

Publication Number Publication Date
CN102541284A CN102541284A (en) 2012-07-04
CN102541284B true CN102541284B (en) 2016-06-22

Family

ID=46348322

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010605699.6A Active CN102541284B (en) 2010-12-25 2010-12-25 A kind of method and system of carrying out combination through target quantity in character input

Country Status (1)

Country Link
CN (1) CN102541284B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102945285A (en) * 2012-11-25 2013-02-27 上海量明科技发展有限公司 Method, client-side and system for obtaining nutrition data
CN104346084B (en) * 2013-07-24 2019-02-22 腾讯科技(深圳)有限公司 A kind of words and phrases input method and device
CN104345900A (en) * 2013-08-09 2015-02-11 阿尓派株式会社 Text input device and text input method
CN105224666A (en) * 2015-10-08 2016-01-06 广东欧珀移动通信有限公司 A kind of input method, device and terminal

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101192108A (en) * 2007-03-28 2008-06-04 腾讯科技(深圳)有限公司 Chinese phonetic input method and system
CN101226430A (en) * 2008-01-11 2008-07-23 徐洪常 Character-checking typewriting idem code input method as well as input device and application thereof

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3729146B2 (en) * 2002-03-25 2005-12-21 ブラザー工業株式会社 Character input device and printing device having the same

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101192108A (en) * 2007-03-28 2008-06-04 腾讯科技(深圳)有限公司 Chinese phonetic input method and system
CN101226430A (en) * 2008-01-11 2008-07-23 徐洪常 Character-checking typewriting idem code input method as well as input device and application thereof

Also Published As

Publication number Publication date
CN102541284A (en) 2012-07-04

Similar Documents

Publication Publication Date Title
LeCompte et al. Compressed supersymmetry after 1 fb-1 at the Large Hadron Collider
CN106462399B (en) Code is recommended
JP2006018693A (en) Similar source code extraction program, similar source code extraction device and similar source code extraction method
CN109243532A (en) Eukaryon based on calculating cloud platform is without ginseng transcript profile interaction analysis system and method
CN105653647B (en) The information collecting method and system of SQL statement
CN105893551A (en) Method and device for processing data and knowledge graph
CN102541284B (en) A kind of method and system of carrying out combination through target quantity in character input
CN103559185B (en) Test data document resolves storage method
KR101505546B1 (en) Keyword extracting method using text mining
CN104484057B (en) The offer method and apparatus of result are provided
CN101477555B (en) Fast retrieval and generation display method for task tree based on SQL database
CN106383746A (en) Configuration parameter determination method and apparatus of big data processing system
CN103678513B (en) A kind of interactively retrieval type generates method and system
CN109976622A (en) Books label determines method, electronic equipment and computer storage medium
CN106295252B (en) Search method for gene prod
CN103455964B (en) A kind of case clue analytic system based on case information and method
Li et al. Study of manufacturing cloud service matching algorithm based on OWL-S
CN102289408A (en) regression test case sequencing method based on error propagation network
JP2012208774A (en) Retrieval method, retrieval apparatus and computer program
WO2016124097A1 (en) Text retrieval method and apparatus
CN101894063B (en) Method and device for generating test program for verifying function of microprocessor
Lam et al. Integrating database, spreadsheet, graphics, GIS, statistics, simulation models and expert systems: Experiences with the raison system on microcomputers
CN106326436A (en) Interface element display method and device
CN107862166A (en) A kind of intelligent Simulation experiment design system and design method
CN102855278B (en) A kind of emulation mode and system

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