CN107132927A - Input recognition methods and device and the device for identified input character of character - Google Patents
Input recognition methods and device and the device for identified input character of character Download PDFInfo
- Publication number
- CN107132927A CN107132927A CN201610113346.1A CN201610113346A CN107132927A CN 107132927 A CN107132927 A CN 107132927A CN 201610113346 A CN201610113346 A CN 201610113346A CN 107132927 A CN107132927 A CN 107132927A
- Authority
- CN
- China
- Prior art keywords
- character
- character string
- initial
- string
- candidate word
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/02—Input arrangements using manually operated switches, e.g. using keyboards or dials
- G06F3/023—Arrangements for converting discrete items of information into a coded form, e.g. arrangements for interpreting keyboard generated codes as alphanumeric codes, operand codes or instruction codes
- G06F3/0233—Character input methods
- G06F3/0237—Character input methods using prediction or retrieval techniques
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
Abstract
Device the invention discloses a kind of recognition methods for inputting character and device and for identified input character, applied to the touch control operation in the electronic equipment with display unit, obtaining the dummy keyboard for being shown on the display unit;According to the touch control operation, the character string and pressure information corresponding with the character string of input are obtained;According to the pressure information, the initial in the character string is determined;According to the initial and the character string, the first candidate word corresponding with the character string is obtained.The recognition methods for the input character that the present invention is provided and device, solve the low technical problem of the accuracy of the syllable splitting of character string in the prior art, the accuracy for the syllable splitting for effectively improving character string is realized, the technique effect of the precision of the candidate word obtained is improved.
Description
Technical field
The present invention relates to electronic device information input technology field, more particularly to a kind of identification side for inputting character
Method and device and the device for identified input character.
Background technology
With Internet technology apply more and more extensively, many routine works are required for recreation
Operated in mobile device or equipment with touch function, and information is inputted by clicking operation
Carry out finishing man-machine interaction.Used for the Arabic family of languages of the users such as Chinese, Japanese, Korean and present part
For family, generally require by input method procedure to interact with various equipment.By taking Chinese user as an example,
In general user's input is a string of letters, and system needs to convert thereof into a string of Chinese characters.And with
The development and progress of input method technology, simplicity technology have been increasingly becoming selection of many users in input mode,
Wherein, existing input method procedure people is typically based on all spellings that there may exist that user inputs character string
The upper and lower bound of sound, draws the larger complete Pinyin string of possibility, and the corresponding candidate item of its most probable
To supply user to select.
For existing phonetic simplicity technology, the example of many mistakes can be caused if preferential simplicity, therefore
According to the strategy of simplicity, if can with spelling if can not carry out simplicity.So user is in the process using simplicity
In, its input form is limited by very large, can only be when not interfering with spelling mode using initial
Simplicity mode can be used.Such as user inputs character " niaoj ", can be by " niao " getting when " you are proud tender "
Searched in spelling mode, without " niao " is divided into " ni " and " ao " two phonetics, so that
So that usual presence will not use the simplicity that initial is vowel in the prior art so that existing simplicity technology
Whether the character string that number can not specify the input of user is simplicity and spelling, causes the syllable splitting of character string
Accuracy is low so that the precision for carrying out the operations such as conversion query according to the syllable after cutting below is reduced, and is entered
And the precision of the candidate word obtained is also decreased.
The content of the invention
The embodiment of the present application solves prior art by providing a kind of recognition methods for inputting character and device
The low technical problem of the accuracy of the syllable splitting of middle character string, realizes and effectively improves the syllable of character string and cut
The accuracy divided, improves the technique effect of the precision of the candidate word obtained.
On the one hand, the application provides following technical scheme by the embodiment of the application:
A kind of recognition methods for inputting character, methods described includes:
Obtain the character string and pressure information corresponding with the character string of input;
According to the pressure information, the initial in the character string is determined;
According to the initial and the character string, the first candidate word corresponding with the character string is obtained.
Optionally, it is described according to the pressure information, the initial in the character string is determined, is specifically included:
For each character in the character string, whether the corresponding pressure information of detection character meets default
Pressure;
When the corresponding pressure information of the character meets the preset pressure, it is initial to determine the character.
Optionally, described according to the pressure information, before determining the initial in the character string, institute
Stating method also includes:
Detect whether that getting the unlatching for opening the simplicity pressure sensitivity pattern in the electronic equipment operates;
When getting the unlatching operation, simplicity pressure sensitivity pattern is opened;
Under the simplicity pressure sensitivity pattern, according to the pressure information, the initial in the character string is determined.
Optionally, it is described under the simplicity pressure sensitivity pattern, according to the pressure information, determine the character
Initial in string, is specifically included:
Obtain the pressure limit corresponding with initial under the simplicity pressure sensitivity pattern;
For each character in the character string, whether the corresponding pressure information of detection character is in the pressure
In the range of power;
When detecting the corresponding pressure information of the character in the pressure limit, headed by determining the character
Letter.
Optionally, with initial corresponding pressure limit of the acquisition under the simplicity pressure sensitivity pattern, tool
Body includes:
Obtain history input parameter of the user under the simplicity pressure sensitivity pattern;
According to the history input parameter, the pressure corresponding with initial under the simplicity pressure sensitivity pattern is obtained
Power scope.
Optionally, obtained corresponding with the character string according to the initial and the character string described
After first candidate word, methods described also includes:
Obtain character addition operation of the user for the character string;
Operation and the contact position on the display unit are added according to the character, from the character string really
Surely the position of addition character is needed;
Add and fill character in the position for needing to add character, obtain the character string after filling character;
According to the character string after described fill character and the initial, obtain and the word after described fill character
The corresponding candidate word of symbol string.
Optionally, it is described according to the initial and the character string, obtain corresponding with the character string the
After one candidate word, methods described also includes:
The specific character for meeting simplicity character condition is extracted from remaining character, wherein, the remaining character is
Character in the character string in addition to the initial;
Using the specific character as initial, and according to the initial, the specific character and the word
Symbol string, obtains the second candidate word corresponding with the character string.
Optionally, it is described according to the initial and the character string, obtain corresponding with the character string the
After one candidate word, methods described also includes:
Whether the quantity of detection the first candidate word corresponding with the character string is less than predetermined threshold value;
When the quantity is less than the predetermined threshold value, the modification behaviour for being directed to initial in the character string is obtained
Make;
Operated according to the modification, amended initial is obtained from the character string;
According to the amended initial and the character string, obtain corresponding with the character string first and wait
Select word.
Optionally, after the initial determined in the character string, methods described also includes:
Detect whether ratio of the initial in the character string is less than default ratio;
When the ratio is less than the default ratio, is extracted from remaining character and meet simplicity character condition
Specific character, wherein, the remaining character is the character in the character string in addition to the initial;
Using the specific character as initial, and according to the initial, the specific character and the word
Symbol string, obtains the second candidate word corresponding with the character string.
On the other hand, there is provided following technical scheme by the embodiment of the application by the application:
A kind of identifying device for inputting character, including:
Pressure information acquiring unit, character string and pressure corresponding with character string letter for obtaining input
Breath;
Initial acquiring unit, for according to the pressure information, determining the initial in the character string;
Candidate word acquiring unit, for according to the initial and the character string, obtaining and the character string
Corresponding first candidate word.
Optionally, the pressure information acquiring unit, is additionally operable to each character being directed in the character string,
Whether the corresponding pressure information of detection character meets preset pressure;Met in the corresponding pressure information of the character
During the preset pressure, it is initial to determine the character.
Optionally, in addition to:
Character addition operation acquiring unit, for, according to the initial and the character string, being obtained described
After the first candidate word corresponding with the character string, character addition behaviour of the user for the character string is obtained
Make;
Position determination unit, for adding operation and the contact position on the display unit according to the character,
The position for needing to add character is determined from the character string;
Character string acquiring unit, fills character for being added in the position for needing to add character, obtains filling
Character string after character;
The candidate word acquiring unit, is additionally operable to character string and the initial after being filled character according to,
Obtain candidate word corresponding with the character string after described fill character.
Optionally, in addition to:
First specific character acquiring unit, for, according to the initial and the character string, being obtained described
After the first candidate word corresponding with the character string, extracted from remaining character and meet simplicity character condition
Specific character, wherein, the remaining character is the character in the character string in addition to the initial;
The candidate word acquiring unit, is additionally operable to the specific character as initial, and according to the head
Alphabetical, described specific character and the character string, obtain the second candidate word corresponding with the character string.
Optionally, in addition to:
First detection unit, for, according to the initial and the character string, being obtained and the word described
After corresponding first candidate word of symbol string, whether the quantity of detection the first candidate word corresponding with the character string
Less than predetermined threshold value;
Modification operation acquiring unit, for when the quantity is less than the predetermined threshold value, obtaining for described
The modification operation of initial in character string;
The initial acquiring unit, is additionally operable to be operated according to the modification, obtains and repair from the character string
Initial after changing;
The candidate word acquiring unit, is additionally operable to, according to the amended initial and the character string, obtain
Take the first candidate word corresponding with the character string.
Optionally, in addition to:
Second detection unit, after the initial in the determination character string, detects the head
Whether ratio of the letter in the character string is less than default ratio;
Second specific character acquiring unit, for when the ratio is less than the default ratio, from remaining word
The specific character for meeting simplicity character condition is extracted in symbol, wherein, the remaining character is in the character string
Character in addition to the initial;
The candidate word acquiring unit, is additionally operable to the specific character as initial, and according to the head
Alphabetical, described specific character and the character string, obtain the second candidate word corresponding with the character string.
Optionally, in addition to:
3rd detection unit, for, according to the pressure information, determining the lead-in in the character string described
Before mother, detect whether to get the unlatching operation for the simplicity pressure sensitivity pattern in the electronic equipment of opening;
Mode opening unit, for when getting the unlatching operation, opening simplicity pressure sensitivity pattern;
The initial acquiring unit, is additionally operable under the simplicity pressure sensitivity pattern, according to the pressure information,
Determine the initial in the character string.
Optionally, the initial acquiring unit also includes:
Pressure limit obtains subelement, corresponding with initial under the simplicity pressure sensitivity pattern for obtaining
Pressure limit;
Initial determination subelement, for for each character in the character string, detection character correspondence
Pressure information whether in the pressure limit;The corresponding pressure information of the character is being detected described
When in pressure limit, it is initial to determine the character.
Optionally, the pressure limit obtains subelement and is additionally operable to obtain user under the simplicity pressure sensitivity pattern
History input parameter, and according to the history input parameter, obtain under the simplicity pressure sensitivity pattern with
The corresponding pressure limit of initial.
On the other hand, there is provided following technical scheme by the embodiment of the application by the application:
A kind of device for identified input character, includes memory, and one or more than one
Program, one of them or more than one program storage is configured to by one or one in memory
Individual above computing device is one or more than one program bag contains the instruction for being used for being operated below:
Obtain the character string and pressure information corresponding with the character string of input;
According to the pressure information, the initial in the character string is determined;
According to the initial and the character string, the first candidate word corresponding with the character string is obtained.
The one or more technical schemes provided in the embodiment of the present application, at least have the following technical effect that or excellent
Point:
Because the embodiment of the present application is to obtain the character string inputted and pressure information corresponding with the character string;
Further according to the pressure information, the initial in the character string is determined;Further according to the initial and described
Character string, obtains the first candidate word corresponding with the character string, in this way, allowing to according to the character
The corresponding pressure information of each character in string judges whether the character is initial, according to the lead-in
Mother just accurately can accurately be divided to the syllable in the character string, be carried in the accuracy of syllabification
In the case of height so that the precision for carrying out the operations such as conversion query according to the syllable after cutting below is carried therewith
Height, and then the precision of the candidate word obtained is also improved therewith.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, institute in being described below to embodiment
The accompanying drawing needed to use is briefly described, it should be apparent that, drawings in the following description are of the invention
Some embodiments, for those of ordinary skill in the art, on the premise of not paying creative work,
Other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is the flow chart of the recognition methods of input character in the present patent application embodiment;
Fig. 2 be the present patent application embodiment in determine character string in initial flow chart;
Fig. 3 is the flow chart filled character in character string in the present patent application embodiment;
Fig. 4 be the present patent application embodiment in adjustment character string in initial flow chart;
Fig. 5 is the structure chart of the identifying device of input character in the present patent application embodiment;
Fig. 6 be the present patent application embodiment in be used for identified input character device block diagram;
Fig. 7 is the structural representation of server in the present patent application embodiment.
Embodiment
The embodiment of the present application is by providing a kind of recognition methods for inputting character and device and for identified input
The device of character, solves the low technical problem of the accuracy of the syllable splitting of character string in the prior art, real
Show the accuracy for the syllable splitting for effectively improving character string, improve the technology effect of the precision of the candidate word obtained
Really.
In order to be better understood from above-mentioned technical proposal, below in conjunction with Figure of description and specific embodiment party
Above-mentioned technical proposal is described in detail formula.
Illustrate first, herein presented term "and/or", a kind of only association for describing affiliated partner is closed
System, expression may have three kinds of relations, for example, A and/or B, can be represented:Individualism A, simultaneously
There is A and B, these three situations of individualism B.In addition, character "/" herein, before and after typicallying represent
Affiliated partner is a kind of relation of "or".
The embodiment of the application one provides a kind of recognition methods for inputting character, can apply to have display single
In the electronic equipment of member, referring to Fig. 1, it the described method comprises the following steps:
S101, the character string and pressure information corresponding with the character string for obtaining input;
S102, the character string and pressure information corresponding with the character string for obtaining input;
S103, according to the initial and the character string, obtain the first candidate corresponding with the character string
Word.
In the embodiment of the present application, electronic equipment electronics such as can be smart mobile phone, tablet personal computer is set
It is standby;Further, display unit equipment such as can be LED touch screens, LCD touch screens.
Wherein, in step S101, it can obtain for being shown in dummy keyboard on the display unit
Touch control operation, further according to the touch control operation, obtains the character string and pressure corresponding with the character string of input
Force information.
, can be by setting when showing the dummy keyboard on the display unit in specific implementation process
Put the sensing unit on the display unit to obtain the touch control operation, the touch control operation specifically can be with
It is the operation of multiple virtual keys described in touch-control on dummy keyboard, wherein, the sensing unit for example can be with
It is capacitance type sensor, resistance sensor, pressure sensor etc., the application is not specifically limited.
Specifically, when user carries out text input using the electronic equipment, meeting on the display unit
Show the dummy keyboard, the dummy keyboard can be full keyboard show, nine grids keyboard, touch keypad
Deng display, the application is not specifically limited, and the browser for example installed in using the electronic equipment is carried out
During search inquiry, the dummy keyboard can be shown on the display unit, be can also be in the electronic equipment
MSN when being chatted, can also show the dummy keyboard on the display unit, then obtain
Take the touch control operation for the dummy keyboard.
For example, by taking smart mobile phone A as an example, the MSN such as QQ on smart mobile phone A is micro-
After letter etc. starts, when carrying out text input, dummy keyboard can be shown on smart mobile phone A touch screen,
The touch control operation for the dummy keyboard is obtained, during the touch control operation is, for example, dummy keyboard described in touch-control
Any button operation.
Specifically, according to the touch control operation, character string corresponding with the touch control operation is obtained, and
When obtaining the touch control operation by being arranged on the upper sensor of the display unit, it can also get
Pressure information corresponding with the touch control operation, for example, can be that the touch-control is obtained by pressure sensor
Corresponding pressure information is operated, whenever the button on the dummy keyboard is pressed, it is possible to which acquisition is pressed with this
The corresponding character of key and pressure, so, it is possible according to the touch control operation, determine the touch control operation pressing
The corresponding character of all buttons on the dummy keyboard is as the character string, and obtains the character string
In the corresponding pressure of each character be used as the pressure information.
Specifically, the character is determined according to the precedence of the corresponding character of all buttons is pressed
String, such as it is " wxnl " that described touch control operation, which characterizes the corresponding character of button pressed successively, it is determined that institute
Character string is stated for " wxnl ", and obtains the corresponding pressure of each character and is believed as the pressure of the character string
Breath.
Next step S102 is performed, according to the pressure information, the initial in the character string is determined.
In specific implementation process, for each character in the character string, the corresponding pressure of detection character
Whether force information meets preset pressure;The default pressure is met detecting the corresponding pressure information of the character
During power, it is initial to determine the character.
Specifically, the preset pressure can be set by the user or during based on user inputs character
History input parameter, obtain user input initial when pressure limit, regard the pressure limit as institute
Preset pressure is stated, so as to more accurately judge the head in the character string based on the respective input behavior custom of user
Letter, it is of course also possible to be used as institute according to the electronic equipment or corresponding system pressure limit set in advance
Preset pressure is stated, the application does not make specific limitation.
For example, by taking smart mobile phone A as an example, user's pressing input successively on smart mobile phone A touch screen
" wtidilix " character, it is determined that the character string is " wtidilix ", and obtain each character correspondence
Pressure as the character string pressure information, if the preset pressure be 4~6, the character string
The pressure of character " w ", " t ", " d ", " l " and " x " in " wtidilix " all falls within the default pressure
In power, it is determined that the initial in character string " wtidilix " is " wtdlx ".
Specifically, it can also be divided into according to the different click forces in the pressure sensitivity such as 3D-Touch technical area point
Three kinds of pressing modes, specially touch mode, flicking mode and again by mode, then according to the history of user
Input parameter obtains the corresponding pressing mode of initial, for example, can be described to touch mode, the flicking
Mode and any one heavy pressed in mode, wherein, the corresponding maximum pressure sensitivity of mode of touching is less than
The corresponding minimum pressure sensitivity of the flicking mode, similarly, the corresponding maximum pressure sensitivity of the flicking mode are less than described
The corresponding minimum pressure sensitivity of mode is pressed again, it is described to touch the corresponding pressure sensitivity scope of mode by taking 1024 pressure sensitivity as an example
For 1~340;The corresponding pressure sensitivity scope of the flicking mode is 341~680;It is described heavy by the corresponding pressure of mode
It is 681~1024 to feel scope.
If specifically, corresponding by the analysis result sign initial for analyzing the history input parameter acquisition
Press as the flicking mode, by taking 1024 pressure sensitivity as an example, it is determined that the preset pressure is 341~680, so
Judge whether the corresponding pressure information of character is located in 341~680 in character string afterwards, if in 341~680,
It is initial then to determine the character, otherwise, it is determined that the character is not initial.
Next step S103 is performed, according to the initial and the character string, is obtained and the character string
Corresponding first candidate word.
In specific implementation process, after the initial is obtained, according to the initial to the character
String carries out syllabification, then searches its possible syllable option according to syllable after division, gets candidate's spelling
Sound string, then obtains first candidate word according to the candidate pinyin string, wherein, in first candidate
When candidate word in word has multiple, it is ranked up according to the frequency of use (word frequency) of candidate word, word frequency is got over
Before high candidate word sequence more, after the lower candidate word sequence more of word frequency.
For example, inputted with the full keyboards of 26 keys, preset pressure is exemplified by 341~680, you can know initial
Corresponding pressing mode is flicking mode, and " w " key, " a " are pressed successively getting user in flicking mode
When key, " n " key, input method procedure identification " w ", " a ", " n " are initial, then according to initial
Carry out syllable prefix it is assorted, " w " can match " wa ", " wai ", " wan ", " wang ", " wo ",
The phonetic such as " wei ", " wen ", " weng ", " wu ", " a " can match " ai ", " an ", " ang ",
Phonetics such as " ao ", and " n " can match " na ", " nai ", " nao ", " ne ", " nei ", " ni ", " niao ",
The phonetic such as " nu ", " nue ", " nv ", " nve ", thus get candidate pinyin string such as " woaini ",
" woainiao ", " wuainiao ", " wuainiao " etc., according to acquired candidate pinyin string, based on institute
The candidate pinyin string of acquisition, obtains and is returned according to priority orders the candidate of predetermined number based on preset rules
, corresponding candidate item " I Love You ", " I loves bird ", " One I Love you " and " One I Love bird " are returned, wherein,
The preset rules are that the present invention is to this based on word frequency, input environment, geographical position, time, weather etc.
It is not any limitation as.
Wherein, because the character string " wan " of input meets basic phonetic spelling rules, thus it is existing defeated
Enter method program and do not take into account that user inputs for simplicity generally, and be directly based upon pinyin string " wan " and parse and return
Corresponding candidate item is returned, such as " object for appreciation, complete, late, bowl ", it will be apparent that differed greatly with the target word of user,
User can only perform the character string before backspace revocation, and complete input " woaini ", existing input method
Program could return to the candidate item for including ownership goal word " I Love You " based on the complete input string.In this way,
The solution of the present invention can carry out effective and clearly cutting for the syllable for being relatively difficult to judge in character string,
Contribute to input method more accurately to navigate to the word that user wants input, the sound of character string can be effectively improved
Save the accuracy of cutting so that the precision of the candidate word of acquisition is improved.
In another embodiment, initial in the character string is determined according to the pressure information described
Before, referring to Fig. 2, methods described also includes:
S201, the unlatching operation for detecting whether to get the simplicity pressure sensitivity pattern in the electronic equipment of opening;
S202, get it is described open operation when, open simplicity pressure sensitivity pattern;
S203, under the simplicity pressure sensitivity pattern, according to the pressure information, determine in the character string
Initial.
Wherein, step S201 is used to detect whether the simplicity pressure sensitivity pattern opens, and is getting described open
When opening operation, then it can determine that the simplicity pressure sensitivity pattern has turned on, if not receiving the pressing operation,
Then determine that the simplicity pressure sensitivity pattern is not opened, then directly perform step S103.
In specific implementation process, because the pressure sensitivity technologies such as 3D-Touch have been used in the electronic equipment
In, in this way, when applying pressure sensitivity technology in the electronic equipment, in order to reduce the consumption of the electronic equipment
Electricity, improves the electronic equipment endurance, it will usually drop the simplicity pressure sensitivity pattern and be set to off mold closing
Formula, in this way, then needing to open the simplicity pressure sensitivity pattern by the unlatching operation.
Specifically, the unlatching operation for example can be the operation for clicking, double-clicking and drawing certain gestures,
One pressure sensitivity virtual key can also be set for the simplicity pressure sensitivity pattern, generally slide or press the pressure
Feel virtual key to open and close the simplicity pressure sensitivity pattern.
Specifically, when showing dummy keyboard on the display unit, being closed if the simplicity pressure sensitivity pattern is in
Closed state, then can automatic spring prompt message, the prompt message can be that the simplicity pressure sensitivity pattern is in
Closed mode, whether need to open described simplicity pressure sensitivity pattern etc., if the prompt message is:Whether need
When opening the simplicity pressure sensitivity pattern, the simplicity pressure sensitivity pattern is opened in selection, then directly operates the pressure sensitivity
Virtual key opens the simplicity pressure sensitivity pattern;If the prompt message is:The simplicity pressure sensitivity pattern is in
During closed mode, the prompt message is clicked, then the pressure sensitivity virtual key is shown, by sliding or pressing
The pressure sensitivity virtual key is pressed, to open the simplicity pressure sensitivity pattern.
For example, by taking smart mobile phone A as an example, in smart mobile phone A touch-control screen display dummy keyboard,
Then generate the prompt message of " simplicity pressure sensitivity pattern is closed " and be shown on the touch screen, if
The prompt message is not clicked in preset time, then closes the prompt message automatically;If described default
The prompt message is clicked in time, then in the touch-control screen display pressure sensitivity virtual key, if the pressure
It is to close simplicity pressure sensitivity pattern that sense virtual key, which keeps left, and it is to open simplicity pressure sensitivity pattern to keep right, then can be by institute
State pressure sensitivity virtual key to slide to the right, so as to open the simplicity pressure sensitivity pattern.
Next step S202 is performed, when getting the unlatching operation, simplicity pressure sensitivity pattern is opened.
In specific implementation process, when getting the unlatching operation, then the simplicity pressure sensitivity pattern is opened,
For example can be when getting the operation that the pressure sensitivity virtual key is slided to the right, then to get the unlatching
Operation, and then open the simplicity pressure sensitivity pattern;Can also be that, according to the prompt message, institute is opened in selection
When stating the selection operation of simplicity pressure sensitivity pattern, then get described open and operate, and then open the simplicity pressure
Sense pattern.
Next step S203 is performed, under the simplicity pressure sensitivity pattern, according to the pressure information, it is determined that
Initial in the character string.
In specific implementation process, under the simplicity pressure sensitivity pattern, the input for inputting character string can be grasped
Make corresponding pressing model split into three kinds of pressing modes, specially touch mode, flicking mode and again by side
Formula, the corresponding pressing mode of initial is then obtained according to the history input parameter of user, for example, can be
It is described to touch mode, the flicking mode and any one heavy by mode, wherein, it is described to touch
The corresponding maximum pressure sensitivity of mode is less than the corresponding minimum pressure sensitivity of the flicking mode, similarly, the flicking mode
Corresponding maximum pressure sensitivity is heavy by the corresponding minimum pressure sensitivity of mode less than described, described by taking 2048 pressure sensitivity as an example
It is 1~680 to touch the corresponding pressure sensitivity scope of mode;The corresponding pressure sensitivity scope of the flicking mode is 681~1360;
The heavy corresponding pressure sensitivity scope of mode of pressing is 1361~2048.
If specifically, corresponding by the analysis result sign initial for analyzing the history input parameter acquisition
Press as the flicking mode, by taking 2048 pressure sensitivity as an example, it is determined that the preset pressure is 1361~2048,
Then each character is directed to, judges whether the corresponding pressure information of the character is located in 1361~2048, if
In 1361~2048, it is determined that the character is initial, otherwise, it is determined that the character is not initial.
For example, pressing have input " wtidilix " character string to user successively on smart mobile phone A touch screen,
It is " wtidilix " then to determine the character string, and obtains the corresponding pressure of each character as the character
The pressure information of string, if the preset pressure is 1361~2048, and character " w " in " wtidilix ",
The pressure of " t ", " d ", " l " and " x " is within the preset pressure, it is determined that character string " wtidilix "
In initial be " w ", " t ", " d ", " l " and " x ".
Specifically, under the simplicity pressure sensitivity pattern, according to the pressure information, the character string is determined
In initial when, the pressure limit corresponding with initial under the simplicity pressure sensitivity pattern can also be obtained;
For each character in the character string, whether the corresponding pressure information of detection character is in the pressure model
In enclosing;When detecting the corresponding pressure information of the character in the pressure limit, determine that the character is
Initial.
Specifically, in the corresponding pressure limit of acquisition initial, user can be obtained in the simplicity pressure sensitivity
History input parameter under pattern;According to the history input parameter, obtain under the simplicity pressure sensitivity pattern
Pressure limit corresponding with initial, so so that the pressure limit corresponding with initial of acquisition is more accurate
Really, and then when whether the character during the character string is judged according to the pressure limit is initial,
What be can interpolate that is more accurate.
Specifically, by analyzing the history input parameter, obtaining the initial in the history input parameter
Corresponding pressure distribution parameter, pressure limit corresponding with initial is determined according to the pressure distribution parameter,
The pressure distribution that initial closeness in the pressure distribution parameter for example can be more than to default closeness is made
For pressure limit corresponding with initial, the default closeness is set according to actual conditions, is specially not
Value less than 2, wherein, the closeness refers to that each pressure value is averagely corresponded in pre-set pressure range
Initial quantity.
For example, by taking pressure sensitivity 2048 as an example, if being shown in pressure distribution parameter in the history input parameter
The quantity of the average corresponding initial of each pressure value in 1361~2048 is 5, and described default intensive
Spend for 4, due to 5>4, then it is 1361~2048 that can determine pressure limit corresponding with initial, in root
According to the pressure limit and the pressure information, the initial in the character string is determined, step is then performed
S104。
In another embodiment, obtained and the character according to the initial and the character string described
Go here and there after corresponding first candidate word, referring to Fig. 3, methods described also includes:
S301, acquisition user operate for the character addition of the character string;
S302, according to the character add operation with the display unit on contact position, from the character
The position for needing to add character is determined in string;
S303, in the position for needing to add character add and fills character, acquisition fill character after character string;
Character string and the initial after being filled character described in S304, basis, acquisition are filled character with described
The corresponding candidate word of character string afterwards.
Wherein, after first candidate word is obtained, if required for not having user in first candidate word
Candidate word, then can perform step S301, obtain the character addition operation and the character string is mended
Entirely.
In specific implementation process, the character addition operation can for example be click on the click of the character string
Operation.
In the embodiment of the present application, the character addition can be got by the sensor on the display unit
Operation, for example, pressing have input " shwlds " character to user successively on smart mobile phone A touch screen,
It is " shwlds " then to determine the character string, and determines character string " shwlds " according to the pressure information of character string
In each character be initial, the first candidate word is then generated according to possible pinyin string, it is described
First candidate word is, for example, " Shanghai network mansion ", " holy Valentine " etc., does not there is the time required for user
Word is selected, clicking operation of the user in character string " shwlds " position is at this moment got, then clicked on described
Operation is added as the character and operated.
Next step S302 is performed, according to character addition operation contact with display unit position
Put, the position for needing to add character is determined from the character string.
In specific implementation process, the corresponding contact position of the character addition operation is obtained, from the character
The position for needing to add character is determined in string.
For example, " s " of the corresponding click location of character addition operation in character string " shwlds " it
Afterwards and before " h ", it is determined that the position of the addition character is between character " s " and " h ".
Next S303 is performed, adds and fills character in the position for needing to add character, acquisition is filled character
Character string afterwards.
In specific implementation process, after the position of addition character is needed by step S302 determinations, root
Filled character according to input acquisition of information, then obtain the character string after filling character.
Specifically, after it is determined that needing the position of addition character, the position display of addition character is being needed
One input frame, naturally it is also possible to show the input frame in the lower section for the position for needing to add character, then
Filled character according to input acquisition of information, then obtain the character string after filling character.
For example, " s " of the corresponding contact position of character addition operation in character string " shwlds " it
Afterwards and before " h ", it is determined that the position of the addition character is between character " s " and " h ", so
An input frame is shown between character " s " and " h " afterwards, if it is " ou " to get input information,
It is " souhwlds " to obtain the character string after filling character.
Of course, it is possible to step S301~S303 is performed a plurality of times, with add it is multiple fill character so that convenient use
Character string described in the completion of family so that more accurate according to the candidate word that the character string of completion is obtained.
For example, after the character string after filling character is obtained for " souhwlds ", character is got again
Addition operation, and the corresponding contact position of character addition operation obtained again is in character string " shwlds "
" h " after and before " w ", it is determined that again add character position in character " h " and " w "
Between, an input frame is then shown between character " h " and " w ", if it is " u " to get input information,
Then get and be again filled with the character string after character for " souhuwlds ".
Next step S304 is performed, according to the character string after described fill character and the initial, is obtained
Candidate word corresponding with the character string after described fill character.
In specific implementation process, syllabification is carried out according to the character string after described fill character and initial,
Then its possible syllable option is searched according to syllable after division, candidate pinyin string is got, then according to institute
State candidate pinyin string and obtain first candidate word, wherein, the candidate word in first candidate word has many
When individual, it is ranked up according to the word frequency of candidate word, before the higher candidate word sequence more of word frequency, word frequency is lower
Candidate word sequence more after, for example, getting the character after being again filled with character for " souhuwlds ",
Then it is, for example, " souhuwangluodasha " to get candidate pinyin string, then according to pinyin string from dictionary
In inquire candidate word for " soho network mansion ".
In another embodiment, it is described according to the initial and the character string, obtain and the character string
After corresponding first candidate word, referring to Fig. 4, methods described also includes:
S401, extracted from remaining character and meet the specific character of simplicity character condition, wherein, the residue
Character is the character in the character string in addition to the initial;
S402, using the specific character as initial, and according to the initial, the specific character and
The character string, obtains the second candidate word corresponding with the character string.
Wherein, in step S401, the simplicity character condition is specifically as follows the character as initial consonant,
The remaining character outside the initial is extracted from the character string first, then for the remaining word
Each character in symbol, judges whether character meets the simplicity character condition, meets described in the character
During simplicity character condition, it is determined that the character is the specific character;Otherwise, it is determined that the character is not institute
State specific character.
For example, pressing have input " shwlds " character to user successively on smart mobile phone A touch screen, then
It is " shwlds " to determine the character string, and determines character string " shwlds " according to the pressure information of character string
In initial be " hwlds ", it is " s " then to obtain remaining character, and " s " can be used as initial consonant
Character, it follows that " s " meets the simplicity character condition, then it is specific character that can determine " s ".
Next perform step S402, using the specific character as initial, and according to the initial,
The specific character and the character string, obtain the second candidate word corresponding with the character string.
In specific implementation process, sound is carried out according to the initial, the specific character and the character string
Section is divided, and is then searched its possible syllable option according to syllable after division, is got candidate pinyin string, so
Second candidate word is obtained according to the candidate pinyin string afterwards, wherein, the time in second candidate word
When selecting word and having multiple, it is ranked up according to the word frequency of candidate word, before the higher candidate word sequence more of word frequency,
After the lower candidate word sequence more of word frequency,
For example, pressing have input " shwlds " character to user successively on smart mobile phone A touch screen, then
It is " shwlds " to determine the character string, and determines character string " shwlds " according to the pressure information of character string
In initial be " hwlds ", it is " s " then to obtain remaining character, and " s " can be used as initial consonant
Character, it follows that " s " meets the simplicity character condition, then it is specific character that can determine " s ",
Such as " s " can match " sa ", " san ", " sang ", " sao ", " sai ", " se ", " sen ", " seng ",
The phonetic such as " si ", " su ", " sun ", " h " can match " ha ", " han ", " hang ", " hao ",
The phonetic such as " hai ", " hei ", " hen ", " heng ", " hu ", " hun ", " w " can also match " wa ",
" wan ", " wang ", " wao ", " wai ", " wo ", " wen ", " weng ", " wei ", " wu " etc.
Phonetic, " l " can also match " la ", " lan ", " lang ", " lao ", " lai ", " len ", " leng ", " lei ",
The phonetics such as " lu ", " lue ", " d " can also match " da ", " dan ", " dang ", " dao ", " dai ",
The phonetic such as " deng ", " de ", " du ", " dui ", " di ", " ding ", " s " can also match " sa ",
" san ", " sang ", " sao ", " sai ", " se ", " sen ", " seng ", " si ", " su ", " sun " etc.
Phonetic, so as to get candidate pinyin string, then goes in dictionary to be searched, and return according to candidate pinyin string
Return back out existing word frequency highest it is several as candidate item be added to reality logic in, finally according to corresponding word frequency
Etc. score, corresponding candidate item " Shanghai network mansion " and " soho network mansion " are returned to, in this way, energy
Enough after initial is determined by pressure information, the simplicity character bar can also will be met in remaining character
The specific character of part is obtained as initial further according to the specific character, the initial and the character string
Get second candidate word so that the accuracy of second candidate word of acquisition is further improved.
In addition, the embodiment of the present application is unsatisfactory for the finger of the simplicity character condition in for the remaining character
Character is determined such as " a " character, and the word frequency for only having inputted and having found first in user is less than certain threshold value
In the case of, it can just consider error correction result being added in Query Result.So start for vowel
Syllable would not cause the situation that can not be matched, and can also save the time that user inputs participle key.
In another embodiment, it is described according to the initial and the character string, obtain and the character string
After corresponding first candidate word, methods described also includes:Detection the first candidate corresponding with the character string
Whether the quantity of word is less than predetermined threshold value;When the quantity is less than the predetermined threshold value, obtain for described
The modification operation of initial in character string;Operated, obtained from the character string after modification according to the modification
Initial;According to the amended initial and the character string, obtain corresponding with the character string
First candidate word.
In specific implementation process, in order to reduce the modification cost of user, modification efficiency is improved, is being detected
When the quantity of first candidate word is less than the predetermined threshold value, the character string inputted can be carried out
The modification identified again the operation of initial, operates according to the modification, identifies again in the character string
Initial, initial, the specified pressure and institute can be identified again by the operation with specified pressure
State preset pressure different, for example, can determine to identify initial again by again by operation, and after press again
Horizontally slip to determine that the initial for changing which letter is identified;If what is chosen is not identified letter,
Initial is then marked as, and if having been identified as initial, then its initial is marked and cancelled.It is logical
The function of reducing user's modification cost can be reached by crossing above-mentioned functions, provide the user more convenient input method
Experience.
It is, of course, also possible to distinguish the modification operation by compressing time, such as described modification operation can be with
Operated for long-press, the long-press operation refers to that compressing time is not less than the operation of preset duration, when described default
Long for example can be, not less than 2 seconds, to be specifically as follows 2 seconds, 3 seconds, 5 seconds etc., if detect pressing
Between when being not less than the operation of the preset duration, it is determined that the operation is the modification operation, and then is marked again
Know initial;If detect compressing time be less than the preset duration operation when, identify the operation not
Operated for the modification, so that the accuracy of the identification modification operation is improved, wherein, it is described
Preset duration can also carry out equipment by electronic equipment or default according to the use habit of user,
It can also be not specifically limited by user's sets itself, the application.
In the embodiment of the present application, the predetermined threshold value can be set according to actual conditions, for example can be for not
Less than 0 and no more than 5 value, and the modification operation for example can be where double-clicking the character string
Position, one certain gestures of input are such as circle, semicircle, triangle, lines, and the application does not make specifically
Limitation.
Specifically, the modification operation can also be directly obtained, is operated further according to the modification, from described
Amended initial is obtained in character string;According to the amended initial and the character string, obtain
The first candidate word corresponding with the character string.
For example, pressing have input " shwlds " character to user successively on smart mobile phone A touch screen, then
It is " shwlds " to determine the character string, and determines character string " shwlds " according to the pressure information of character string
In initial be " hwds ", if detect user input certain gestures be circle, get institute
Modification operation is stated, if at this moment having pressed character " s " and " l " again, headed by character " s " and " l " mark
Letter, may thereby determine that each character in character string " shwlds " is initial.
In another embodiment, after the initial determined in the character string, methods described also includes:
Detect whether ratio of the initial in the character string is less than default ratio;It is less than institute in the ratio
When stating default ratio, the specific character for meeting simplicity character condition is extracted from remaining character, wherein, it is described
Remaining character is the character in the character string in addition to the initial;It regard the specific character as lead-in
Mother, and according to the initial, the specific character and the character string, obtain corresponding with the character string
The second candidate word.
In specific implementation process, the default ratio can be set according to actual conditions, can be not small
In 20% and no more than 90% value, for example, 50%, 60%, 70% etc., the initial is being detected
When ratio in the character string is less than the preset ratio, is then extracted from remaining character and meet simplicity word
The specific character of symbol condition, using the specific character as initial, and according to the initial, the spy
Determine character and the character string, obtain the second candidate word corresponding with the character string;If detecting the head
When ratio of the letter in the character string is not less than the preset ratio, then step S104 is performed.
In the embodiment of the present application, the specific character for meeting simplicity character condition is extracted from remaining character, by institute
Specific character is stated as initial, and according to the initial, the specific character and the character string, is obtained
Step S401~S402 is may refer in the specific implementation process for taking the second candidate word corresponding with the character string
Record, just repeat no more herein.
Specifically, ratio of the initial in the character string can be specifically initial quantity/
Initial in character quantity in the character string, such as described character string " wtidilix " is " wtdlx ",
It is 5/8=62.5% that ratio of the initial in character string, which can then be determined, if the default ratio is 60%,
Due to 62.5%>60%, then perform step S104;If the default ratio is 70%, due to 62.5%<70%,
The specific character for meeting simplicity character condition is then extracted from remaining character, the specific character is regard as lead-in
Mother, and according to the initial, the specific character and the character string, obtain corresponding with the character string
The second candidate word.
Technical scheme in the embodiment of the present application, at least has the following technical effect that or advantage:
Because the embodiment of the present application is to obtain the character string inputted and pressure information corresponding with the character string;
Further according to the pressure information, the initial in the character string is determined;Further according to the initial and described
Character string, obtains the first candidate word corresponding with the character string, in this way, allowing to according to the character
The corresponding pressure information of each character in string judges whether the character is initial, according to the lead-in
Mother just accurately can accurately be divided to the syllable in the character string, be carried in the accuracy of syllabification
In the case of height so that the precision for carrying out the operations such as conversion query according to the syllable after cutting below is carried therewith
Height, and then the precision of the candidate word obtained is also improved therewith.
Based on same inventive concept, another embodiment of the application additionally provides a kind of identifying device for inputting character,
Referring to Fig. 5, including pressure information acquiring unit 501, for obtain input character string and with the character
Go here and there corresponding pressure information;Initial acquiring unit 502, for according to the pressure information, it is determined that described
Initial in character string;Candidate word acquiring unit 503, for according to the initial and the character string,
Obtain the first candidate word corresponding with the character string.
Wherein, identifying device electronic equipment such as can be smart mobile phone, tablet personal computer;Further
, the identifying device also include display unit, the display unit for example can be LED touch screens,
The equipment such as LCD touch screens.
Specifically, the identifying device also includes touch control operation acquiring unit, for obtaining for being shown in institute
The touch control operation of the dummy keyboard on display unit is stated, and then allows the root of pressure information acquiring unit 501
According to the touch control operation, the character string and pressure information corresponding with the character string of input are obtained.
Specifically, the pressure information acquiring unit, is additionally operable to each character being directed in the character string,
Whether the corresponding pressure information of detection character meets preset pressure;Met in the corresponding pressure information of the character
During the preset pressure, it is initial to determine the character.
Specifically, the identifying device also includes:Character addition operation acquiring unit, in the basis
The initial and the character string, obtain after the first candidate word corresponding with the character string, obtain and use
Character addition operation of the family for the character string;
Position determination unit, for adding operation and the contact position on the display unit according to the character,
The position for needing to add character is determined from the character string;
Character string acquiring unit, fills character for being added in the position for needing to add character, obtains filling
Character string after character;
Candidate word acquiring unit 503, is additionally operable to character string and the initial after being filled character according to,
Obtain candidate word corresponding with the character string after described fill character.
Specifically, the identifying device also includes:
First specific character acquiring unit, for, according to the initial and the character string, being obtained described
After the first candidate word corresponding with the character string, extracted from remaining character and meet simplicity character condition
Specific character, wherein, the remaining character is the character in the character string in addition to the initial;
Candidate word acquiring unit 503, is additionally operable to the specific character as initial, and according to the head
Alphabetical, described specific character and the character string, obtain the second candidate word corresponding with the character string.
Specifically, the identifying device also includes:
First detection unit, for, according to the initial and the character string, being obtained and the word described
After corresponding first candidate word of symbol string, whether the quantity of detection the first candidate word corresponding with the character string
Less than predetermined threshold value;
Modification operation acquiring unit, for when the quantity is less than the predetermined threshold value, obtaining for described
The modification operation of initial in character string;
Initial acquiring unit 502, is additionally operable to be operated according to the modification, obtains and repair from the character string
Initial after changing;
Candidate word acquiring unit 503, is additionally operable to, according to the amended initial and the character string, obtain
Take the first candidate word corresponding with the character string.
Specifically, the identifying device also includes:
Second detection unit, after the initial in the determination character string, detects the head
Whether ratio of the letter in the character string is less than default ratio;
Second specific character acquiring unit, for when the ratio is less than the default ratio, from remaining word
The specific character for meeting simplicity character condition is extracted in symbol, wherein, the remaining character is in the character string
Character in addition to the initial;
Candidate word acquiring unit 503, is additionally operable to the specific character as initial, and according to the head
Alphabetical, described specific character and the character string, obtain the second candidate word corresponding with the character string.
Specifically, the identifying device also includes:
3rd detection unit, for, according to the pressure information, determining the lead-in in the character string described
Before mother, detect whether to get the unlatching operation for the simplicity pressure sensitivity pattern in the electronic equipment of opening;
Mode opening unit, for when getting the unlatching operation, opening simplicity pressure sensitivity pattern;
Initial acquiring unit 502, is additionally operable under the simplicity pressure sensitivity pattern, according to the pressure information,
Determine the initial in the character string.
Specifically, initial acquiring unit 502 also includes:
Pressure limit obtains subelement, corresponding with initial under the simplicity pressure sensitivity pattern for obtaining
Pressure limit;
Initial determination subelement, for for each character in the character string, detection character correspondence
Pressure information whether in the pressure limit;The corresponding pressure information of the character is being detected described
When in pressure limit, it is initial to determine the character.
Specifically, the pressure limit, which obtains subelement, is additionally operable to obtain user under the simplicity pressure sensitivity pattern
History input parameter, and according to the history input parameter, obtain under the simplicity pressure sensitivity pattern with
The corresponding pressure limit of initial.
Apply for the technical scheme in embodiment, at least have the following technical effect that or advantage:
Because the embodiment of the present application is to obtain the character string inputted and pressure information corresponding with the character string;
Further according to the pressure information, the initial in the character string is determined;Further according to the initial and described
Character string, obtains the first candidate word corresponding with the character string, in this way, allowing to according to the character
The corresponding pressure information of each character in string judges whether the character is initial, according to the lead-in
Mother just accurately can accurately be divided to the syllable in the character string, be carried in the accuracy of syllabification
In the case of height so that the precision for carrying out the operations such as conversion query according to the syllable after cutting below is carried therewith
Height, and then the precision of the candidate word obtained is also improved therewith.
On the device in above-described embodiment, wherein modules perform the concrete mode of operation relevant
It is described in detail in the embodiment of this method, explanation will be not set forth in detail herein.
Fig. 6 is a kind of frame of device 800 for identified input character according to an exemplary embodiment
Figure.For example, device 800 can be mobile phone, and computer, digital broadcast terminal, messaging devices,
Game console, tablet device, Medical Devices, body-building equipment, personal digital assistant etc..
Reference picture 6, device 800 can include following one or more assemblies:Processing assembly 802, storage
Device 804, power supply module 806, multimedia groupware 808, audio-frequency assembly 810, input/output (I/O)
Interface 812, sensor cluster 814, and communication component 816.
The integrated operation of the usual control device 800 of processing assembly 802, such as with display, call, number
According to communication, the camera operation operation associated with record operation.Treatment element 802 can include one or many
Individual processor 820 carrys out execute instruction, to complete all or part of step of above-mentioned method.In addition, processing
Component 802 can include one or more modules, be easy to the interaction between processing assembly 802 and other assemblies.
For example, processing component 802 can include multi-media module, to facilitate multimedia groupware 808 and processing assembly
Interaction between 802.
Memory 804 is configured as storing various types of data supporting the operation in equipment 800.These
The example of data includes the instruction of any application program or method for being operated on device 800, contact person
Data, telephone book data, message, picture, video etc..Memory 804 can be by any kind of volatile
Property or non-volatile memory device or combinations thereof realize, such as static RAM (SRAM),
Electrically Erasable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM),
Programmable read only memory (PROM), read-only storage (ROM), magnetic memory, flash memory,
Disk or CD.
Power supply module 806 provides electric power for the various assemblies of device 800.Power supply module 806 can include electricity
Management system, one or more power supplys, and other for device 800 with generating, managing and distributing electric power phase
The component of association.
Multimedia groupware 808 is included in the screen of one output interface of offer between described device 800 and user
Curtain.In certain embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).Such as
Fruit screen includes touch panel, and screen may be implemented as touch-screen, to receive the input signal from user.
Touch panel includes one or more touch sensors with the gesture on sensing touch, slip and touch panel.
The touch sensor can not only sensing touch or sliding action border, but also detection touches with described
Or slide related duration and pressure.In certain embodiments, multimedia groupware 808 includes one
Individual front camera and/or rear camera.When equipment 800 is in operator scheme, such as screening-mode or regard
During frequency pattern, front camera and/or rear camera can receive the multi-medium data of outside.Before each
Putting camera and rear camera can be a fixed optical lens system or become with focal length and optics
Burnt ability.
Audio-frequency assembly 810 is configured as output and/or input audio signal.For example, audio-frequency assembly 810 is wrapped
A microphone (MIC) is included, when device 800 is in operator scheme, such as call model, logging mode and language
During sound recognition mode, microphone is configured as receiving external audio signal.The audio signal received can be by
It is further stored in memory 804 or is sent via communication component 816.In certain embodiments, audio group
Part 810 also includes a loudspeaker, for exports audio signal.
I/O interfaces 812 is provide interface between processing assembly 802 and peripheral interface module, above-mentioned periphery connects
Mouth mold block can be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button,
Volume button, start button and locking press button.
Sensor cluster 814 includes one or more sensors, for providing various aspects for device 800
State estimation.For example, sensor cluster 814 can detect opening/closed mode of equipment 800, group
The relative positioning of part, such as described component is the display and keypad of device 800, sensor cluster 814
It can be changed with the position of 800 1 components of detection means 800 or device, user contacts with device 800
Existence or non-existence, the orientation of device 800 or acceleration/deceleration and the temperature change of device 800.Sensor group
Part 814 can include proximity transducer, be configured in not any physical contact thing near detection
The presence of body.Sensor cluster 814 can also include optical sensor, such as CMOS or ccd image sensor,
For being used in imaging applications.In certain embodiments, the sensor cluster 814 can also include accelerating
Spend sensor, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 816 is configured to facilitate the logical of wired or wireless way between device 800 and other equipment
Letter.Device 800 can access the wireless network based on communication standard, such as WiFi, 2G or 3G, or they
Combination.In one exemplary embodiment, communication component 816 is received from outside wide via broadcast channel
The broadcast singal or broadcast related information of broadcast management system.In one exemplary embodiment, the communication unit
Part 816 also includes near-field communication (NFC) module, to promote junction service.For example, can in NFC module
Based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) skill
Art, bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 800 can by one or more application specific integrated circuits (ASIC),
Digital signal processor (DSP), digital signal processing appts (DSPD), PLD (PLD),
Field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are real
It is existing, for performing the above method.
In the exemplary embodiment, a kind of non-transitory computer-readable storage medium including instructing is additionally provided
Matter, such as the memory 804 including instruction, above-mentioned instruction can be performed by the processor 820 of device 800 with
Complete the above method.For example, the non-transitorycomputer readable storage medium can be ROM, deposit at random
Access to memory (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by mobile terminal
Computing device when so that mobile terminal be able to carry out it is a kind of input character recognition methods, methods described
Including:Obtain the character string and pressure information corresponding with the character string of input;According to the pressure information,
Determine the initial in the character string;According to the initial and the character string, obtain and the character
Go here and there corresponding first candidate word.
Fig. 7 is the structural representation of server in the embodiment of the present invention.The server 1900 can because configuration or
Performance is different and produces than larger difference, can include one or more central processing units (central
Processing units, CPU) 1922 (for example, one or more processors) and memory 1932,
The storage medium 1930 (such as one of one or more storage application programs 1942 or data 1944
Or more than one mass memory unit).Wherein, memory 1932 and storage medium 1930 can be of short duration
Storage or persistently storage.One or more modules can be included by being stored in the program of storage medium 1930
(diagram is not marked), each module can include operating the series of instructions in server.Further
Ground, central processing unit 1922 could be arranged to communicate with storage medium 1930, be held on server 1900
Series of instructions operation in row storage medium 1930.
Server 1900 can also include one or more power supplys 1926, and one or more are wired
Or radio network interface 1950, one or more input/output interfaces 1958, one or more
Keyboard 1956, and/or, one or more operating systems 1941, such as Windows ServerTM,
Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM etc..
Those skilled in the art will readily occur to this hair after considering specification and putting into practice invention disclosed herein
Bright other embodiments.It is contemplated that cover any modification, purposes or the adaptations of the present invention,
These modifications, purposes or adaptations follow the general principle of the present invention and undisclosed including the disclosure
Common knowledge or conventional techniques in the art.Description and embodiments are considered only as exemplary
, true scope and spirit of the invention are pointed out by following claim.
It should be appreciated that the invention is not limited in the accurate knot for being described above and being shown in the drawings
Structure, and various modifications and changes can be being carried out without departing from the scope.The scope of the present invention is only by appended
Claim is limited
Presently preferred embodiments of the present invention is the foregoing is only, is not intended to limit the invention, it is all the present invention's
Within spirit and principle, any modification, equivalent substitution and improvements made etc. should be included in the present invention's
Within protection domain.
Claims (8)
1. a kind of recognition methods for inputting character, it is characterised in that methods described includes:
Obtain the character string and pressure information corresponding with the character string of input;
According to the pressure information, the initial in the character string is determined;
According to the initial and the character string, the first candidate word corresponding with the character string is obtained.
2. the method as described in claim 1, it is characterised in that described according to the pressure information, really
Initial in the fixed character string, is specifically included:
For each character in the character string, whether the corresponding pressure information of detection character meets default
Pressure;
When the corresponding pressure information of the character meets the preset pressure, it is initial to determine the character.
3. the method as described in claim 1, it is characterised in that described according to the initial and institute
Character string is stated, is obtained after the first candidate word corresponding with the character string, methods described also includes:
Obtain character addition operation of the user for the character string;
Operation and the contact position on the display unit are added according to the character, from the character string really
Surely the position of addition character is needed;
Add and fill character in the position for needing to add character, obtain the character string after filling character;
According to the character string after described fill character and the initial, obtain and the word after described fill character
The corresponding candidate word of symbol string.
4. the method as described in claim 1, it is characterised in that described according to the initial and described
Character string, is obtained after the first candidate word corresponding with the character string, methods described also includes:
The specific character for meeting simplicity character condition is extracted from remaining character, wherein, the remaining character is
Character in the character string in addition to the initial;
Using the specific character as initial, and according to the initial, the specific character and the word
Symbol string, obtains the second candidate word corresponding with the character string.
5. the method as described in claim 1, it is characterised in that described according to the initial and described
Character string, is obtained after the first candidate word corresponding with the character string, methods described also includes:
Whether the quantity of detection the first candidate word corresponding with the character string is less than predetermined threshold value;
When the quantity is less than the predetermined threshold value, the modification behaviour for being directed to initial in the character string is obtained
Make;
Operated according to the modification, amended initial is obtained from the character string;
According to the amended initial and the character string, obtain corresponding with the character string first and wait
Select word.
6. the method as described in claim 1, it is characterised in that the head in the determination character string
After letter, methods described also includes:
Detect whether ratio of the initial in the character string is less than default ratio;
When the ratio is less than the default ratio, is extracted from remaining character and meet simplicity character condition
Specific character, wherein, the remaining character is the character in the character string in addition to the initial;
Using the specific character as initial, and according to the initial, the specific character and the word
Symbol string, obtains the second candidate word corresponding with the character string.
7. a kind of identifying device for inputting character, it is characterised in that including:
Pressure information acquiring unit, character string and pressure corresponding with character string letter for obtaining input
Breath;
Initial acquiring unit, for according to the pressure information, determining the initial in the character string;
Candidate word acquiring unit, for according to the initial and the character string, obtaining and the character string
Corresponding first candidate word.
8. a kind of device for identified input character, it is characterised in that include memory, Yi Jiyi
Individual or more than one program, one of them or more than one program storage is in memory, and through matching somebody with somebody
Put with by one or more than one computing device is one or more than one program bag containing be used for into
The instruction of the following operation of row:
Obtain the character string and pressure information corresponding with the character string of input;
According to the pressure information, the initial in the character string is determined;
According to the initial and the character string, the first candidate word corresponding with the character string is obtained.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610113346.1A CN107132927B (en) | 2016-02-29 | 2016-02-29 | Input character recognition method and device for recognizing input characters |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610113346.1A CN107132927B (en) | 2016-02-29 | 2016-02-29 | Input character recognition method and device for recognizing input characters |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107132927A true CN107132927A (en) | 2017-09-05 |
CN107132927B CN107132927B (en) | 2022-04-01 |
Family
ID=59721547
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610113346.1A Active CN107132927B (en) | 2016-02-29 | 2016-02-29 | Input character recognition method and device for recognizing input characters |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107132927B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107422921A (en) * | 2017-08-31 | 2017-12-01 | 北京搜狗科技发展有限公司 | A kind of input method, device, electronic equipment and storage medium |
CN109558016A (en) * | 2017-09-25 | 2019-04-02 | 北京搜狗科技发展有限公司 | A kind of input method and device |
CN109725736A (en) * | 2017-10-27 | 2019-05-07 | 北京搜狗科技发展有限公司 | A kind of candidate's sort method, device and electronic equipment |
CN115291791A (en) * | 2022-08-17 | 2022-11-04 | 维沃移动通信有限公司 | Text recognition method and device, electronic equipment and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2005053173A1 (en) * | 2003-11-26 | 2005-06-09 | Wang-Don Choi | Digital information processing system having character input apparatus |
CN101075262A (en) * | 2007-06-12 | 2007-11-21 | 腾讯科技(深圳)有限公司 | Method and system for inputting Chinese character by computer |
CN104346052A (en) * | 2013-07-25 | 2015-02-11 | 诺基亚公司 | Method and device for Chinese characters input |
-
2016
- 2016-02-29 CN CN201610113346.1A patent/CN107132927B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2005053173A1 (en) * | 2003-11-26 | 2005-06-09 | Wang-Don Choi | Digital information processing system having character input apparatus |
CN101075262A (en) * | 2007-06-12 | 2007-11-21 | 腾讯科技(深圳)有限公司 | Method and system for inputting Chinese character by computer |
CN104346052A (en) * | 2013-07-25 | 2015-02-11 | 诺基亚公司 | Method and device for Chinese characters input |
Non-Patent Citations (1)
Title |
---|
鄢涛 等编著: "《大学计算机基础上机指导与习题集》", 31 May 2008, 中国水利水电出版社 * |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107422921A (en) * | 2017-08-31 | 2017-12-01 | 北京搜狗科技发展有限公司 | A kind of input method, device, electronic equipment and storage medium |
CN107422921B (en) * | 2017-08-31 | 2020-05-19 | 北京搜狗科技发展有限公司 | Input method, input device, electronic equipment and storage medium |
CN109558016A (en) * | 2017-09-25 | 2019-04-02 | 北京搜狗科技发展有限公司 | A kind of input method and device |
CN109558016B (en) * | 2017-09-25 | 2022-12-13 | 北京搜狗科技发展有限公司 | Input method and device |
CN109725736A (en) * | 2017-10-27 | 2019-05-07 | 北京搜狗科技发展有限公司 | A kind of candidate's sort method, device and electronic equipment |
CN109725736B (en) * | 2017-10-27 | 2023-02-28 | 北京搜狗科技发展有限公司 | Candidate sorting method and device and electronic equipment |
CN115291791A (en) * | 2022-08-17 | 2022-11-04 | 维沃移动通信有限公司 | Text recognition method and device, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN107132927B (en) | 2022-04-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2821906B1 (en) | Method for processing touch operation and mobile terminal | |
EP2981104B1 (en) | Apparatus and method for providing information | |
CN103038728B (en) | Such as use the multi-mode text input system of touch-screen on a cellular telephone | |
CN104020943B (en) | Character string is replaced | |
KR101602840B1 (en) | Smart user-customized virtual keyboard | |
CN107436691B (en) | Method, client, server and device for correcting errors of input method | |
CN108205376A (en) | It is predicted for the legend of dialogue | |
KR102232929B1 (en) | Message Service Providing Device and Method Providing Content thereof | |
CN107491181A (en) | The phrase for dynamic state extension of language in-put | |
CN104020948B (en) | A kind of method and device that cursor position is determined in touch-screen | |
CN107102746A (en) | Candidate word generation method, device and the device generated for candidate word | |
US20100177048A1 (en) | Easy-to-use soft keyboard that does not require a stylus | |
CN110083254A (en) | More gesture text input predictions | |
CN107608532A (en) | A kind of association-feeding method, device and electronic equipment | |
US20140317496A1 (en) | Keyboard gestures for character string replacement | |
EP2909702B1 (en) | Contextually-specific automatic separators | |
CN102422245A (en) | Input method editor | |
CN107132927A (en) | Input recognition methods and device and the device for identified input character of character | |
CN106651338A (en) | Method for payment processing and terminal | |
CN107092424A (en) | A kind of display methods of error correction, device and the device of the display for error correction | |
EP3267301B1 (en) | High-efficiency touch screen text input system and method | |
CN104077065A (en) | Method for displaying virtual keyboard by touch screen terminal and touch screen terminal | |
KR20160016526A (en) | Method for Providing Information and Device thereof | |
EP2660692A1 (en) | Configurable touchscreen keyboard | |
CN104076945B (en) | Apparatus and method for showing input keyboard in the terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |