CN105549760A - Information input method and device - Google Patents

Information input method and device Download PDF

Info

Publication number
CN105549760A
CN105549760A CN201610057308.9A CN201610057308A CN105549760A CN 105549760 A CN105549760 A CN 105549760A CN 201610057308 A CN201610057308 A CN 201610057308A CN 105549760 A CN105549760 A CN 105549760A
Authority
CN
China
Prior art keywords
candidate
appearing
result
dictionary
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
Application number
CN201610057308.9A
Other languages
Chinese (zh)
Other versions
CN105549760B (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 Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology 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 Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201610057308.9A priority Critical patent/CN105549760B/en
Publication of CN105549760A publication Critical patent/CN105549760A/en
Application granted granted Critical
Publication of CN105549760B publication Critical patent/CN105549760B/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

Abstract

The invention discloses an information input method and an information input device; a concrete implementation mode of the method comprises the following steps: receiving a pinyin input by a user; obtaining candidate results associated with the pinyin and to be presented on a presenting position, wherein the candidate results include one of the following: candidate characters corresponding to fuzzy syllables of the pinyin, and candidate words composed of the candidate characters; and based on history input records of the candidate characters, determining whether to take the candidate results as the candidate results presented on the presenting position for selection of the user. The information input method and the information input device disclosed by the invention, based on the times for imputing the fuzzy syllables in the process that the user inputs the fuzzy syllable results for multiple times, realizes the filtering to the fuzzy syllable results when a high-weight word library presents the words; and thus, the hit rate for the candidate results presented on a first screen is improved.

Description

Data inputting method and device
Technical field
The application relates to computer realm, is specifically related to input method field, particularly relates to data inputting method and device.
Background technology
When user uses input method to carry out information input, input method can to user provide the fuzzy phoneme result corresponding with the phonetic that user inputs alternatively result choose for user, can select to make the user that correctly cannot distinguish correct phonetic and fuzzy syllable the candidate result expecting input from above-mentioned candidate result.At comparatively forward position of appearing, such as first screen, obtains the candidate result be presented on this position of appearing usually from high weight dictionary.
But, when adopting aforesaid way to provide candidate result to user, when user correctly can distinguish correct phonetic and fuzzy syllable, the fuzzy phoneme result obtained from high weight dictionary still can as the candidate result be presented on corresponding position of appearing, a large amount of fuzzy phoneme result is caused to occupy comparatively forward position of appearing, such as first screen, thus interference is caused to the input of user, reduce the input efficiency of user.
Summary of the invention
This application provides data inputting method and device, for solving the technical matters that above-mentioned background technology part exists.
First aspect, this application provides data inputting method, and the method comprises: the phonetic receiving user's input; Obtain be associated with phonetic, the candidate result on position of appearing to be presented, candidate result comprises one of following: the candidate character that the fuzzy syllable of phonetic is corresponding, the candidate's word be made up of candidate character; Based on the history input record of candidate character, candidate result is determined whether to choose as the candidate result be presented on position of appearing for user, wherein, history input record comprises: the number of times that fuzzy syllable is transfused in candidate result is by the input of the preset times as input results.
Second aspect, this application provides message input device, and this device comprises: receiving element, is configured for the phonetic receiving user's input; Acquiring unit, is configured for and obtains be associated with phonetic, the candidate result on position of appearing to be presented, and candidate result comprises one of following: the candidate character that the fuzzy syllable of phonetic is corresponding, the candidate's word be made up of candidate character; Determining unit, be configured for the history input record based on candidate character, candidate result is determined whether to choose as the candidate result be presented on position of appearing for user, wherein, history input record comprises: the number of times that fuzzy syllable is transfused in candidate result is by the input of the preset times as input results.
The data inputting method that the application provides and device, by receiving the phonetic of user's input; Obtain be associated with phonetic, the candidate result on position of appearing to be presented, candidate result comprises one of following: the candidate character that the fuzzy syllable of phonetic is corresponding, the candidate's word be made up of candidate character; Based on the history input record of candidate character, determine whether candidate result to choose as the candidate result be presented on position of appearing for user.Achieve and repeatedly input in the process of fuzzy phoneme result based on user, input the number of times of fuzzy syllable, fuzzy phoneme result when going out word to high weight dictionary is filtered, and then improves the hit rate to the candidate result that head screen presents.
Accompanying drawing explanation
By reading the detailed description done non-limiting example done with reference to the following drawings, the other features, objects and advantages of the application will become more obvious:
Fig. 1 is the exemplary system architecture figure that the application can be applied to wherein;
Fig. 2 shows the process flow diagram of an embodiment of the data inputting method according to the application;
Fig. 3 shows and generates history input record exemplary process diagram;
An effect schematic diagram after Fig. 4 shows and filters fuzzy phoneme result;
Fig. 5 shows an exemplary conceptual diagram of filtering fuzzy phoneme result;
Fig. 6 shows an exemplary conceptual diagram of the candidate result determining to present;
Fig. 7 shows the structural representation of an embodiment of the message input device according to the application;
Fig. 8 is the structural representation of the computer system be suitable for for the terminal device or server realizing the embodiment of the present application.
Embodiment
Below in conjunction with drawings and Examples, the application is described in further detail.Be understandable that, specific embodiment described herein is only for explaining related invention, but not the restriction to this invention.It also should be noted that, for convenience of description, in accompanying drawing, illustrate only the part relevant to Invention.
It should be noted that, when not conflicting, the embodiment in the application and the feature in embodiment can combine mutually.Below with reference to the accompanying drawings and describe the application in detail in conjunction with the embodiments.
Fig. 1 shows the exemplary system architecture 100 can applying the data inputting method of the application or the embodiment of message input device.
As shown in Figure 1, system architecture 100 can comprise terminal device 101,102,103, network 104 and server 105.Network 104 is in order at terminal device 101, the medium providing transmission link between 102,103 and server 105.Network 104 can comprise various connection type, such as wired, wireless transmission link or fiber optic cables etc.
User can use terminal device 101,102,103 mutual by network 104 and server 105, to receive or to send message etc.Terminal device 101,102,103 can be provided with various communication applications, such as, the application of input method class, the application of browser class, search class application, instant messaging class application etc.
Terminal device 101,102,103 can be have display screen and the various electronic equipments of network enabled communication, include but not limited to smart mobile phone, panel computer, E-book reader, MP3 player (MovingPictureExpertsGroupAudioLayerIII, dynamic image expert compression standard audio frequency aspect 3), MP4 (MovingPictureExpertsGroupAudioLayerIV, dynamic image expert compression standard audio frequency aspect 4) player, pocket computer on knee and desk-top computer etc.
Server 105 can be to provide the server of various service, such as, the input method class on terminal device 101,102,103 is applied to the server provided support.Server can process the Word library updating request received, and the candidate result newly increased is fed back to terminal device, to upgrade the dictionary of terminal device.
Should be appreciated that, the number of the terminal device in Fig. 1, network and server is only schematic.According to realizing needs, the terminal device of arbitrary number, network and server can be had.
Please refer to Fig. 2, it illustrates the flow process 200 of an embodiment of the data inputting method according to the application.It should be noted that, the data inputting method that the embodiment of the present application provides generally is performed by the terminal device 101,102,103 in Fig. 1, and correspondingly, message input device is generally positioned in terminal device 101,102,103.The method comprises the following steps:
Step 201, receives the phonetic of user's input.
In the present embodiment, the data inputting method electronic equipment (terminal device 101,102,103 such as shown in Fig. 1) run thereon can receive the phonetic of user's input by the input media such as keyboard, touch-screen.The phonetic of user's input is associated with the information to be input to the information input area applied.Such as, when needing input characters or word in the information input area applied, can first position a cursor in the input area of application, then, receiving the phonetic of user's input.In the present embodiment, the information input area of application can include but not limited to: search class apply provide input frame, document information input area, instant messaging application window in information input area.
Step 202, obtains be associated with phonetic, the candidate result on position of appearing to be presented.
In the present embodiment, after the phonetic receiving user's input, that be associated with phonetic, to be presented candidate result on position of appearing can be obtained from dictionary.In the present embodiment, the candidate result of predetermined number can be presented each time on screen, such as, present predetermined number candidate result successively with order from left to right each time, the switching of the candidate result presented can be carried out by the direction key on keyboard.Position of appearing may be used for representing that candidate result is being current tandem, such as, when presenting the candidate result of predetermined number successively with order from left to right, the closer to left end, then position of appearing is more forward, the corresponding position of appearing of the candidate result that each presents.
In the present embodiment, candidate result comprises one of following: the candidate character that the fuzzy syllable of phonetic is corresponding, the candidate's word be made up of candidate character.Such as, when the phonetic of user's input is single phonetic, then candidate result can comprise candidate character corresponding to the fuzzy syllable of the phonetic of input, when the phonetic of user's input is multiple phonetic, then candidate result can comprise the candidate's word be made up of the word that the fuzzy syllable of the phonetic inputted is corresponding.
First the effect of fuzzy syllable is described: the phonetic of user's input comprises initial consonant and simple or compound vowel of a Chinese syllable, the difference that the pronunciation due to the user of different regions is accustomed to, and there will be the situation comprising fuzzy phoneme in the phonetic of input below.Fuzzy phoneme comprises consonant fuzzy sound and vowel fuzzy sound.Such as, c and ch be consonant fuzzy sound each other, an and ang be vowel fuzzy sound each other.The phonetic obtained after the initial consonant of correct phonetic or simple or compound vowel of a Chinese syllable are replaced with fuzzy phoneme can be referred to as fuzzy syllable.For user's input characters " king ", correct phonetic is " wang ", and fuzzy syllable is " wan ".
In the present embodiment, the candidate result that fuzzy syllable is corresponding can be referred to as fuzzy phoneme result.For vowel fuzzy sound for an and ang, when the phonetic of user's input is " wan ", then candidate result can comprise the candidate character of phonetic " wan " and fuzzy syllable " wang " correspondence, such as, by " ten thousand ", " End ", " king ", " net ".Wherein, " ten thousand " and " End " are the candidate character that phonetic " wan " is corresponding, and " king " and " net " is candidate character corresponding to fuzzy syllable.
In some optional implementations of the present embodiment, acquisition is associated with phonetic, the candidate result on position of appearing to be presented comprises: determine the dictionary that position of appearing is corresponding, dictionary comprises: high weight dictionary, low weight dictionary, wherein, before being positioned at the position of appearing corresponding to low weight dictionary corresponding to the position of appearing of high weight dictionary; Candidate result is obtained from the dictionary determined.
In some optional implementations of the present embodiment, high weight dictionary comprises: user thesaurus, by word dictionary, presets low weight dictionary and comprises system dictionary.
In the present embodiment, high weight dictionary can include but not limited to: user thesaurus, by word dictionary, low weight dictionary can include but not limited to system dictionary.Can to obtain from high weight dictionary respectively or low weight dictionary obtains the candidate result be presented on each position of appearing.When determining the candidate result that each is presented on position of appearing, a dictionary the highest relative to current position of appearing weight can be selected to obtain and to be presented on candidate result corresponding to this position of appearing, also can be referred to as out the word of this position of appearing.Such as, the position of appearing on head screen is namely when presenting candidate result, and the position of appearing corresponding to the candidate result first presented, can obtain the candidate result be presented on this position of appearing from high weight dictionary (such as user thesaurus).At position of appearing comparatively rearward, the candidate result be presented on this position of appearing can be obtained from low weight dictionary (such as system dictionary).In the present embodiment, when going out to be presented on the word on position of appearing, can first obtain multiple candidate result, then, determining to be presented on the candidate result on corresponding position of appearing according to the weight of candidate result.
Step 203, based on the history input record of candidate character, determines whether candidate result to choose as the candidate result be presented on position of appearing for user.
In the present embodiment, history input record comprises: the number of times that fuzzy syllable is transfused in candidate result is by the input of the preset times as input results.In the present embodiment, history input record can be obtained in the following manner: the word and phonetic that input in user's input process each time can be recorded, then, can by once inputting, the timestamp that the time of the word of input, the phonetic of input and input is corresponding forms a history input record, once input corresponding history input record, thus the kill file including many history input records can be generated.
In the present embodiment, in order to reduce the length of kill file, can only record the phonetic with consonant fuzzy sound or vowel fuzzy sound, and for there is not the phonetic of fuzzy syllable, then not carry out record, such as word " ".In the present embodiment, can with single word for key assignments be retrieved in history input log file, obtain timestamp in record be recently input input these single records for 3 times.According to the phonetic that the users of record in many records input when inputting this single word each time, determine whether user grasps the right pronunciation of this word.
Please refer to Fig. 3, it illustrates and generate history input record exemplary process diagram.
The phonetic of the user's input received is " wangsi ", and the word that the word of upper screen and user choose from candidate's word is " Wang Si ".Then, can judge whether " wang " has fuzzy phoneme and whether " si " has fuzzy syllable respectively.Because " wang " possesses fuzzy syllable " wan ", " shi " possesses fuzzy syllable " si ", therefore, can be recorded in kill file.If fuzzy phoneme kill file has existed record [king wang], then only update time, stamp can generate new record, otherwise, add this record, and in record, add timestamp corresponding to current time.If file has existed record [four shi], then stab update time, otherwise, add this record, and in record, add timestamp corresponding to current time.
In some optional implementations of the present embodiment, candidate result comprises candidate character, and candidate character obtains from high weight dictionary; And input record based on the history of candidate character, determine whether candidate result to choose as the candidate result be presented on position of appearing for user to comprise: when the number of times that syllable fuzzy in candidate result is by the input of the preset times as input results is transfused to equals preset times, perform the first filter operation, the first filter operation comprises: not using candidate character as the candidate result be presented on position of appearing.
In some optional implementations of the present embodiment, after execution first filter operation, also comprise: obtain candidate character from low weight dictionary; Candidate character is chosen as the candidate result be presented on position of appearing corresponding to low weight dictionary for user.
The following describes in the present embodiment from high power in dictionary go out word time, the process that namely first filter operation filter is performed to the fuzzy phoneme result in high weight dictionary: with high weight dictionary for user thesaurus, low weight dictionary is system dictionary is example, suppose that the phonetic that user inputs is " wan ", fuzzy phoneme result comprises " king ", 3 timestamp continuous print records in kill file are [king wang], namely indicating user is when continuous three inputs " king ", correct phonetic " wang " that all input.When determining to be presented on the candidate result on the position of appearing (first place on such as first screen) on first screen, the weight of user thesaurus is higher than system dictionary, now, the word of this position of appearing can be gone out by user thesaurus, namely obtain from user thesaurus the candidate result be presented on this position of appearing.First can obtain all candidate result be associated with the phonetic " wan " of input in user thesaurus, in candidate result, comprise " king " this fuzzy phoneme result.Now, the first filter operation can be performed to fuzzy phoneme result " king ", namely not using the candidate result of this fuzzy phoneme result obtained from user thesaurus as the position of appearing be presented on first screen, and then guarantee on the position of appearing that this fuzzy phoneme result " king " there will not be on first screen.Meanwhile, in other candidate result that can get from user thesaurus, according to the weight of candidate result, select the candidate result of the position of appearing be presented on first screen.
In the present embodiment, determining to be presented on the candidate result on position of appearing comparatively rearward, fuzzy phoneme result " king " is in low weight dictionary and system dictionary, still can obtain this fuzzy phoneme result from low weight dictionary, and this fuzzy phoneme result is chosen for user as the candidate result be presented on this position of appearing.In other words, fuzzy phoneme result still can be gone out by system dictionary, and just corresponding position of appearing is position of appearing comparatively rearward, thus is equivalent to the weight reducing fuzzy phoneme result.
Please refer to Fig. 4, it illustrates an effect schematic diagram after fuzzy phoneme result is filtered.
In the diagram, the phonetic inputted when the phonetic " WAN " of current input, the fuzzy phoneme result (such as " king ", " net ") of nearest " WAN " correspondence inputted for three times and input fuzzy phoneme result is shown.For the fuzzy phoneme result " king " of continuous three inputs of user, user all have input correct phonetic " WANG " in the input of continuous three times, when going out word by high weight dictionary and comprising fuzzy phoneme result " king " in high weight dictionary, then can perform the first filter operation to " king ", namely, when going out word by high weight dictionary, fuzzy phoneme result " king " this candidate character will can not be got as the candidate character be presented on corresponding position of appearing from high weight dictionary.And for continuous other fuzzy phoneme results inputted for three times of user, such as " forget ", due in continuous three inputs, fuzzy syllable " WAN " is have input in wherein once inputting, therefore, word is being gone out by high weight dictionary, when " forgetting " this fuzzy phoneme result is in high weight dictionary, still can using this fuzzy phoneme result as the candidate result be presented on corresponding position of appearing.
Please refer to Fig. 5, it illustrates the exemplary conceptual diagram that fuzzy phoneme result is filtered.
The phonetic of user's input is " WANG ", according to position of appearing order from front to back, can determine candidate result corresponding on each position of appearing respectively.At comparatively forward position of appearing, word can be gone out by high weight dictionary, namely obtain the candidate result being presented on this position of appearing from high weight dictionary.All words that correct phonetic is " WANG " and right pronunciation can be comprised in candidate result be " WAN " and be not repeatedly the word of " WAN " recently entirely in input.And be " WAN " to right pronunciation and repeatedly input the word being " WAN " recently to filter, namely the first filter operation is performed, not using this word as the candidate result be presented on this position of appearing, also can be referred to as not enter candidate, thus be equivalent to reduce right pronunciation for " WAN " and recently repeatedly input be the weight of this fuzzy phoneme result of word of " WAN ".At position of appearing comparatively rearward, can be undertaken word by low weight dictionary, candidate result then can comprise the word of all " WANG " and " WAN ", the fuzzy phoneme result be filtered when high weight dictionary goes out word before the candidate result be presented on corresponding position of appearing obtained from low weight dictionary then may comprise.
In some optional implementations of the present embodiment, candidate result comprises candidate's word; And input record based on the history of candidate character, the position of appearing of adjustment candidate result comprises: when any one candidate character in candidate's word be performed the first filter operation and candidate's word when presetting in high weight dictionary, perform the second filter operation, the second filter operation comprises: do not obtain candidate's word from presetting high weight dictionary.
In some optional implementations of the present embodiment, after execution second filter operation, also comprising: when candidate's word is when presetting in low weight dictionary, obtaining candidate's word from presetting low weight dictionary.
In the present embodiment, whether can be performed the first filter operation based on the candidate character in candidate's word, determine whether that the word to namely candidate's word is made up of the candidate character as fuzzy phoneme result carried out the second filter operation.Whether the second filter operation, can be by for when going out word by high weight dictionary.
When the candidate character of two in candidate's word is fuzzy phoneme result, only when two candidate characters were not all performed the first filter operation, just when high weight dictionary goes out word, may will obtain this candidate's word as the candidate result be presented on corresponding position of appearing from high weight dictionary.When in candidate's word, any one candidate character was performed the first filter operation, then the second filter operation is performed to this candidate's word, namely when high weight dictionary goes out word, can not using this candidate's word of getting from high weight dictionary as the candidate result be presented on corresponding position of appearing.
Please refer to Fig. 6, it illustrates an exemplary conceptual diagram of the candidate result determining to present.
When determining to present the candidate result on each position of appearing, when namely obtaining from high weight dictionary or low weight dictionary the candidate result be presented on position of appearing, according to position of appearing order from front to back, candidate result corresponding on each position of appearing can be determined respectively.In comparatively forward position, word can be gone out by high weight dictionary and namely obtain the candidate result being presented on this position of appearing from high weight dictionary, such as, obtain candidate result from user thesaurus.In comparatively rearward position, word can be gone out from low weight dictionary, such as, go out word from system dictionary.When high weight dictionary goes out word, if in the several times input of input fuzzy phoneme result, all have input correct phonetic, then can filter this fuzzy phoneme result, thus be equivalent to the weight reducing fuzzy phoneme result.
The following describes the data inputting method difference with the prior art in the present embodiment:
In the prior art, on comparatively forward position of appearing, such as, position of appearing on first screen, when going out word by high weight dictionary, even if user can distinguish correct phonetic and fuzzy syllable, still may obtain the candidate result of fuzzy phoneme result as the position of appearing be presented on first screen from high weight dictionary, thus cause on comparatively forward position of appearing, occur a large amount of fuzzy phoneme results, interference is caused to the input of user, and then reduces the input efficiency of user.
And in the present embodiment, on the forward position of appearing presenting candidate result, such as, position of appearing on first screen, when being undertaken word by high weight dictionary, if in the several times input of input fuzzy phoneme result, all have input correct phonetic, then this fuzzy phoneme result is filtered, namely not using the candidate result of the fuzzy phoneme result obtained from high weight dictionary as the position of appearing be presented on first screen, be equivalent to the weight reducing fuzzy phoneme result, in other words, for the fuzzy phoneme result that non-user needs, power process is fallen.Thus guarantee that this fuzzy phoneme result there will not be on comparatively forward position of appearing, reduce the interference that user is selected, promote the input efficiency of user.Meanwhile, for the fuzzy phoneme result be filtered, still can obtain this fuzzy phoneme result as the candidate result presented from low weight dictionary, be only that position of appearing is relative rearward.
With further reference to Fig. 7, as the realization to method shown in above-mentioned each figure, this application provides an a kind of embodiment of message input device, this device embodiment is corresponding with the embodiment of the method shown in Fig. 2, and this device specifically can be applied in various electronic equipment.
As shown in Figure 7, the message input device 700 of the present embodiment comprises: receiving element 701, acquiring unit 702, determining unit 703.Wherein, receiving element 701 is configured for the phonetic receiving user's input; Acquiring unit 702 is configured for and obtains be associated with phonetic, the candidate result on position of appearing to be presented, and candidate result comprises one of following: the candidate character that the fuzzy syllable of phonetic is corresponding, the candidate's word be made up of candidate character; Determining unit 703 is configured for the history input record based on candidate character, candidate result is determined whether to choose as the candidate result be presented on position of appearing for user, wherein, history input record comprises: the number of times that fuzzy syllable is transfused in candidate result is by the input of the preset times as input results.
In the present embodiment, receiving element 701 can receive the phonetic of user's input, such as, when needing input characters or word in the information input area applied, can first position a cursor in the input area of application, then, receives the phonetic of user's input.
In the present embodiment, after the phonetic being received user's input by receiving element 701, that be associated with phonetic, to be presented candidate result on position of appearing can be obtained from dictionary by acquiring unit 702.On screen, the candidate result of predetermined number can be presented each time, such as, present predetermined number candidate result successively with order from left to right each time, the switching of the candidate result presented can be carried out by the direction key on keyboard.Position of appearing may be used for representing that candidate result is being current tandem
In the present embodiment, determining unit 703 can, based on the history input record of candidate character, determine whether candidate result to choose as the candidate result be presented on position of appearing for user.History input record can be obtained in the following manner: the word and phonetic that input in user's input process each time can be recorded, then, can by once input, the timestamp that the time of the word of input, the phonetic of input and input is corresponding forms a history input record.
In some optional implementations of the present embodiment, acquiring unit 702 comprises: dictionary determination subelement (not shown), be configured for the dictionary determining that position of appearing is corresponding, dictionary comprises: high weight dictionary, low weight dictionary, wherein, before being positioned at the position of appearing corresponding to low weight dictionary corresponding to the position of appearing of high weight dictionary; Candidate result obtains subelement (not shown), is configured for and obtains candidate result from the dictionary determined.
In some optional implementations of the present embodiment, high weight dictionary comprises: user thesaurus, by word dictionary, low weight dictionary comprises: system dictionary.
In some optional implementations of the present embodiment, determining unit 703 comprises: first filters subelement (not shown), be configured for when candidate result comprises candidate character, candidate character obtains from high weight dictionary, when the number of times that syllable fuzzy in candidate result is by the input of the preset times as input results is transfused to equals preset times, perform the first filter operation, the first filter operation comprises: not using candidate character as the candidate result be presented on position of appearing.
In some optional implementations of the present embodiment, device 700 also comprises: candidate character acquiring unit (not shown), is configured for and obtains candidate character from low weight dictionary; Candidate character processing unit (not shown), is configured for and is chosen for user as the candidate result be presented on position of appearing corresponding to low weight dictionary by candidate character.
In some optional implementations of the present embodiment, determining unit 703 comprises: second filters subelement (not shown), be configured for when candidate result comprises candidate's word, candidate's word obtains from high weight dictionary, when any one candidate character in candidate's word was performed the first filter operation, perform the second filter operation, the second filter operation comprises: not using candidate's word as the candidate result be presented on position of appearing.
In some optional implementations of the present embodiment, device 700 also comprises: candidate's word acquiring unit (not shown), is configured for after execution second filter operation, obtains candidate's word from low weight dictionary; Candidate's word processing unit (not shown), is configured for and is chosen for user as the candidate result be presented on position of appearing corresponding to low weight dictionary by candidate's word.
Fig. 8 shows the structural representation of the computer system be suitable for for the terminal device or server realizing the embodiment of the present application.
As shown in Figure 8, computer system 800 comprises CPU (central processing unit) (CPU) 801, and it or can be loaded into the program random access storage device (RAM) 803 from storage area 808 and perform various suitable action and process according to the program be stored in ROM (read-only memory) (ROM) 802.In RAM803, also store system 800 and operate required various program and data.CPU801, ROM802 and RAM803 are connected with each other by bus 804.I/O (I/O) interface 805 is also connected to bus 804.
I/O interface 805 is connected to: the importation 806 comprising keyboard, mouse etc. with lower component; Comprise the output 807 of such as cathode-ray tube (CRT) (CRT), liquid crystal display (LCD) etc. and loudspeaker etc.; Comprise the storage area 808 of hard disk etc.; And comprise the communications portion 809 of network interface unit of such as LAN card, modulator-demodular unit etc.Communications portion 809 is via the network executive communication process of such as the Internet.Driver 810 is also connected to I/O interface 805 as required.Detachable media 811, such as disk, CD, magneto-optic disk, semiconductor memory etc., be arranged on driver 810 as required, so that the computer program read from it is mounted into storage area 808 as required.
Especially, according to embodiment of the present disclosure, the process that reference flow sheet describes above may be implemented as computer software programs.Such as, embodiment of the present disclosure comprises a kind of computer program, and it comprises the computer program visibly comprised on a machine-readable medium, and described computer program comprises the program code for the method shown in flowchart.In such embodiments, this computer program can be downloaded and installed from network by communications portion 809, and/or is mounted from detachable media 811.
Process flow diagram in accompanying drawing and block diagram, illustrate according to the architectural framework in the cards of the system of the various embodiment of the application, method and computer program product, function and operation.In this, each square frame in process flow diagram or block diagram can represent a part for module, program segment or a code, and a part for described module, program segment or code comprises one or more executable instruction for realizing the logic function specified.Also it should be noted that at some as in the realization of replacing, the function marked in square frame also can be different from occurring in sequence of marking in accompanying drawing.Such as, in fact the square frame that two adjoining lands represent can perform substantially concurrently, and they also can perform by contrary order sometimes, and this determines according to involved function.Also it should be noted that, the combination of the square frame in each square frame in block diagram and/or process flow diagram and block diagram and/or process flow diagram, can realize by the special hardware based system of the function put rules into practice or operation, or can realize with the combination of specialized hardware and computer instruction.
As another aspect, present invention also provides a kind of non-volatile computer storage medium, this non-volatile computer storage medium can be the non-volatile computer storage medium comprised in device described in above-described embodiment; Also can be individualism, be unkitted the non-volatile computer storage medium allocated in terminal.Above-mentioned non-volatile computer storage medium stores one or more program, when one or more program described is performed by an equipment, makes described equipment: the phonetic receiving user's input; Obtain candidate result that is to be presented, that be associated with described phonetic, described candidate result comprises one of following: the candidate character that the fuzzy syllable of described phonetic is corresponding, the candidate's word be made up of described candidate character, wherein, a described candidate result corresponding position of appearing in advance; Based on the history input record of described candidate character, adjust the position of appearing of described candidate result, and position of appearing after the adjustment presents candidate result choose for user, wherein, described history input record comprises: the number of times be transfused to by fuzzy syllable described in the input of the preset times as input results in described candidate result.
More than describe and be only the preferred embodiment of the application and the explanation to institute's application technology principle.Those skilled in the art are to be understood that, invention scope involved in the application, be not limited to the technical scheme of the particular combination of above-mentioned technical characteristic, also should be encompassed in when not departing from described inventive concept, other technical scheme of being carried out combination in any by above-mentioned technical characteristic or its equivalent feature and being formed simultaneously.The technical characteristic that such as, disclosed in above-mentioned feature and the application (but being not limited to) has similar functions is replaced mutually and the technical scheme formed.

Claims (14)

1. a data inputting method, is characterized in that, described method comprises:
Receive the phonetic of user's input;
Obtain be associated with described phonetic, the candidate result on position of appearing to be presented, described candidate result comprises one of following: the candidate character that the fuzzy syllable of described phonetic is corresponding, the candidate's word be made up of described candidate character;
Based on the history input record of described candidate character, described candidate result is determined whether to choose as the candidate result be presented on described position of appearing for user, wherein, described history input record comprises: the number of times be transfused to by fuzzy syllable described in the input of the preset times as input results in described candidate result.
2. method according to claim 1, is characterized in that, acquisition is associated with described phonetic, the candidate result on position of appearing to be presented comprises:
Determine the dictionary that described position of appearing is corresponding, described dictionary comprises: high weight dictionary, low weight dictionary, wherein, before being positioned at the position of appearing corresponding to low weight dictionary corresponding to the position of appearing of high weight dictionary;
Described candidate result is obtained from the dictionary determined.
3. method according to claim 2, is characterized in that, described high weight dictionary comprises: user thesaurus, by word dictionary, described low weight dictionary comprises system dictionary.
4. method according to claim 3, is characterized in that, described candidate result comprises described candidate character, and described candidate character obtains from high weight dictionary; And
Based on the history input record of described candidate character, determine whether described candidate result to choose as the candidate result be presented on described position of appearing for user to comprise:
When being equaled described preset times in described candidate result by the number of times that fuzzy syllable described in the input of the preset times as input results is transfused to, perform the first filter operation, described first filter operation comprises: not using described candidate character as the candidate result be presented on described position of appearing.
5. method according to claim 4, is characterized in that, after execution first filter operation, described method also comprises:
Described candidate character is obtained from low weight dictionary;
Described candidate character is chosen as the candidate result be presented on position of appearing corresponding to low weight dictionary for user.
6. method according to claim 3, is characterized in that, described candidate result comprises described candidate's word, and described candidate's word obtains from high weight dictionary; And
Based on the history input record of described candidate character, determine whether described candidate result to choose as the candidate result be presented on described position of appearing for user to comprise:
When any one candidate character in described candidate's word was performed described first filter operation, perform the second filter operation, described second filter operation comprises: not using described candidate's word as the described candidate result be presented on described position of appearing.
7. method according to claim 6, is characterized in that, after execution second filter operation, described method also comprises:
Described candidate's word is obtained from low weight dictionary;
Described candidate's word is chosen as the candidate result be presented on position of appearing corresponding to low weight dictionary for user.
8. a message input device, is characterized in that, described device comprises:
Receiving element, is configured for the phonetic receiving user's input;
Acquiring unit, be configured for and obtain be associated with described phonetic, the candidate result on position of appearing to be presented, described candidate result comprises one of following: the candidate character that the fuzzy syllable of described phonetic is corresponding, the candidate's word be made up of described candidate character;
Determining unit, be configured for the history input record based on described candidate character, described candidate result is determined whether to choose as the candidate result be presented on described position of appearing for user, wherein, described history input record comprises: the number of times be transfused to by fuzzy syllable described in the input of the preset times as input results in described candidate result.
9. device according to claim 8, is characterized in that, described acquiring unit comprises:
Dictionary determination subelement, be configured for the dictionary determining that described position of appearing is corresponding, described dictionary comprises: high weight dictionary, low weight dictionary, wherein, before being positioned at the position of appearing corresponding to low weight dictionary corresponding to the position of appearing of high weight dictionary;
Candidate result obtains subelement, is configured for and obtains described candidate result from the dictionary determined.
10. device according to claim 9, is characterized in that, described high weight dictionary comprises: user thesaurus, by word dictionary, described low weight dictionary comprises system dictionary.
11. devices according to claim 10, is characterized in that, described determining unit comprises:
First filters subelement, be configured for when described candidate result comprises described candidate character, candidate character obtains from high weight dictionary, when described candidate result is equaled described preset times by the number of times that fuzzy syllable described in the input of the preset times as input results is transfused to, perform the first filter operation, described first filter operation comprises: not using described candidate character as the candidate result be presented on described position of appearing.
12. devices according to claim 11, is characterized in that, described device also comprises:
Candidate character acquiring unit, is configured for and obtains described candidate character from low weight dictionary;
Candidate character processing unit, is configured for and is chosen for user as the candidate result be presented on position of appearing corresponding to low weight dictionary by described candidate character.
13. devices according to claim 10, is characterized in that, described determining unit comprises:
Second filters subelement, be configured for when candidate result comprises described candidate's word, described candidate's word obtains from high weight dictionary, when any one candidate character in described candidate's word was performed described first filter operation, perform the second filter operation, described second filter operation comprises: not using described candidate's word as the described candidate result be presented on described position of appearing.
14. devices according to claim 13, is characterized in that, described device also comprises:
Candidate's word acquiring unit, is configured for after execution second filter operation, obtains described candidate's word from low weight dictionary;
Candidate's word processing unit, is configured for and is chosen for user as the candidate result be presented on position of appearing corresponding to low weight dictionary by described candidate's word.
CN201610057308.9A 2016-01-27 2016-01-27 Data inputting method and device Active CN105549760B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610057308.9A CN105549760B (en) 2016-01-27 2016-01-27 Data inputting method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610057308.9A CN105549760B (en) 2016-01-27 2016-01-27 Data inputting method and device

Publications (2)

Publication Number Publication Date
CN105549760A true CN105549760A (en) 2016-05-04
CN105549760B CN105549760B (en) 2018-07-20

Family

ID=55828981

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610057308.9A Active CN105549760B (en) 2016-01-27 2016-01-27 Data inputting method and device

Country Status (1)

Country Link
CN (1) CN105549760B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105929979A (en) * 2016-06-29 2016-09-07 百度在线网络技术(北京)有限公司 Long-sentence input method and device
CN106339105A (en) * 2016-08-25 2017-01-18 百度在线网络技术(北京)有限公司 Method and device for identifying phonetic information
CN107102748A (en) * 2017-05-22 2017-08-29 北京百度网讯科技有限公司 Method and input method for inputting words
CN109144286A (en) * 2017-06-27 2019-01-04 北京搜狗科技发展有限公司 A kind of input method and device
CN112328096A (en) * 2020-11-13 2021-02-05 维沃移动通信有限公司 Candidate word display method and device and electronic equipment
CN114461130A (en) * 2021-12-24 2022-05-10 科大讯飞股份有限公司 Character input method, device and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101241514A (en) * 2008-03-21 2008-08-13 北京搜狗科技发展有限公司 Method for creating error-correcting database, automatic error correcting method and system
CN101276245A (en) * 2008-04-16 2008-10-01 北京搜狗科技发展有限公司 Reminding method and system for coding to correct error in input process
CN101441527A (en) * 2008-12-24 2009-05-27 腾讯科技(深圳)有限公司 Method and apparatus for prompting right pronunciation in phonetic input
CN101876853A (en) * 2009-04-29 2010-11-03 北京搜狗科技发展有限公司 Pinyin input method and device
CN102722483A (en) * 2011-03-29 2012-10-10 百度在线网络技术(北京)有限公司 Method, apparatus and equipment for determining candidate-item sequence of input method
CN103616959A (en) * 2013-12-03 2014-03-05 广东欧珀移动通信有限公司 Method for switching fuzzy tones by input method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101241514A (en) * 2008-03-21 2008-08-13 北京搜狗科技发展有限公司 Method for creating error-correcting database, automatic error correcting method and system
CN101276245A (en) * 2008-04-16 2008-10-01 北京搜狗科技发展有限公司 Reminding method and system for coding to correct error in input process
CN101441527A (en) * 2008-12-24 2009-05-27 腾讯科技(深圳)有限公司 Method and apparatus for prompting right pronunciation in phonetic input
CN101876853A (en) * 2009-04-29 2010-11-03 北京搜狗科技发展有限公司 Pinyin input method and device
CN102722483A (en) * 2011-03-29 2012-10-10 百度在线网络技术(北京)有限公司 Method, apparatus and equipment for determining candidate-item sequence of input method
CN103616959A (en) * 2013-12-03 2014-03-05 广东欧珀移动通信有限公司 Method for switching fuzzy tones by input method

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105929979A (en) * 2016-06-29 2016-09-07 百度在线网络技术(北京)有限公司 Long-sentence input method and device
CN105929979B (en) * 2016-06-29 2018-09-11 百度在线网络技术(北京)有限公司 Long sentence input method and device
CN106339105A (en) * 2016-08-25 2017-01-18 百度在线网络技术(北京)有限公司 Method and device for identifying phonetic information
CN107102748A (en) * 2017-05-22 2017-08-29 北京百度网讯科技有限公司 Method and input method for inputting words
CN109144286A (en) * 2017-06-27 2019-01-04 北京搜狗科技发展有限公司 A kind of input method and device
CN112328096A (en) * 2020-11-13 2021-02-05 维沃移动通信有限公司 Candidate word display method and device and electronic equipment
WO2022100622A1 (en) * 2020-11-13 2022-05-19 维沃移动通信有限公司 Candidate word display method and apparatus, and electronic device
CN114461130A (en) * 2021-12-24 2022-05-10 科大讯飞股份有限公司 Character input method, device and storage medium

Also Published As

Publication number Publication date
CN105549760B (en) 2018-07-20

Similar Documents

Publication Publication Date Title
CN105549760A (en) Information input method and device
US8812302B2 (en) Techniques for inserting diacritical marks to text input via a user device
US10346478B2 (en) Extensible search term suggestion engine
US7764837B2 (en) System, method, and apparatus for continuous character recognition
US20040260536A1 (en) Method and apparatus for recognizing language input mode and method and apparatus for automatically switching language input modes using the same
DE102013017196A1 (en) Error correction in strings containing a word delimiter
CN103842988A (en) Network-based custom dictionary, auto-correction and text entry preferences
US10402474B2 (en) Keyboard input corresponding to multiple languages
CN106774975A (en) Input method and device
KR102087807B1 (en) Character inputting method and apparatus
KR20170062483A (en) Interactive text preview
US20210390133A1 (en) Method, apparatus and electronic device for annotating information of structured document
CN104598507A (en) Information searching method and device
JP2010520532A (en) Input stroke count
CN106873798B (en) Method and apparatus for outputting information
US20140331160A1 (en) Apparatus and method for generating message in portable terminal
US8847962B2 (en) Exception processing of character entry sequences
CN105739717A (en) Information input method and device
CN101727204A (en) Character input system on communication terminal, character input method on communication terminal and communication terminal
EP3425510A1 (en) Automated testing method for application program user interface, electronic device, system, and storage medium
US20150199332A1 (en) Browsing history language model for input method editor
CN109766539B (en) Standard word stock word segmentation method, device, equipment and computer readable storage medium
CN103472991A (en) Method, equipment and system for adding contacts
CN114237560A (en) Data storage method, storage device, electronic equipment and storage medium
WO2010007908A1 (en) Information output apparatus, information output method, and recording medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant