CN107340880A - A kind of association-feeding method, device and the electronic equipment for realizing association's input - Google Patents

A kind of association-feeding method, device and the electronic equipment for realizing association's input Download PDF

Info

Publication number
CN107340880A
CN107340880A CN201610286989.6A CN201610286989A CN107340880A CN 107340880 A CN107340880 A CN 107340880A CN 201610286989 A CN201610286989 A CN 201610286989A CN 107340880 A CN107340880 A CN 107340880A
Authority
CN
China
Prior art keywords
input
character string
string
character
association
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201610286989.6A
Other languages
Chinese (zh)
Other versions
CN107340880B (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.)
Beijing Sogou Technology Development Co Ltd
Original Assignee
Beijing Sogou 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 Beijing Sogou Technology Development Co Ltd filed Critical Beijing Sogou Technology Development Co Ltd
Priority to CN201610286989.6A priority Critical patent/CN107340880B/en
Publication of CN107340880A publication Critical patent/CN107340880A/en
Application granted granted Critical
Publication of CN107340880B publication Critical patent/CN107340880B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/02Input arrangements using manually operated switches, e.g. using keyboards or dials
    • G06F3/023Arrangements 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/0233Character input methods
    • G06F3/0237Character input methods using prediction or retrieval techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0793Remedial or corrective actions

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Quality & Reliability (AREA)
  • User Interface Of Digital Computer (AREA)
  • Document Processing Apparatus (AREA)

Abstract

The invention discloses a kind of association-feeding method, device and the electronic equipment inputted for realizing association, the association-feeding method to include:Obtain the input character string of user's input;Target string is obtained by carrying out error correction to the input character string, wherein, the target string differs with least one character be present in the input character string;At least one association's character string is obtained according to the target string, and at least one association's character string is shown as candidate character strings, wherein, partial character is corresponding with the target string in association's character string.In above-mentioned technical proposal, input character string by operating input to user key-press carries out long word association after carrying out error correction, user is avoided manually to be modified input character string, reduce the cost for shielding candidate character strings on user, input rate relatively low technical problem when solving long word association input in the prior art, improves input rate.

Description

A kind of association-feeding method, device and the electronic equipment for realizing association's input
Technical field
The present invention relates to areas of information technology, more particularly to a kind of association-feeding method, device and for realizing Associate the electronic equipment of input.
Background technology
With the continuous development of mobile Internet, portable electric appts have obtained quick development and popularization, Man-machine interaction also becomes more and more frequent.Man-machine interaction can by physical keyboard, dummy keyboard, handwriting pad, Sound collection equipment is inputted, and is then changed by input method and is shielded with providing in candidate item, wherein, One of most basic, most frequent mode is to carry out man-machine interaction by input through keyboard.
When by input through keyboard character, input method is generally utilized to be converted to the character inputted on button multiple Candidate character strings, for shielding corresponding to user's selection in character string, i.e., input is determined from multiple candidate character strings A certain character string.In the prior art, when the input of user being converted into multiple candidate character strings, generally comprise Directly change and associate two kinds of conversion regimes of conversion.The character inputted when directly changing according to user is carried out one by one Conversion, such as user's input " nh ", " n " is directly converted into " you ", " h " is converted into " good " obtains Obtain candidate character strings " you are good ".Association's conversion is then that the original character string inputted completely according to user is expanded Toss about in bed and change, as user inputs " jinttq ", association's character string " today weather can be obtained according to extension conversion Candidate character strings well " are used as, wherein " good " is obtained according to " jinttq " association.
However, user exists during character is inputted leaks the error situations such as defeated, how defeated, mistake is defeated, due to Association's conversion is to be matched to obtain according to the right pronunciation of entry, is now entered in the character string inputed by mistake according to user When row association candidate searches, it is impossible to match effective association candidate.Such as:User is wrong defeated by " jinttq " For " jinttw ", long word association is carried out according to " jinttw ", it is impossible to return to the desired long word candidate of user such as " the present Its weather is pretty good ", cause user to need manual correction input character string to reuse long word association function, increase Shield the cost of long word on user, reduce input rate.It can be seen that when long word association inputs in the prior art The low technical problem of input efficiency be present.
The content of the invention
The embodiment of the present invention provides a kind of association-feeding method, device and for realizing that the electronics of association's input is set It is standby, input efficiency low technical problem when long word association inputs in the prior art for solution, improve input Efficiency.
The embodiment of the present application provides a kind of association-feeding method, and this method includes:
Obtain the input character string of user's input;
Target string is obtained by carrying out error correction to the input character string, wherein, the target string Differed with least one character be present in the input character string;
At least one association's character string is obtained according to the target string, and by least one association word Symbol is gone here and there and shown as candidate character strings, wherein, partial character and the target in association's character string Character string is corresponding.
Optionally, it is described to obtain target string by carrying out error correction to the input character string, including:
Obtain key position of each character in input in the input character string;
Obtain the first button corresponding to the key position in the button predeterminable area, and with described first The second adjacent button of button;
It is corresponding that character corresponding to first button described in the input character string is replaced with into second button Character, to obtain the target string;Or described second will included in the input character string Character deletion corresponding to second button, to obtain the target string.
Optionally, it is described to obtain target string by carrying out error correction to the input character string, including:
Obtain keystroke dynamics of each character in input in the input character string;
Acquisition is not belonging to the first button corresponding to the keystroke dynamics of preset threshold range;
By character deletion corresponding to the first button described in the input character string, or by the input character It is corresponding that character corresponding to first button described in string replaces with second button adjacent with first button Character, to obtain the target string.
Optionally, it is described to obtain target string by carrying out error correction to the input character string, including:
Obtain and be more than in the input character string and word frequency database between the reference character string of predeterminated frequency Similarity;
If the similarity is more than preset similarity value, using the reference character string as the target string.
Optionally, after character string is inputted corresponding to the acquisition button operation, methods described also includes:
At least one input association character string is obtained according to the input character string, wherein, the input association Partial character is corresponding with the input character string in character string;
It is described to be shown at least one association's character string as candidate character strings, including:
Using at least one association's character string and at least one input association character string as candidate word Symbol string is shown.
Optionally, after the input character string of the acquisition user input, methods described also includes:
At least one hand over word string is correspondingly obtained according to each character in the input character string;
It is described that at least one association's character string and at least one input are associated into character string as time Character string is selected to be shown, including:
By at least one association's character string, at least one input association character string and described at least one Individual hand over word string is shown as candidate character strings.
The embodiment of the present application also provides a kind of association's input unit, including:
Acquiring unit, for obtaining the input character string of user's input;
Error correction unit, target string is obtained for carrying out error correction to the input character string, wherein, it is described Target string differs with least one character be present in the input character string;
Unit is associated, for obtaining at least one association's character string according to the target string, and by described in It is at least one association character string shown as candidate character strings, wherein, it is described associate character string in part Character is corresponding with the target string.
Optionally, association's unit is additionally operable to:
At least one input association character string is obtained according to the input character string, wherein, the input association Partial character is corresponding with the input character string in character string;
By at least one association's character string, at least one input association character string and described at least one Individual hand over word string is shown as candidate character strings.
Optionally, described device also includes:
Converting unit, for the acquiring unit obtain user input input character string after, according to institute State each character in input character string and correspondingly obtain at least one hand over word string;
Association's unit is additionally operable to:By at least one association's character string, at least one input connection Think that character string and at least one hand over word string are shown as candidate character strings.
The embodiment of the present application also provides a kind of electronic equipment for being used to realize association's input, includes memory, And one or more than one program, one of them or more than one program storage in memory, And it is configured to by one that either more than one computing device is one or more than one program bag contains For the instruction operated below:
Obtain the input character string of user's input;
Target string is obtained by carrying out error correction to the input character string, wherein, the target string Differed with least one character be present in the input character string;
At least one association's character string is obtained according to the target string, and by least one association word Symbol is gone here and there and shown as candidate character strings, wherein, partial character and the target in association's character string Character string is corresponding.
Said one or multiple technical schemes in the embodiment of the present application, at least have the following technical effect that:
The embodiment of the present application carries out correction process by the input character string inputted to user and obtains target character String, the target string then obtained according to correction process obtain association's character string and as candidate characters String is shown, i.e., to carrying out long word association after the input character string progress error correction of user's input, avoids use Family carries out manual correction to input character string, reduces the cost for shielding candidate character strings on user, solves existing Efficiency low technical problem when having long word association input in technology, improves input efficiency.
Brief description of the drawings
Fig. 1 is a kind of flow chart for association-feeding method that the embodiment of the present application provides;
Fig. 2 is a kind of schematic diagram for association's input unit that the embodiment of the present application provides;
Fig. 3 is a kind of schematic device for being used to realize association's input that the embodiment of the present application provides;
Fig. 4 is a kind of system schematic that the embodiment of the present application provides.
Embodiment
In the technical scheme that the embodiment of the present application provides, user is obtained by carrying out error correction to input character string The target string of input is wanted, so that the association word according to corresponding to obtaining the association of target string progress long word Symbol string, so in the case of input character string is not exclusively correct, obtained after being still based on error correction Target string carry out association, so as to be supplied to user effectively to associate character string, solve prior art Middle long word association input must correct input character string when occurring by mistake defeated could obtain correctly association's character string The low technical problem of caused input efficiency, and then improve input efficiency.
Below in conjunction with the accompanying drawings to the main realization principle of the embodiment of the present application technical scheme, embodiment and Beneficial effect that should be able to reach is explained in detail for it.
Embodiment one
Fig. 1 is refer to, the embodiment of the present application provides a kind of association-feeding method, and methods described includes:
S101:Obtain the input character string of user's input;
S102:Error correction is carried out to the input character string and obtains target string, wherein, the target character String differs with least one character be present in the input character string;
S103:At least one association's character string is obtained according to the target string, and will be described at least one Character string is associated as candidate character strings, wherein, partial character and the target word in association's character string Symbol string is corresponding.
A kind of association-feeding method that the embodiment of the present application provides, applied to an electronic equipment.The electronic equipment On be configured with the input units such as virtual input keyboard, physical keyboard, handwriting pad, voice-input device.Detection When being inputted to user by any of the above-described input unit, the input word that S101 obtains user's input is performed Symbol string, wherein the input character string includes at least one character.The embodiment of the present application can be based on input word Number of characters or syllable number carry out candidate character strings conversion in symbol string, may determine that for this and are included in input character string Number of characters or syllable number whether be more than given threshold, and input character string is carried out not according to judged result Same candidate character strings conversion.Wherein, given threshold can be the integer more than or equal to 3, such as given threshold Can be 3,4 or 5.Given threshold can be based on systemic presupposition and obtain, and can also be based on user's input behavior Data analysis obtains, and can also carry out personal settings according to demands of individuals by user, the embodiment of the present application is simultaneously The acquisition modes and specific value of unlimited given threshold processed.
When inputting in character string the number of characters included or syllable number is not more than given threshold, then it is assumed that input word Number of characters corresponding to symbol string is very little, it is not easy to and association, which obtains, meets association's character string that user's input is intended to, because And candidate character strings can be obtained only in accordance with input character string conversion.Such as:Assuming that user key-press operation input Input character string be " jint ", when " jint ", the input character string amounts to 2 syllables comprising " jin " and " t ", It can so be changed only in accordance with " jint " and obtain candidate characters " today ", " close-table ", " subsidy " etc..Again Such as:Assuming that the input character string of user's input is " xqy ", 3 characters are included altogether in the input character string No more than given threshold, then can be changed only in accordance with " xqy " and obtain candidate characters " details page ", " small Qu Yuan ", " Monday " etc..The number of characters or syllable number included in by input character string is more than given threshold When, perform S102.It should be noted that the embodiment of the present application can not also be to the character in input character string Number or syllable number are judged, directly perform S102.
S102 obtains target string by carrying out error correction to input character string.Wherein, input character string is entered Row error correction can use various ways, including:Position error correction, dynamics error correction, word frequency error correction, semantic error correction, Close on key mapping error correction etc..Describe the acquisition methods of target string in detail with reference to three kinds of error correcting systems, but The embodiment of the present application is not intended to limit the concrete mode that error correction is carried out to input character string.
Position error correction is to judge that user actually wants to the button of operation, example according to key position during user key-press Such as:By taking full keyboard as an example, the actual button for thinking operation of user is " f ", but has deviation during button, button Position is located between the left side in button " g " region or button " f " and button " g ", now can be with Error correction is carried out by position error correction.User carry out button operation when, obtain user input each character when Key position;Then, the first button corresponding to the button predeterminable area belonging to key position is obtained, and with the Adjacent at least one second button of one button;And then will be to word corresponding to the first button in input character string Symbol replaces with character corresponding with least one second button, or, include the when input in character string Character corresponding to one button and the second button, and when character corresponding to the first button and the second button is adjacent, will Character deletion corresponding to second button;Target string is used as using the input character string after by deletion or replacement. Wherein, button predeterminable area is the position that user's operation error easily occurs, such as the border area of button.
Such as:Assuming that the square that the key area of each button is 10mm*10mm, button predeterminable area For apart from more than key area central point 3mm region, to button " g " in the button operation that user performs Key position positioned at border area apart from button " g " central point 4.5mm at, then can obtain and Adjacent the second button " f " of button " g ", character " g " corresponding to button " g " in input character string is replaced For character " f " corresponding to second button " f ", so as to which the input character string after being replaced is as target Character string.In actual application, second button adjacent with the first button may have multiple, this situation Down can be further using adjacent with the first button and closest with a key position button as Two buttons, or, historical operating data, spelling rules with reference to user etc. screen to the second button, Exclude not meeting the character of spelling rules, will it is adjacent with the first button and meet spelling rules, user operates and practised Used button is as the second button.Certainly, the embodiment of the present application can not also screen to the second button, Multiple target strings are obtained according to different adjacent keys.
Dynamics error correction is to judge that user actually wants to the button of operation according to keystroke dynamics during user key-press.Together The dynamics of one user's click keys is generally in a preset threshold range, if its keystroke dynamics of maloperation are usual Not in the threshold range, therefore keystroke dynamics can be based on to inputting character string error correction.During dynamics error correction, Obtain the keystroke dynamics that user operates each button;And obtain the keystroke dynamics pair for being not belonging to preset threshold range The first button answered;Character deletion corresponding to the first button in character string will be inputted, or character string will be inputted In character corresponding to the first button replace with the corresponding character of second button adjacent with the first button, to delete Or the input character string after replacing is as target string.
Such as:Assuming that the preset threshold range of keystroke dynamics is 0.1~0.4N, it is corresponding that user carries out button operation Input character string " shijianbzk ", wherein in the input character string keystroke dynamics corresponding to each character according to It is secondary to be:
Character s h i j i a n b z k
Keystroke dynamics (unit N) 0.15 0.20 0.18 0.24 0.27 0.17 0.21 0.22 0.3 0.05
And keystroke dynamics corresponding to " k " are 0.05N, then can obtain corresponding to user's Cao Zuoanjian " k " Keystroke dynamics are not belonging to set preset threshold range, then " k " is the first button, and in input character string first is pressed Character corresponding to key " k " is deleted, and " shijainbz " of acquisition is used as target string, or will input Character " k " corresponding to the first button replaces with and " k " adjacent button character " l ", acquisition in character string " shijainbzl " is used as target string.Certainly, the embodiment of the present application can be combined with position and dynamics is come Error correction is carried out, the programmable button band of position is such as belonged to key position and keystroke dynamics are not belonging to predetermined threshold value model The first button enclosed, which is replaced to be replaced or delete, obtains target string.
Word frequency error correction is to judge user according to the higher reference character string of incoming frequency in user's input behavior The character string of input is actually wanted to, such as:User often inputs " guanjzy ", accidentally inputs " guanjzu " So user actually wants to being particularly likely that " guanjzy " for input.Therefore, by inputting character string When carrying out error correction acquisition target string, the input character string and word frequency database of user's input can be first obtained In be more than similarity between the reference character string of predeterminated frequency, wherein, predeterminated frequency is reference character string Incoming frequency, its value can be systemic presupposition value, or the self-defining value that user is set manually, this Application embodiment is not intended to limit the specific value of predeterminated frequency;Then, judge to input character string and any reference Whether the similarity between character string is more than preset similarity value, if so, carrying out error correction to input character string:Will Reference character string is as target string, if it is not, not carrying out error correction to input character string.Input character string with Similarity between reference character string is similarity of character string, can pass through editing distance algorithm (Levenshtein Distance), Longest Common Substring algorithm (Longest Common Subsequences), The methods of greedy string matching algorithm (Greedy String Tiling), which calculates, to be obtained.Preset similarity value according to The carry out value of similarity calculating method.
Such as:Assuming that preset similarity value is 90%, predeterminated frequency is 4 times/day, the input character string of user For " guanjzu ", and the incoming frequency that user inputs " guanjzy " in historical record is 6 times/day, 6 times / day is more than 4 times/day of predeterminated frequency, then similar between calculating acquisition " guanjzu " and " guanjzy " Spend for 92%, the Similarity value is more than preset similarity value, then think that user actually wants to the character string of input May be " guanjzy ", thus will input character string " guanjzu " error correction be for " guanjzy ", and will " guanjzy " is used as target string.
After obtaining target string, perform S103 and at least one association is obtained according to target string conversion Character string.Specifically can according to target string come to related dictionary (such as system dictionary, word library, often With dictionary etc.) lookup acquisition association character string is carried out, certain row is further carried out to association's character string Shown after sequence, frequency modulation using association's character string as candidate character strings.
In specific implementation process, in order to provide a user more candidate character strings, so as to improve input effect Rate, the embodiment of the present application also before performing S103, obtain button operation corresponding to input character string after, The input character string inputted according to user obtains at least one input association character string, wherein, input association word Partial character is corresponding with input character string in symbol string, i.e., is also included in input association character string with inputting character The not corresponding character of string, it is that " jttq " can accordingly change acquisition input association character string such as to input character string " today, weather was pretty good ", wherein " good " be not corresponding with the character in " jttq ", but joined by " jttq " Want to obtain.After obtaining at least one input association character string, at least one input can be associated character string Shown in the lump as candidate character strings with least one association's character string obtained by target string.When So, can also be after input character string corresponding to button operation be obtained, according to each word in input character string Symbol is corresponding to obtain at least one hand over word string, i.e., input character string directly is converted into hand over word string, such as Input character string is that " jttq " can change acquisition hand over word string " weather today " between, in the lump will at least One hand over word string, at least one association's character string and at least one input association character string are as candidate word Symbol string is shown, upper for selection by the user to shield.
Below by an instantiation, the association-feeding method provided the embodiment of the present application is completely said It is bright.Certain user view input " brother of running ", user be but incorrectly entered for " benpaobasx " when Long word associative process is as follows:
(1) input character string, is obtained:User uses input method, it is intended that input " benpaobax ", carries out the It is incorrectly entered during one button operation as " benpaobasx ", the input character string of acquisition user's input “benpaobasx”。
(2), common conversion:Input method is changed to " benpaobasx ", by sequence, frequency modulation etc., Obtain candidate list 1:" running few chivalrous ", " realization of running " etc..
(3), error correction is changed:Input character string of the input method correction module to user carries out correction process, finds The keystroke dynamics of operation " s " button are much smaller than preset threshold range, and " s " is particularly likely that user taps " a " When mistake input, for this will " s " deletion by input character string be corrected as target string " benpaobax ", Changed to correcting string, candidate list 2 is obtained by sequence, frequency modulation etc.:" brother of running ", " run Think " etc..
(4), common long word association conversion, to user's input string " benpaobasx " according to certain rule (such as Syllable number) judge to need to carry out long word association.Long word association is carried out to the original string of user's input, passed through Prefix mode searches system dictionary, word library etc., then is obtained by sequence, frequency modulation etc. comprising at least one The candidate list 3 of input association character string:" run and realize their dream ", " immediate experience of running " etc..
(5), error correction long word association conversion, the target string " benpaobax " obtained to error correction is according to one Fixed rule (such as syllable number) judges to need to carry out long word association, by prefix mode search system dictionary, Word library etc., then obtain the candidate comprising at least one association's candidate character strings by sequence, frequency modulation etc. and arrange Table 4:" brother of running ", " running the fraternal second season " etc..
(6), candidate character strings are shown:By context, current input environment, word frequency etc. to candidate list 1-4 is merged, and returns to candidate list to user, candidate character strings are shown successively in candidate list:" run Brother ", " running the fraternal second season ", " realization of running ", " run and realize their dream " etc., user " brother of running " may be selected and carry out screen.
Fig. 2 is refer to, a kind of association-feeding method provided based on above-described embodiment, the embodiment of the present application is also A kind of association's input unit is provided, the device includes:
Acquiring unit 201, for obtaining the input character string of user's input;
Error correction unit 202, target string is obtained for carrying out error correction to the input character string, wherein, The target string differs with least one character be present in the input character string;
Associate unit 203, for obtaining at least one association's character string according to the target string, and will It is described it is at least one association character string shown as candidate character strings, wherein, it is described associate character string in Partial character is corresponding with the target string.
In specific implementation process, error correction unit 202 is carrying out error correction acquisition target character to input character string During string, key position of each character in input in the input character string can be first obtained;Then, obtain Obtain the first button corresponding to the key position in the button predeterminable area, and with the first button phase The second adjacent button;Then, character corresponding to the first button described in the input character string is replaced with into institute Character corresponding to the second button is stated, to obtain the target string;Or by the input character string Comprising the two the second character deletion corresponding to button, to obtain the target string.
Error correction unit 202 can also be obtained first when carrying out error correction acquisition target string to input character string Keystroke dynamics of each character in input in the input character string;Then, obtain and be not belonging to predetermined threshold value First button corresponding to the keystroke dynamics of scope;Then, described in the input character string first is pressed Character deletion corresponding to key, or character corresponding to the first button described in the input character string is replaced with The corresponding character of second button adjacent with first button, to obtain the target string.
Error correction unit 202 can also obtain institute when carrying out error correction acquisition target string to input character string State the similarity being more than in input character string and word frequency database between the reference character string of predeterminated frequency;If institute State similarity and be more than preset similarity value, using the reference character string as the target string.
In specific implementation process, association's unit 203 is additionally operable to:Obtained according to the input character string At least one input association character string, wherein, partial character and the input in input association character string Character string is corresponding;By it is described it is at least one association character string, it is described it is at least one input association character string and At least one hand over word string is shown as candidate character strings.
In order to also provide a converting unit 204 to user more candidate character strings, described devices.Conversion is single Member 204 is used for after the input character string that the acquiring unit obtains user's input, according to the input word Each character correspondingly obtains at least one hand over word string in symbol string;Association's unit 203 is additionally operable to:Will At least one association's character string, at least one input association's character string and at least one conversion Character string is shown as candidate character strings.
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. 3 is a kind of frame for being used to realize the device 800 of association's input 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 3, device 800 can include following one or more assemblies:Processing component 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 component 802, such as with display, call, count According to communication, camera operation and record operate associated operation.Treatment element 802 can include one or more 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, the interaction being easy between processing component 802 and other assemblies. For example, processing component 802 can include multi-media module, to facilitate multimedia groupware 808 and processing component Interaction between 802.
Memory 804 is configured as storing various types of data to support 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 are 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). If screen includes touch panel, screen may be implemented as touch-screen, be believed with receiving the input from user Number.Touch panel includes one or more touch sensors with the hand on sensing touch, slip and touch panel Gesture.The touch sensor can the not only border of sensing touch or sliding action, but also detect with it is described Touch or the duration and pressure of slide correlation.In certain embodiments, multimedia groupware 808 wraps Include a front camera and/or rear camera.When equipment 800 is in operator scheme, such as screening-mode or During video mode, front camera and/or rear camera can receive outside multi-medium data.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 includes One microphone (MIC), 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 provide interface between processing component 802 and peripheral interface module, and 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, component Relative positioning, such as the component be device 800 display and keypad, sensor cluster 814 also It can be changed with the position of 800 1 components of detection means 800 or device, user deposits with what device 800 contacted Or be not present, the orientation of device 800 or acceleration/deceleration and the temperature change of device 800.Sensor cluster 814 can include proximity transducer, be configured to detect object nearby in no any physical contact Presence.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, in NFC module Radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) can be based on Technology, 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, it is random Access 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 is able to carry out a kind of association-feeding method, and methods described includes: Obtain the input character string of user's input;Error correction is carried out to the input character string and obtains target string, its In, the target string differs with least one character be present in the input character string;According to described Target string obtains at least one association's character string, and using at least one association's character string as candidate Character string shown, wherein, partial character is corresponding with the target string in association's character string.
Fig. 4 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 bigger difference, can include one or more central processing units (central Processing units, CPU) 1922 (for example, one or more processors) and memory 1932, One or more storage application programs 1942 or data 1944 storage medium 1930 (such as one or More than one mass memory unit).Wherein, memory 1932 and storage medium 1930 can be of short duration deposit Storage or persistently storage.One or more module (figures can be included by being stored in the program of storage medium 1930 Show and do not mark), each module can include operating the series of instructions in server.Further, Central processing unit 1922 could be arranged to communicate with storage medium 1930, performs and deposits on server 1900 Series of instructions operation in storage media 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.The application is intended to any modification, purposes or the adaptations of the present invention, These modifications, purposes or adaptations follow the general principle of the present invention and are not disclosed 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 limits
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., it should be included in the present invention's Within protection domain.

Claims (10)

1. a kind of association-feeding method, it is characterised in that methods described includes:
Obtain the input character string of user's input;
Error correction is carried out to the input character string and obtains target string, wherein, the target string and institute State and at least one character in input character string be present and differ;
At least one association's character string is obtained according to the target string, and by least one association word Symbol is gone here and there and shown as candidate character strings, wherein, partial character and the target in association's character string Character string is corresponding.
2. the method as described in claim 1, it is characterised in that described by the input character string Carry out error correction and obtain target string, including:
Obtain key position of each character in input in the input character string;
Obtain the first button corresponding to the key position in the button predeterminable area, and with described first The second adjacent button of button;
It is corresponding that character corresponding to first button described in the input character string is replaced with into second button Character, to obtain the target string;Or described second will included in the input character string Character deletion corresponding to second button, to obtain the target string.
3. the method as described in claim 1, it is characterised in that described by the input character string Carry out error correction and obtain target string, including:
Obtain keystroke dynamics of each character in input in the input character string;
Acquisition is not belonging to the first button corresponding to the keystroke dynamics of preset threshold range;
By character deletion corresponding to the first button described in the input character string, or by the input character It is corresponding that character corresponding to first button described in string replaces with second button adjacent with first button Character, to obtain the target string.
4. the method as described in claim 1, it is characterised in that described by the input character string Carry out error correction and obtain target string, including:
Obtain and be more than in the input character string and word frequency database between the reference character string of predeterminated frequency Similarity;
If the similarity is more than preset similarity value, using the reference character string as the target string.
5. the method as described in Claims 1 to 4 is any, it is characterised in that in the acquisition button operation After corresponding input character string, methods described also includes:
At least one input association character string is obtained according to the input character string, wherein, the input association Partial character is corresponding with the input character string in character string;
It is described to be shown at least one association's character string as candidate character strings, including:
Using at least one association's character string and at least one input association character string as candidate word Symbol string is shown.
6. method as claimed in claim 5, it is characterised in that in the input of the acquisition user input After character string, methods described also includes:
At least one hand over word string is correspondingly obtained according to each character in the input character string;
It is described that at least one association's character string and at least one input are associated into character string as time Character string is selected to be shown, including:
By at least one association's character string, at least one input association character string and described at least one Individual hand over word string is shown as candidate character strings.
7. one kind association input unit, it is characterised in that including:
Acquiring unit, for obtaining the input character string of user's input;
Error correction unit, target string is obtained for carrying out error correction to the input character string, wherein, it is described Target string differs with least one character be present in the input character string;
Unit is associated, for obtaining at least one association's character string according to the target string, and by described in It is at least one association character string shown as candidate character strings, wherein, it is described associate character string in part Character is corresponding with the target string.
8. device as claimed in claim 7, it is characterised in that association's unit is additionally operable to:
At least one input association character string is obtained according to the input character string, wherein, the input association Partial character is corresponding with the input character string in character string;
By at least one association's character string, at least one input association character string and described at least one Individual hand over word string is shown as candidate character strings.
9. device as claimed in claim 8, it is characterised in that described device also includes:
Converting unit, for the acquiring unit obtain user input input character string after, according to institute State each character in input character string and correspondingly obtain at least one hand over word string;
Association's unit is additionally operable to:By at least one association's character string, at least one input connection Think that character string and at least one hand over word string are shown as candidate character strings.
A kind of 10. electronic equipment for being used to realize association's input, it is characterised in that include memory, with And one or more than one program, one of them or more than one program storage in memory, and It is configured to by one that either more than one computing device is one or more than one program bag is containing using In the instruction for carrying out following operation:
Obtain the input character string of user's input;
Error correction is carried out to the input character string and obtains target string, wherein, the target string and institute State and at least one character in input character string be present and differ;
At least one association's character string is obtained according to the target string, and by least one association word Symbol is gone here and there and shown as candidate character strings, wherein, partial character and the target in association's character string Character string is corresponding.
CN201610286989.6A 2016-05-03 2016-05-03 Association input method and device and electronic equipment for realizing association input Active CN107340880B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610286989.6A CN107340880B (en) 2016-05-03 2016-05-03 Association input method and device and electronic equipment for realizing association input

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610286989.6A CN107340880B (en) 2016-05-03 2016-05-03 Association input method and device and electronic equipment for realizing association input

Publications (2)

Publication Number Publication Date
CN107340880A true CN107340880A (en) 2017-11-10
CN107340880B CN107340880B (en) 2021-11-02

Family

ID=60222970

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610286989.6A Active CN107340880B (en) 2016-05-03 2016-05-03 Association input method and device and electronic equipment for realizing association input

Country Status (1)

Country Link
CN (1) CN107340880B (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108983995A (en) * 2018-06-19 2018-12-11 深圳市元征科技股份有限公司 Information association method, device, terminal and medium
CN109597500A (en) * 2018-12-06 2019-04-09 北京金山安全软件有限公司 Input error correction method and device for Chinese pinyin and electronic equipment
CN110633017A (en) * 2018-06-21 2019-12-31 北京搜狗科技发展有限公司 Input method, input device and input device
CN110780749A (en) * 2018-07-11 2020-02-11 北京搜狗科技发展有限公司 Character string error correction method and device
CN111258796A (en) * 2018-11-30 2020-06-09 Ovh公司 Service infrastructure and method of predicting and detecting potential anomalies therein
CN111522448A (en) * 2019-02-02 2020-08-11 北京搜狗科技发展有限公司 Method, device and equipment for providing input candidate items
CN111782060A (en) * 2020-06-18 2020-10-16 维沃移动通信有限公司 Object display method and device and electronic equipment
CN112346577A (en) * 2020-11-09 2021-02-09 杭州拼便宜网络科技有限公司 Input information correction method, system and related device
CN112684910A (en) * 2020-12-29 2021-04-20 维沃移动通信有限公司 Input method candidate word display method and device and electronic equipment
WO2023030266A1 (en) * 2021-08-30 2023-03-09 维沃移动通信有限公司 Input method lexicon updating method and apparatus, device and server

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101667099A (en) * 2009-10-16 2010-03-10 神形互联有限公司 Method for inputting stroke connection keyboard characters and device therefor
CN101937313A (en) * 2010-09-13 2011-01-05 中兴通讯股份有限公司 Dynamic generation and input method and device for touch keyboard
CN102184028A (en) * 2011-04-11 2011-09-14 百度在线网络技术(北京)有限公司 Method and equipment for acquiring candidate character strings corresponding to input key sequence
CN104615591A (en) * 2015-03-10 2015-05-13 上海触乐信息科技有限公司 Context-based forward input error correcting method and device
US20160116994A1 (en) * 2008-08-05 2016-04-28 Nuance Communications, Inc. Probability-based approach to recognition of user-entered data

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160116994A1 (en) * 2008-08-05 2016-04-28 Nuance Communications, Inc. Probability-based approach to recognition of user-entered data
CN101667099A (en) * 2009-10-16 2010-03-10 神形互联有限公司 Method for inputting stroke connection keyboard characters and device therefor
CN101937313A (en) * 2010-09-13 2011-01-05 中兴通讯股份有限公司 Dynamic generation and input method and device for touch keyboard
CN102184028A (en) * 2011-04-11 2011-09-14 百度在线网络技术(北京)有限公司 Method and equipment for acquiring candidate character strings corresponding to input key sequence
CN104615591A (en) * 2015-03-10 2015-05-13 上海触乐信息科技有限公司 Context-based forward input error correcting method and device

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108983995A (en) * 2018-06-19 2018-12-11 深圳市元征科技股份有限公司 Information association method, device, terminal and medium
CN108983995B (en) * 2018-06-19 2022-05-13 深圳市元征科技股份有限公司 Information association method, device, terminal and medium
CN110633017A (en) * 2018-06-21 2019-12-31 北京搜狗科技发展有限公司 Input method, input device and input device
CN110780749A (en) * 2018-07-11 2020-02-11 北京搜狗科技发展有限公司 Character string error correction method and device
CN110780749B (en) * 2018-07-11 2024-03-08 北京搜狗科技发展有限公司 Character string error correction method and device
CN111258796A (en) * 2018-11-30 2020-06-09 Ovh公司 Service infrastructure and method of predicting and detecting potential anomalies therein
CN109597500A (en) * 2018-12-06 2019-04-09 北京金山安全软件有限公司 Input error correction method and device for Chinese pinyin and electronic equipment
CN111522448A (en) * 2019-02-02 2020-08-11 北京搜狗科技发展有限公司 Method, device and equipment for providing input candidate items
CN111522448B (en) * 2019-02-02 2024-04-30 北京搜狗科技发展有限公司 Method, device and equipment for providing input candidate items
CN111782060A (en) * 2020-06-18 2020-10-16 维沃移动通信有限公司 Object display method and device and electronic equipment
CN112346577A (en) * 2020-11-09 2021-02-09 杭州拼便宜网络科技有限公司 Input information correction method, system and related device
CN112346577B (en) * 2020-11-09 2024-05-07 杭州拼便宜网络科技有限公司 Input information correction method, system and related device
CN112684910A (en) * 2020-12-29 2021-04-20 维沃移动通信有限公司 Input method candidate word display method and device and electronic equipment
WO2022143341A1 (en) * 2020-12-29 2022-07-07 维沃移动通信有限公司 Input method candidate word display method and apparatus, and electronic device
WO2023030266A1 (en) * 2021-08-30 2023-03-09 维沃移动通信有限公司 Input method lexicon updating method and apparatus, device and server

Also Published As

Publication number Publication date
CN107340880B (en) 2021-11-02

Similar Documents

Publication Publication Date Title
CN107340880A (en) A kind of association-feeding method, device and the electronic equipment for realizing association's input
CN107102746B (en) Candidate word generation method and device and candidate word generation device
CN107229348A (en) A kind of input error correction method, device and the device for inputting error correction
US10802605B2 (en) Input method, device, and electronic apparatus
CN107608532A (en) A kind of association-feeding method, device and electronic equipment
US20150242118A1 (en) Method and device for inputting
CN107844199A (en) A kind of input method, system and the device for input
US11335348B2 (en) Input method, device, apparatus, and storage medium
CN107193393A (en) Input method switching method and device
CN107037965A (en) A kind of information displaying method based on input, device and mobile terminal
CN107544684A (en) A kind of candidate word display methods and device
CN105447109A (en) Key word searching method and apparatus
WO2018018912A1 (en) Search method and apparatus, and electronic device
CN106886294A (en) A kind of input method error correction method and device
CN107797676A (en) A kind of input method of the single character and device
CN103970831B (en) Recommend the method and apparatus of icon
CN103995844B (en) Information search method and device
CN110795014A (en) Data processing method and device and data processing device
CN107179837A (en) Input method and device
US10198614B2 (en) Method and device for fingerprint recognition
CN114090738A (en) Method, device and equipment for determining scene data information and storage medium
EP3812951A1 (en) Augmenting biligual training corpora by replacing named entities
CN104699668B (en) Determine the method and device of Words similarity
CN107203279A (en) Keyword reminding method and equipment
CN109426354B (en) Input method, device and device for input

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