CN105549760B - Data inputting method and device - Google Patents

Data inputting method and device Download PDF

Info

Publication number
CN105549760B
CN105549760B CN201610057308.9A CN201610057308A CN105549760B CN 105549760 B CN105549760 B CN 105549760B CN 201610057308 A CN201610057308 A CN 201610057308A CN 105549760 B CN105549760 B CN 105549760B
Authority
CN
China
Prior art keywords
candidate
result
word
appearing
dictionary
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610057308.9A
Other languages
Chinese (zh)
Other versions
CN105549760A (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

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Document Processing Apparatus (AREA)
  • Machine Translation (AREA)

Abstract

This application discloses data inputting methods and device.One specific implementation mode of this method includes:Receive phonetic input by user;The candidate result associated with phonetic, to be presented on position of appearing is obtained, candidate result includes following one:The corresponding candidate character of fuzzy syllable of phonetic, the candidate word being made of candidate character;History input record based on candidate character, it is determined whether using candidate result as the candidate result being presented on position of appearing so that user chooses.It realizes based on during user repeatedly inputs fuzzy phoneme result, inputs the number for obscuring syllable, fuzzy phoneme result when going out word to high weight dictionary is filtered, and then improves the hit rate of the candidate result to being showed on first screen.

Description

Data inputting method and device
Technical field
This application involves computer realms, and in particular to input method field more particularly to data inputting method and device.
Background technology
When user carries out information input using input method, input method can provide a user and phonetic pair input by user The fuzzy phoneme result answered as candidate result so that user chooses so that correct phonetic and fuzzy can not be distinguished correctly The user of syllable can select the candidate result for it is expected input from above-mentioned candidate result.In more forward position of appearing, Such as first screen, the candidate result being presented on the position of appearing is obtained usually from high weight dictionary.
However, when providing a user candidate result using aforesaid way, can correctly be distinguished correctly in user In the case of phonetic and fuzzy syllable, the fuzzy phoneme result obtained from high weight dictionary still can be corresponding as being presented on Candidate result on position of appearing causes a large amount of fuzzy phoneme results to occupy more forward position of appearing, such as first screen, to right The input of user interferes, and reduces the input efficiency of user.
Invention content
This application provides data inputting methods and device, are asked for solving technology existing for above-mentioned background technology part Topic.
In a first aspect, this application provides data inputting method, this method includes:Receive phonetic input by user;It obtains Candidate result associated with phonetic, to be presented on position of appearing, candidate result include following one:The fuzzy phoneme of phonetic The candidate word for saving corresponding candidate character, being made of candidate character;History input record based on candidate character, it is determined whether Using candidate result as the candidate result being presented on position of appearing so that user chooses, wherein history input record includes: Candidate result is by the number that fuzzy syllable is entered in the input as the preset times of input results.
Second aspect, this application provides message input device, which includes:Receiving unit is configured to receive and use The phonetic of family input;Acquiring unit is configured to obtain the candidate knot associated with phonetic, to be presented on position of appearing Fruit, candidate result include following one:Phonetic fuzzy syllable corresponding candidate character, the candidate word that is made of candidate character Language;Determination unit is configured to the history input record based on candidate character, it is determined whether using candidate result as being presented on Candidate result on existing position is chosen for user, wherein history input record includes:In candidate result by as input results Preset times input in obscure the number that is entered of syllable.
Data inputting method and device provided by the present application, by receiving phonetic input by user;It obtains related to phonetic Connection, the candidate result to be presented on position of appearing, candidate result includes following one:The corresponding time of fuzzy syllable of phonetic Selection word, the candidate word being made of candidate character;History input record based on candidate character, it is determined whether by candidate result As the candidate result being presented on position of appearing so that user chooses.It realizes and is based on repeatedly inputting fuzzy phoneme result in user During, the number for obscuring syllable is inputted, fuzzy phoneme result when going out word to high weight dictionary is filtered, and then raising pair The hit rate of the candidate result showed on head screens.
Description of the drawings
By reading a detailed description of non-restrictive embodiments in the light of the attached drawings below, the application's is other Feature, objects and advantages will become more apparent upon:
Fig. 1 is that this application can be applied to exemplary system architecture figures therein;
Fig. 2 shows the flow charts according to one embodiment of the data inputting method of the application;
Fig. 3, which is shown, generates history one exemplary process diagram of input record;
Fig. 4 shows an effect diagram after being filtered to fuzzy phoneme result;
Fig. 5 shows an exemplary conceptual diagram being filtered to fuzzy phoneme result;
Fig. 6 shows an exemplary conceptual diagram for determining the candidate result showed;
Fig. 7 shows the structural schematic diagram of one embodiment of the message input device according to the application;
Fig. 8 is adapted for the structural representation of the computer system for the terminal device or server of realizing the embodiment of the present application Figure.
Specific implementation mode
The application is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining related invention, rather than the restriction to the invention.It also should be noted that in order to Convenient for description, is illustrated only in attached drawing and invent relevant part with related.
It should be noted that in the absence of conflict, the features in the embodiments and the embodiments of the present application can phase Mutually combination.The application is described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
Fig. 1 shows the exemplary system of the embodiment of the data inputting method or message input device that can apply the application System framework 100.
As shown in Figure 1, system architecture 100 may include terminal device 101,102,103, network 104 and server 105. Network 104 between terminal device 101,102,103 and server 105 provide transmission link medium.Network 104 can be with Including various connection types, such as wired, wireless transmission link or fiber optic cables etc..
User can be interacted by network 104 with server 105 with using terminal equipment 101,102,103, to receive or send out Send message etc..Various communication applications, such as the application of input method class, browser can be installed on terminal device 101,102,103 Class application, searching class application, the application of instant messaging class etc..
Terminal device 101,102,103 can be the various electronic equipments for having display screen and supporting network communication, packet Include but be not limited to smart mobile phone, tablet computer, E-book reader, MP3 player (Moving Picture Experts Group Audio Layer III, dynamic image expert's compression standard audio level 3), MP4 (Moving Picture Experts Group Audio Layer IV, dynamic image expert's compression standard audio level 4) it is player, on knee portable Computer and desktop computer etc..
Server 105 can be to provide the server of various services, such as to the input on terminal device 101,102,103 The application of method class provides the server supported.Server can be handled the Word library updating request received, and will be newly increased Candidate result feed back to terminal device, to update the dictionary of terminal device.
It should be understood that the number of the terminal device, network and server in Fig. 1 is only schematical.According to realization need It wants, can have any number of terminal device, network and server.
Referring to FIG. 2, it illustrates the flows 200 according to one embodiment of the data inputting method of the application.It needs Illustrate, the data inputting method that the embodiment of the present application is provided generally is held by the terminal device 101,102,103 in Fig. 1 Row, correspondingly, message input device is generally positioned in terminal device 101,102,103.This approach includes the following steps:
Step 201, phonetic input by user is received.
In the present embodiment, electronic equipment (such as the terminal device shown in FIG. 1 of data inputting method operation thereon 101,102 the input units such as keyboard, touch screen can, 103) be passed through and receive phonetic input by user.Phonetic input by user with Information to be input to the information input area of application is associated.For example, when needing to input in the information input area of application It when word or word, can first position a cursor in the input area of application, then, receive phonetic input by user. In the present embodiment, the information input area of application can include but is not limited to:The letter of input frame, document that searching class application provides Cease the information input area in input area, the window that instant messaging is applied.
Step 202, the candidate result associated with phonetic, to be presented on position of appearing is obtained.
In the present embodiment, it after receiving phonetic input by user, can be obtained from dictionary associated with phonetic , the candidate result to be presented on position of appearing.In the present embodiment, predetermined number can be showed each time on the screen Candidate result can be by keyboard for example, predetermined number candidate result is presented successively with sequence from left to right each time The switching of candidate result that is showed of direction key.Before position of appearing can be used to indicate that candidate result when presenting Sequence afterwards, for example, when the candidate result of predetermined number being presented successively with sequence from left to right, closer to left end then position of appearing More forward, each candidate result showed corresponds to a position of appearing.
In the present embodiment, candidate result includes following one:The corresponding candidate character of fuzzy syllable of phonetic, by candidate The candidate word of word composition.For example, when phonetic input by user is single phonetic, then candidate result can include input The corresponding candidate character of fuzzy syllable of phonetic, when phonetic input by user is multiple phonetics, then candidate result can include The candidate word being made of the corresponding word of fuzzy syllable of the phonetic inputted.
Illustrate the effect for obscuring syllable first below:Phonetic input by user includes initial consonant and simple or compound vowel of a Chinese syllable, due to different regions User pronunciation custom difference, it may appear that in the phonetic of input include fuzzy phoneme the case where.Fuzzy phoneme includes consonant fuzzy Sound and vowel fuzzy sound.For example, c and ch consonant fuzzy sound each other, an and ang vowel fuzzy sound each other.By correct phonetic Initial consonant or simple or compound vowel of a Chinese syllable, which replace with the phonetic obtained after fuzzy phoneme, can be referred to as fuzzy syllable.Inputting word " king " with user is Example, correct phonetic are " wang ", and it is " wan " to obscure syllable.
In the present embodiment, fuzzy phoneme result can be referred to as by obscuring the corresponding candidate result of syllable.With vowel fuzzy sound For an and ang, when phonetic input by user is " wan ", then candidate result can include phonetic " wan " and fuzzy syllable " wang " corresponding candidate character, for example, by " ten thousand ", " End ", " king ", " net ".Wherein, " ten thousand " and " End " are that phonetic " wan " is right The candidate character answered, " king " and " net " are the corresponding candidate character of fuzzy syllable.
In some optional realization methods of the present embodiment, obtain associated with phonetic, to be presented in position of appearing On candidate result include:Determine that the corresponding dictionary of position of appearing, dictionary include:High weight dictionary, low weight dictionary, wherein It is positioned corresponding to before the position of appearing of low weight dictionary corresponding to the position of appearing of high weight dictionary;From the dictionary determined Obtain candidate result.
In some optional realization methods of the present embodiment, high weight dictionary includes:User thesaurus, by word dictionary, in advance If low weight dictionary includes system dictionary.
In the present embodiment, high weight dictionary can include but is not limited to:User thesaurus, by word dictionary, low weight dictionary It can include but is not limited to system dictionary.It can obtain respectively from high weight dictionary or the acquisition of low weight dictionary is presented on each and is in Candidate result on existing position.When determining that each is presented on the candidate result on position of appearing, can select one it is opposite It is presented on the corresponding candidate result of the position of appearing to obtain in the current highest dictionary of position of appearing weight, also referred to as Go out the word of the position of appearing.For example, the position of appearing on first screen is when candidate result is presented, the candidate knot showed first Position of appearing corresponding to fruit can obtain the time being presented on the position of appearing from high weight dictionary (such as user thesaurus) Select result.In position of appearing more rearward, it can be obtained from low weight dictionary (such as system dictionary) and be presented on the presentation Candidate result on position.In the present embodiment, when going out the word being presented on position of appearing, multiple candidates can be obtained first As a result, then, the candidate result being presented on corresponding position of appearing is determined according to the weight of candidate result.
Step 203, the history input record based on candidate character, it is determined whether using candidate result as being presented on Presence Bit The candidate result set is chosen for user.
In the present embodiment, history input record includes:In candidate result by the defeated of the preset times as input results The number that syllable is entered is obscured in entering.In the present embodiment, history input record can be obtained in the following manner:It can remember The word and phonetic that record inputs in user's input process each time, it is then possible to will be the word of input, defeated in primary input The time corresponding timestamp of the phonetic and input that enter constitutes a history input record, the primary corresponding history input of input Record, so as to generate the filtering file for including a plurality of history input record.
In the present embodiment, it in order to reduce the length of filtering file, can only record with consonant fuzzy sound or rhythm master mold The phonetic for pasting sound, and for there is no the phonetics of fuzzy syllable, then without record, such as word " ".In the present embodiment, It can be retrieved in history input record file using single word as key assignments, it is 3 times recently input to obtain timestamp in record Input the single records.The spelling inputted according to the user recorded in a plurality of record when inputting the single word each time Sound, determines whether user grasps the right pronunciation of the word.
Referring to FIG. 3, it illustrates generate one exemplary process diagram of history input record.
The phonetic input by user received is " wangsi ", the word that word, that is, user of upper screen chooses from candidate word Language is " Wang Si ".It is then possible to judge whether " wang " has fuzzy phoneme and " si " whether with fuzzy syllable respectively.Due to " wang " has fuzzy syllable " wan ", and " shi " has fuzzy syllable " si ", it is then possible to record in filtering file.If mould It pastes sound and filters the existing record of file【King wang】, then only renewal time stamp produces new record and otherwise adds the discipline Record, and the corresponding timestamp of current time is added in record.If the existing record of file【Four shi】, then renewal time stamp, no Then, the record is added, and adds the corresponding timestamp of current time in record.
In some optional realization methods of the present embodiment, candidate result includes candidate character, and candidate character is from Gao Quan It is obtained in weight dictionary;And the history input record based on candidate character, it is determined whether using candidate result as be presented on present Candidate result on position includes so that user chooses:When in candidate result by the input as the preset times of input results When the number that fuzzy syllable is entered is equal to preset times, the first filter operation is executed, the first filter operation includes:It will not be candidate Word is as the candidate result being presented on position of appearing.
In some optional realization methods of the present embodiment, after executing the first filter operation, further include:From low power Weight dictionary obtains candidate character;Using candidate character as the candidate result being presented on the corresponding position of appearing of low weight dictionary with It is chosen for user.
Illustrate in the present embodiment when dictionary goes out word in weighing from height, to execute the fuzzy phoneme result in high weight dictionary below First filter operation is the process being filtered:Using high weight dictionary as user thesaurus, low weight dictionary be system dictionary for, Assuming that phonetic input by user is " wan ", fuzzy phoneme result includes " king ", and 3 timestamps filtered in file continuously record It is【King wang】, that is, user is indicated when continuously inputting " king " three times, correct phonetic " wang " inputted.In determination When the candidate result being presented on the position of appearing on first screen (such as first place on first screen), the weight of user thesaurus is higher than system Dictionary is presented on from user thesaurus acquisition on the position of appearing at this point it is possible to go out the word of the position of appearing by user thesaurus Candidate result.Phonetic " wan " in user thesaurus with input associated all candidate results, candidate's knot can be obtained first It include " king " this fuzzy phoneme result in fruit.At this point it is possible to the first filter operation is executed to fuzzy phoneme result " king ", i.e., it will not be from Candidate result of the fuzzy phoneme result that user thesaurus obtains as the position of appearing being presented on first screen, and then ensure that this is fuzzy Sound result " king " is not on the position of appearing on first screen.Meanwhile other candidate's knots that can be got from user thesaurus In fruit, according to the weight of candidate result, the candidate result for the position of appearing being presented on first screen is selected.
In the present embodiment, the candidate result being presented on position of appearing more rearward, fuzzy phoneme result are being determined " king " still can obtain the fuzzy phoneme as a result, and by the mould in low weight dictionary, that is, system dictionary from low weight dictionary Sound result is pasted as the candidate result being presented on the position of appearing so that user chooses.In other words, fuzzy phoneme result is still Can be gone out by system dictionary, only corresponding position of appearing is position of appearing more rearward, to be equivalent to reduce it is fuzzy The weight of sound result.
Referring to FIG. 4, it illustrates an effect diagrams after being filtered to fuzzy phoneme result.
In fig. 4 it is shown that in the phonetic " WAN " currently inputted, " WAN " the corresponding fuzzy phoneme knot inputted three times recently The phonetic inputted when fruit (such as " king ", " net ") and input fuzzy phoneme result.The fuzzy phoneme knot continuously inputted three times with user For fruit " king ", user has input correct phonetic " WANG " in input continuously three times, when going out word by high weight dictionary And when in high weight dictionary including fuzzy phoneme result " king ", then the first filter operation can be executed to " king ", that is, pass through height When weight dictionary goes out word, the conduct of fuzzy phoneme result " king " this candidate character will not will be got from high weight dictionary and will be presented on Candidate character on corresponding position of appearing.And other fuzzy phonemes for continuously inputting three times for user are as a result, for example " forget ", by In in continuously inputting three times, wherein having input fuzzy syllable " WAN " in primary input, therefore, word is being gone out by high weight dictionary, It, still can be using the fuzzy phoneme result as being presented on corresponding presentation when " forgetting " this fuzzy phoneme result is in high weight dictionary Candidate result on position.
Referring to FIG. 5, it illustrates an exemplary conceptual diagrams being filtered to fuzzy phoneme result.
Phonetic input by user is " WANG ", can determine each respectively according to the sequence of position of appearing from front to back Corresponding candidate result on position of appearing.In more forward position of appearing, can word be gone out by high weight dictionary, i.e., from high weight Dictionary obtains the candidate result for being presented on the position of appearing.Can include all texts that correct phonetic is " WANG " in candidate result Word and right pronunciation are " WAN " and are not all the word of " WAN " in repeatedly inputting recently.And to right pronunciation be " WAN " and Repeatedly input is that the word of " WAN " is filtered recently, that is, executes the first filter operation, not using the word as being presented on this Candidate result on position of appearing, does not enter candidate also referred to as, and to be equivalent to, to reduce right pronunciation be " WAN " and most Nearly repeatedly input is the weight of this fuzzy phoneme result of the word of " WAN ".It, can be by low power in position of appearing more rearward Weight dictionary carries out out word, and candidate result can include then the word of all " WANG " and " WAN ", be in from what low weight dictionary obtained The candidate result on corresponding position of appearing is filtered before may including then when high weight dictionary goes out word fuzzy now Sound result.
In some optional realization methods of the present embodiment, candidate result includes candidate word;And based on candidate text The history input record of word, the position of appearing for adjusting candidate result include:When any one candidate character quilt in candidate word It executed the first filter operation and candidate word is when presetting in high weight dictionary, and executed the second filter operation, the second filtering Operation includes:Candidate word is not obtained from default high weight dictionary.
In some optional realization methods of the present embodiment, after executing the second filter operation, further include:Work as candidate Word obtains candidate word when presetting in low weight dictionary, from default low weight dictionary.
In the present embodiment, it whether can be performed the first filter operation based on the candidate character in candidate word, come Determine whether to carry out the second filter operation by the word formed as the candidate character of fuzzy phoneme result to candidate word.Second Filter operation is when going out word by high weight dictionary, if can be incited somebody to action.
When two candidate characters in candidate word are fuzzy phoneme as a result, not only being performed in two candidate characters When crossing the first filter operation, it is likely to, when high weight dictionary goes out word, candidate's word conduct will be obtained from high weight dictionary The candidate result being presented on corresponding position of appearing.When any one candidate character was performed the first filtering in candidate word When operation, then the second filter operation is executed to candidate's word, i.e., it, will not will be from high weight dictionary when high weight dictionary goes out word In candidate's word for getting as the candidate result being presented on corresponding position of appearing.
Referring to FIG. 6, it illustrates an exemplary conceptual diagrams for determining the candidate result showed.
In the candidate result on determining each position of appearing of presentation, i.e., obtained from high weight dictionary or low weight dictionary When the candidate result being presented on position of appearing, it can determine that each is in respectively according to the sequence of position of appearing from front to back Corresponding candidate result on existing position.In more forward position, can word be gone out by high weight dictionary and be obtained from high weight dictionary The candidate result for being presented on the position of appearing is taken, such as candidate result is obtained from user thesaurus.It, can be in more rearward position Go out word from low weight dictionary, for example, going out word from system dictionary.When high weight dictionary goes out word, if in input fuzzy phoneme result In inputting several times, correct phonetic is had input, then the fuzzy phoneme result can be filtered, be reduced to be equivalent to The weight of fuzzy phoneme result.
Illustrate the data inputting method difference with the prior art in the present embodiment below:
In the prior art, on more forward position of appearing, for example, the position of appearing on first screen, by high weight word When library goes out word, even if user can distinguish correct phonetic and fuzzy syllable, it may still be obtained from high weight dictionary fuzzy Candidate result of the sound result as the position of appearing being presented on first screen, occurs so as to cause on more forward position of appearing A large amount of fuzzy phoneme is as a result, the input to user interferes, and then reduces the input efficiency of user.
And in the present embodiment, on the forward position of appearing that candidate result is presented, such as the position of appearing on first screen, When carrying out out word by high weight dictionary, if in the input several times of input fuzzy phoneme result, correct phonetic is had input, then The fuzzy phoneme result is filtered, i.e., is not in using from the fuzzy phoneme result that high weight dictionary obtains as being presented on first screen The candidate result of existing position, is equivalent to the weight for reducing fuzzy phoneme result, in other words, the fuzzy phoneme knot needed for non-user Fruit gives the processing of drop power.So that it is guaranteed that the fuzzy phoneme result there will not be on more forward position of appearing, reduce to The interference of family selection, promotes the input efficiency of user.Meanwhile the fuzzy phoneme for being filtered is as a result, still can be from low weight Dictionary obtains the fuzzy phoneme result as the candidate result showed, be only position of appearing relatively rearward.
With further reference to Fig. 7, as the realization to method shown in above-mentioned each figure, this application provides a kind of information input dresses The one embodiment set, the device embodiment is corresponding with embodiment of the method shown in Fig. 2, which specifically can be applied to respectively In kind electronic equipment.
As shown in fig. 7, the message input device 700 of the present embodiment includes:Receiving unit 701, acquiring unit 702 determine Unit 703.Wherein, receiving unit 701 is configured to receive phonetic input by user;Acquiring unit 702 be configured to obtain with Phonetic is associated, the candidate result to be presented on position of appearing, and candidate result includes following one:The fuzzy syllable of phonetic Corresponding candidate character, the candidate word being made of candidate character;Determination unit 703 is configured to the history based on candidate character Input record, it is determined whether using candidate result as the candidate result being presented on position of appearing so that user chooses, wherein go through History input record includes:Time that syllable is entered is obscured in candidate result is by the input as the preset times of input results Number.
In the present embodiment, receiving unit 701 can receive phonetic input by user, for example, when needing the letter in application It when inputting word or word in breath input area, can first position a cursor in the input area of application, then, receive and use The phonetic of family input.
In the present embodiment, after receiving phonetic input by user by receiving unit 701, acquiring unit can be passed through 702 can be from the acquisition candidate result associated with phonetic, to be presented on position of appearing in dictionary.It can be every on the screen The primary candidate result for showing predetermined number, for example, predetermined number candidate is presented successively with sequence from left to right each time As a result, the switching for the candidate result that can be showed by the direction key on keyboard.Position of appearing can be used to indicate that Tandem of the candidate result when presenting
In the present embodiment, determination unit 703 can be based on the history input record of candidate character, it is determined whether will be candidate As a result as the candidate result being presented on position of appearing so that user chooses.History input note can be obtained in the following manner Record:The word and phonetic inputted in user's input process each time can be recorded, it is then possible to will be in primary input, input Word, the phonetic of input and the time corresponding timestamp of input constitute a history input record.
In some optional realization methods of the present embodiment, acquiring unit 702 includes:Dictionary determination subelement (is not shown Go out), it is configured to determine that the corresponding dictionary of position of appearing, dictionary include:High weight dictionary, low weight dictionary, wherein correspond to The position of appearing of high weight dictionary is positioned corresponding to before the position of appearing of low weight dictionary;Candidate result obtains subelement (not Show), it is configured to obtain candidate result from the dictionary determined.
In some optional realization methods of the present embodiment, high weight dictionary includes:User thesaurus, by word dictionary, it is low Weight dictionary includes:System dictionary.
In some optional realization methods of the present embodiment, determination unit 703 includes:First filtering subelement (does not show Go out), it is configured to when candidate result include candidate character, candidate character is obtained from high weight dictionary, when in candidate result quilt When being equal to preset times as the number that fuzzy syllable is entered in the input of the preset times of input results, the first filtering is executed Operation, the first filter operation include:Not using candidate character as the candidate result being presented on position of appearing.
In some optional realization methods of the present embodiment, device 700 further includes:Candidate character acquiring unit (is not shown Go out), it is configured to obtain candidate character from low weight dictionary;Candidate character processing unit (not shown), being configured to will be candidate Word is as the candidate result being presented on the corresponding position of appearing of low weight dictionary so that user chooses.
In some optional realization methods of the present embodiment, determination unit 703 includes:Second filtering subelement (does not show Go out), it is configured to when candidate result include candidate word, candidate word is obtained from high weight dictionary, appointing in candidate word When one candidate character of meaning was performed the first filter operation, the second filter operation is executed, the second filter operation includes:It will not wait Select word as the candidate result being presented on position of appearing.
In some optional realization methods of the present embodiment, device 700 further includes:Candidate word acquiring unit (is not shown Go out), it is configured to after executing the second filter operation, candidate word is obtained from low weight dictionary;Candidate word processing unit (not shown), be configured to using candidate word as the candidate result being presented on the corresponding position of appearing of low weight dictionary for User chooses.
Fig. 8 shows the structure of the computer system suitable for the terminal device or server that are used for realizing the embodiment of the present application Schematic diagram.
As shown in figure 8, computer system 800 includes central processing unit (CPU) 801, it can be read-only according to being stored in Program in memory (ROM) 802 or be loaded into the program in random access storage device (RAM) 803 from storage section 808 and Execute various actions appropriate and processing.In RAM 803, also it is stored with system 800 and operates required various programs and data. CPU 801, ROM 802 and RAM 803 are connected with each other by bus 804.Input/output (I/O) interface 805 is also connected to always Line 804.
It is connected to I/O interfaces 805 with lower component:Importation 806 including keyboard, mouse etc.;It is penetrated including such as cathode The output par, c 807 of spool (CRT), liquid crystal display (LCD) etc. and loud speaker etc.;Storage section 808 including hard disk etc.; And the communications portion 809 of the network interface card including LAN card, modem etc..Communications portion 809 via such as because The network of spy's net executes communication process.Driver 810 is also according to needing to be connected to I/O interfaces 805.Detachable media 811, such as Disk, CD, magneto-optic disk, semiconductor memory etc. are mounted on driver 810, as needed in order to be read from thereon Computer program be mounted into storage section 808 as needed.
Particularly, in accordance with an embodiment of the present disclosure, it may be implemented as computer above with reference to the process of flow chart description Software program.For example, embodiment of the disclosure includes a kind of computer program product comprising be tangibly embodied in machine readable Computer program on medium, the computer program include the program code for method shown in execution flow chart.At this In the embodiment of sample, which can be downloaded and installed by communications portion 809 from network, and/or from removable Medium 811 is unloaded to be mounted.
Flow chart in attached drawing and block diagram, it is illustrated that according to the system of the various embodiments of the application, method and computer journey The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation A part for a part for one module, program segment, or code of table, the module, program segment, or code includes one or more Executable instruction for implementing the specified logical function.It should also be noted that in some implementations as replacements, institute in box The function of mark can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are practical On can be basically executed in parallel, they can also be executed in the opposite order sometimes, this is depended on the functions involved.Also it wants It is noted that the combination of each box in block diagram and or flow chart and the box in block diagram and or flow chart, Ke Yiyong The dedicated hardware based system of defined functions or operations is executed to realize, or can be referred to specialized hardware and computer The combination of order is realized.
As on the other hand, present invention also provides a kind of nonvolatile computer storage media, the non-volatile calculating Machine storage medium can be nonvolatile computer storage media included in device described in above-described embodiment;Can also be Individualism, without the nonvolatile computer storage media in supplying terminal.Above-mentioned nonvolatile computer storage media is deposited One or more program is contained, when one or more of programs are executed by an equipment so that the equipment:It receives Phonetic input by user;Obtain candidate result to be presented, associated with the phonetic, the candidate result include it is following it One:The corresponding candidate character of fuzzy syllable of the phonetic, the candidate word being made of the candidate character, wherein the time Result is selected to correspond to a position of appearing in advance;History input record based on the candidate character, adjusts the candidate result Candidate result is presented on position of appearing, and position of appearing after the adjustment so that user chooses, wherein the history input note Record includes:Time that syllable is entered is obscured described in the input as the preset times of input results in the candidate result Number.
Above description is only the preferred embodiment of the application and the explanation to institute's application technology principle.People in the art Member should be appreciated that invention scope involved in the application, however it is not limited to technology made of the specific combination of above-mentioned technical characteristic Scheme, while should also cover in the case where not departing from the inventive concept, it is carried out by above-mentioned technical characteristic or its equivalent feature Other technical solutions of arbitrary combination and formation.Such as features described above has similar work(with (but not limited to) disclosed herein Can technical characteristic replaced mutually and the technical solution that is formed.

Claims (14)

1. a kind of data inputting method, which is characterized in that the method includes:
Receive phonetic input by user;
The candidate result on position of appearing associated with the phonetic, to be presented is obtained, the candidate result includes following One of:The corresponding candidate character of fuzzy syllable of the phonetic, the candidate word being made of the candidate character;
History input record based on the candidate character, it is determined whether using the candidate result as being presented on the Presence Bit The candidate result set is chosen for user, wherein the history input record includes:In the candidate result by as input As a result the number that syllable is entered is obscured described in the input of preset times.
2. according to the method described in claim 1, it is characterized in that, obtaining associated with the phonetic, to be presented presenting Candidate result on position includes:
Determine that the corresponding dictionary of the position of appearing, the dictionary include:High weight dictionary, low weight dictionary, wherein correspond to The position of appearing of high weight dictionary is positioned corresponding to before the position of appearing of low weight dictionary;
The candidate result is obtained from the dictionary determined.
3. according to the method described in claim 2, it is characterized in that, the high weight dictionary includes:User thesaurus, by word word Library, the low weight dictionary includes system dictionary.
4. according to the method described in claim 3, it is characterized in that, the candidate result includes the candidate character, the time Selection word is obtained from high weight dictionary;And
History input record based on the candidate character, it is determined whether using the candidate result as being presented on the Presence Bit The candidate result set for user choose include:
When in the candidate result number that fuzzy syllable is entered described in the input as the preset times of input results When equal to the preset times, the first filter operation is executed, first filter operation includes:Not using the candidate character as The candidate result being presented on the position of appearing.
5. according to the method described in claim 4, it is characterized in that, after executing the first filter operation, the method is also wrapped It includes:
The candidate character is obtained from low weight dictionary;
Using the candidate character as the candidate result being presented on the corresponding position of appearing of low weight dictionary so that user chooses.
6. according to the method described in claim 3, it is characterized in that, the candidate result includes the candidate word, the time Word is selected to be obtained from high weight dictionary;And
History input record based on the candidate character, it is determined whether using the candidate result as being presented on the Presence Bit The candidate result set for user choose include:
When any one candidate character in the candidate word was performed first filter operation, the second filtering is executed Operation, second filter operation include:The candidate word candidate on the position of appearing is not presented on as described in As a result.
7. according to the method described in claim 6, it is characterized in that, after executing the second filter operation, the method is also wrapped It includes:
The candidate word is obtained from low weight dictionary;
Using the candidate word as the candidate result being presented on the corresponding position of appearing of low weight dictionary for user's selection.
8. a kind of message input device, which is characterized in that described device includes:
Receiving unit is configured to receive phonetic input by user;
Acquiring unit is configured to obtain the candidate result on position of appearing associated with the phonetic, to be presented, described Candidate result includes following one:The phonetic fuzzy syllable corresponding candidate character, the time that is made of the candidate character Select word;
Determination unit is configured to the history input record based on the candidate character, it is determined whether make the candidate result To be presented on the candidate result on the position of appearing so that user chooses, wherein the history input record includes:Described Candidate result obscures the number that syllable is entered described in the input as the preset times of input results.
9. device according to claim 8, which is characterized in that the acquiring unit includes:
Dictionary determination subelement is configured to determine that the corresponding dictionary of the position of appearing, the dictionary include:High weight word Library, low weight dictionary, wherein corresponding to high weight dictionary position of appearing be positioned corresponding to low weight dictionary position of appearing it Before;
Candidate result obtains subelement, is configured to obtain the candidate result from the dictionary determined.
10. device according to claim 9, which is characterized in that the high weight dictionary includes:User thesaurus, by word word Library, the low weight dictionary includes system dictionary.
11. device according to claim 10, which is characterized in that the determination unit includes:
First filtering subelement, is configured to when the candidate result include the candidate character, and candidate character is from high weight word It is obtained in library, time that syllable is entered is obscured described in the input as the preset times of input results in the candidate result When number is equal to the preset times, the first filter operation is executed, first filter operation includes:The candidate character is not made For the candidate result being presented on the position of appearing.
12. according to the devices described in claim 11, which is characterized in that described device further includes:
Candidate character acquiring unit is configured to obtain the candidate character from low weight dictionary;
Candidate character processing unit is configured to using the candidate character as being presented on the corresponding position of appearing of low weight dictionary On candidate result for user choose.
13. device according to claim 10, which is characterized in that the determination unit includes:
Second filtering subelement is configured to when candidate result include the candidate word, and the candidate word is from high weight word It is obtained in library, when any one candidate character in candidate's word was performed first filter operation, executes second Filter operation, second filter operation include:The candidate word is not presented on as described on the position of appearing Candidate result.
14. device according to claim 13, which is characterized in that described device further includes:
Candidate word acquiring unit is configured to after executing the second filter operation, and the candidate is obtained from low weight dictionary Word;
Candidate word processing unit is configured to using the candidate word as being presented on the corresponding position of appearing of low weight dictionary On candidate result for user choose.
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 CN105549760A (en) 2016-05-04
CN105549760B true 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)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN109144286B (en) * 2017-06-27 2022-08-02 北京搜狗科技发展有限公司 Input method and device
CN112328096B (en) * 2020-11-13 2024-07-16 维沃移动通信有限公司 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

Also Published As

Publication number Publication date
CN105549760A (en) 2016-05-04

Similar Documents

Publication Publication Date Title
CN105549760B (en) Data inputting method and device
CN105654950B (en) Adaptive voice feedback method and device
CN106372059A (en) Information input method and information input device
US10242672B2 (en) Intelligent assistance in presentations
CN104735468B (en) A kind of method and system that image is synthesized to new video based on semantic analysis
JP5685702B2 (en) Speech recognition result management apparatus and speech recognition result display method
CN107707745A (en) Method and apparatus for extracting information
CN108351871A (en) General translator
CN110134931A (en) Media title generation method, device, electronic equipment and readable medium
US9323737B2 (en) Generating an interactive page template based on setting a material type and a plurality of input and output signals for a mobile device
JPWO2014147674A1 (en) Advertisement translation device, advertisement display device, and advertisement translation method
JP2012133659A (en) File format, server, electronic comic viewer device and electronic comic generation device
US11468120B2 (en) Aid for dyslexic readers
CN111488147A (en) Intelligent layout method and device
CN106507177A (en) Method and apparatus for generating barrage
CN106873798B (en) Method and apparatus for outputting information
CN104115222A (en) Method and device for phonetising data sets containing text
CN105373310B (en) Method and apparatus based on the user's operation real-time update page
CN117436414A (en) Presentation generation method and device, electronic equipment and storage medium
CN106022332B (en) Papery reading matter is switched to the device and method that reading matter to be listened plays by terminal device
US10477136B2 (en) Display mode determining device, display, display mode determining method, and non-transitory storage medium
CN108280106A (en) Processing method, device and the mobile terminal of search key
WO2019130492A1 (en) Comic data display system, method, and program
US11017684B2 (en) Information processing apparatus, information processing system, and non-transitory computer readable medium
JP2009032026A (en) Display control device, method, program and storage 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