CN104317851A - Word prompt method and device - Google Patents

Word prompt method and device Download PDF

Info

Publication number
CN104317851A
CN104317851A CN201410542751.6A CN201410542751A CN104317851A CN 104317851 A CN104317851 A CN 104317851A CN 201410542751 A CN201410542751 A CN 201410542751A CN 104317851 A CN104317851 A CN 104317851A
Authority
CN
China
Prior art keywords
vocabulary
candidate
current input
input environment
matching
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.)
Pending
Application number
CN201410542751.6A
Other languages
Chinese (zh)
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 Xiaomi Technology Co Ltd
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201410542751.6A priority Critical patent/CN104317851A/en
Publication of CN104317851A publication Critical patent/CN104317851A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/02Input arrangements using manually operated switches, e.g. using keyboards or dials
    • G06F3/023Arrangements for converting discrete items of information into a coded form, e.g. arrangements for interpreting keyboard generated codes as alphanumeric codes, operand codes or instruction codes
    • G06F3/0233Character input methods
    • G06F3/0237Character input methods using prediction or retrieval techniques

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)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention relates to a word prompt method and a word prompt device. The method comprises the following steps of searching corresponding candidate words in a word bank according to pinyin input by a user; detecting the current input environment; screening matched candidate words matched with the current input environment in the candidate words; when the candidate words corresponding to the pinyin are prompted, arraying the matched candidate words in front of all the candidate words. According to the technical scheme, the word prompt accuracy can be improved, the page turning frequency of a user is reduced, and the user experience is improved.

Description

Vocabulary notice method and apparatus
Technical field
The disclosure relates to field of terminal technology, particularly relates to a kind of vocabulary notice method and apparatus.
Background technology
Universal along with intelligent terminal, increasing people use intelligent terminal to surf the Net, amusement, shopping, thereupon, the input method of intelligent terminal is frequently used.In correlation technique, when after user's input Pinyin, can by vocabulary notice corresponding with this phonetic in dictionary to user.But such prompting mode is often accurate not, and user needs to find one by one in numerous vocabulary of pointing out out the vocabulary oneself wanting to input, and experiences poor.
Summary of the invention
For overcoming Problems existing in correlation technique, the disclosure provides a kind of vocabulary notice method and apparatus, to solve the accurate not problem of vocabulary notice.
According to the first aspect of disclosure embodiment, a kind of vocabulary notice method is provided, comprises:
Phonetic according to user's input searches corresponding candidate's vocabulary in dictionary;
Detect current input environment;
The matching candidate vocabulary mated with current input environment is screened in described candidate's vocabulary;
When candidate's vocabulary of pointing out described phonetic corresponding, described matching candidate vocabulary is arranged in before all candidate's vocabulary.
Optionally, the current input environment of described detection comprises:
Judge whether described candidate's vocabulary is subordinate to the multiple classified vocabularies in dictionary;
If described candidate's vocabulary is subordinate to the multiple classified vocabularies in dictionary, then detect current input environment.
Optionally, the described matching candidate vocabulary mated with current input environment that screens in described candidate's vocabulary comprises:
According to the matching relationship preset, search the coupling classified vocabulary mated with described current input environment;
Select the candidate's vocabulary be subordinate in described coupling classified vocabulary as described matching candidate vocabulary.
Optionally, described method also comprises:
If do not find the coupling classified vocabulary mated with described current input environment according to described default matching relationship, then, when candidate's vocabulary of pointing out described phonetic corresponding, arrange described candidate's vocabulary according to the temperature of described candidate's vocabulary.
Optionally, described method also comprises:
When the quantity of the matching candidate vocabulary screened is greater than 1, arrange described matching candidate vocabulary according to the temperature of described matching candidate vocabulary.
According to the second aspect of disclosure embodiment, a kind of vocabulary notice device is provided, comprises:
Unit searched in vocabulary, and the phonetic for inputting according to user searches corresponding candidate's vocabulary in dictionary;
Environmental detection unit, for detecting current input environment;
Vocabulary screening unit, screens for searching at described vocabulary in candidate's vocabulary that unit finds the matching candidate vocabulary mated with the current input environment that described environmental detection unit detects;
First Tip element, during for the candidate vocabulary corresponding at the described phonetic of prompting, is arranged in the described matching candidate vocabulary that described vocabulary screening sieve unit is chosen before all candidate's vocabulary.
Optionally, described environmental detection unit comprises:
Judgment sub-unit, for judging that described vocabulary is searched candidate's vocabulary that unit finds and whether is subordinate to multiple classified vocabularies in dictionary;
Detection sub-unit, when the candidate's vocabulary found is subordinate to the multiple classified vocabulary in dictionary, detects current input environment for searching unit at described vocabulary.
Optionally, described vocabulary screening unit comprises:
Search subelement, for according to the matching relationship preset, search the coupling classified vocabulary that the current input environment that detects with described environmental detection unit mates;
Chooser unit, the matching candidate vocabulary that the candidate's vocabulary for searching described in selecting to be subordinate in coupling classified vocabulary that subelement finds is chosen as described vocabulary screening sieve unit.
Optionally, described device also comprises:
Second Tip element, for when not finding the coupling classified vocabulary that the current input environment that detects with described environmental detection unit mates according to described default matching relationship, the temperature of searching candidate's vocabulary that unit finds according to described vocabulary arranges described candidate's vocabulary.
Optionally, described device also comprises:
3rd Tip element, when the quantity for the matching candidate vocabulary chosen at described vocabulary screening sieve unit is greater than 1, arranges described matching candidate vocabulary according to the temperature of described matching candidate vocabulary.
According to the third aspect of disclosure embodiment, a kind of vocabulary notice device is provided, comprises:
Processor;
For the storer of storage of processor executable instruction;
Wherein, described processor is configured to:
Phonetic according to user's input searches corresponding candidate's vocabulary in dictionary;
Detect current input environment;
The matching candidate vocabulary mated with current input environment is screened in described candidate's vocabulary;
When candidate's vocabulary of pointing out described phonetic corresponding, described matching candidate vocabulary is arranged in before all candidate's vocabulary.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect:
The disclosure is when the phonetic inputted user carries out vocabulary notice, detect current input environment, point out before the matching candidate vocabulary mated is arranged in all candidate's vocabulary with current input environment, thus improve the degree of accuracy of vocabulary notice, reduce the number of times of user's page turning, promote Consumer's Experience.
The disclosure is after candidate's vocabulary that the phonetic finding user's input is corresponding, first judge whether described candidate's vocabulary is subordinate to multiple classified vocabulary, if described candidate's vocabulary is subordinate to the multiple classified vocabularies in dictionary, then detect current input environment, and then avoid useless detection, improve the efficiency of vocabulary notice.
The disclosure is when the quantity of the matching candidate vocabulary screened is greater than 1, and matching candidate vocabulary high for temperature is arranged in before lower grade matching candidate vocabulary by the temperature according to described matching candidate vocabulary, improves the degree of accuracy of vocabulary notice further.
Should be understood that, it is only exemplary and explanatory that above general description and details hereinafter describe, and can not limit the disclosure.
Accompanying drawing explanation
Accompanying drawing to be herein merged in instructions and to form the part of this instructions, shows and meets embodiment of the present disclosure, and is used from instructions one and explains principle of the present disclosure.
Fig. 1 is the process flow diagram of a kind of vocabulary notice method according to an exemplary embodiment.
Fig. 2 is the process flow diagram of the another kind of vocabulary notice method according to an exemplary embodiment.
Fig. 3 is the process flow diagram of the method for the current input environment of detection according to an exemplary embodiment.
Fig. 4 is a kind of vocabulary notice interface schematic diagram according to an exemplary embodiment.
Fig. 5 is the another kind of vocabulary notice interface schematic diagram according to an exemplary embodiment.
Fig. 6 is the block diagram of a kind of vocabulary notice device according to an exemplary embodiment.
Fig. 7 is the block diagram of the another kind of vocabulary notice device according to an exemplary embodiment.
Fig. 8 is the block diagram of the another kind of vocabulary notice device according to an exemplary embodiment.
Fig. 9 is the block diagram of the another kind of vocabulary notice device according to an exemplary embodiment.
Figure 10 is the block diagram of the another kind of vocabulary notice device according to an exemplary embodiment.
Figure 11 is a structural representation of a kind of vocabulary notice device according to an exemplary embodiment.
Embodiment
Here will be described exemplary embodiment in detail, its sample table shows in the accompanying drawings.When description below relates to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawing represents same or analogous key element.Embodiment described in following exemplary embodiment does not represent all embodiments consistent with the disclosure.On the contrary, they only with as in appended claims describe in detail, the example of apparatus and method that aspects more of the present disclosure are consistent.
Fig. 1 is the process flow diagram of a kind of vocabulary notice method according to an exemplary embodiment.
As shown in Figure 1, described vocabulary notice method is used for, in terminal, comprising the following steps:
In step S101, the phonetic according to user's input searches corresponding candidate's vocabulary in dictionary.
In the present embodiment, user can carry out the input of vocabulary by input method terminal carrying or loads.In this step, first obtain the phonetic of user's input, in dictionary, then search the candidate vocabulary corresponding with described phonetic.
In step s 102, current input environment is detected.
In the present embodiment, when user carries out words enter, current input environment is detected.The program of described current input environment normally present terminal front stage operation, such as: map class software, food and drink class software, communication class software etc.
In step s 103, in described candidate's vocabulary, screen the matching candidate vocabulary mated with current input environment.
The candidate vocabulary corresponding with the phonetic that user inputs is found based on abovementioned steps S101, current input environment is detected based on abovementioned steps S102, in this step, can according to the matching relationship preset current input environment and classified vocabulary, search the coupling classified vocabulary mated with current input environment, then will be subordinate to the described candidate's vocabulary mating classified vocabulary as described matching candidate vocabulary.
In step S104, when candidate's vocabulary of pointing out described phonetic corresponding, described matching candidate vocabulary is arranged in before all candidate's vocabulary.
Described as can be seen from above, the present embodiment is when the phonetic inputted user carries out vocabulary notice, detect current input environment, point out before the matching candidate vocabulary mated with current input environment is arranged in all candidate's vocabulary, thus improve the degree of accuracy of vocabulary notice, reduce the number of times of user's page turning, promote Consumer's Experience.
Fig. 2 is the process flow diagram of the another kind of vocabulary notice method according to an exemplary embodiment.
As shown in Figure 2, described vocabulary notice method is used for, in terminal, comprising the following steps:
In step s 201, in dictionary, corresponding candidate's vocabulary is searched according to the phonetic of user's input.
In the present embodiment, user can carry out the input of vocabulary by input method terminal carrying or loads.In this process, user can carry out Pinyin Input by the touch-screen of terminal, external connection keyboard etc.After the phonetic getting user's input, in dictionary, search the candidate vocabulary corresponding with described phonetic.
It should be noted that, in this step, the phonetic of user's input may be the phonetic that vocabulary is complete, and also may be the initial in the phonetic of each word in vocabulary, may be also the combination of both of these case.For example, if user wants the vocabulary inputted to be " Lijing ", the complete phonetic that what so user may input is " Lijing ": lijiang, also the initial in " beautiful " and " river " may be inputted: lj, also may input the initial in " beautiful " or " river " and the complete phonetic of another word: lij or ljiang, certainly, the part that what user also may input is in complete phonetic, does not limit this disclosure.
If user's input is the phonetic that vocabulary is complete, in this step, accurately search in dictionary, the candidate's vocabulary and the user that find want the phonetic of the vocabulary inputted identical, such as: Lijing, Lijiang River, Li Jiang etc.If user's input is not the phonetic that vocabulary is complete, in this step, fuzzy search is carried out in dictionary, the candidate's vocabulary and the user that find want the phonetic of the vocabulary inputted may not be identical, such as: if user inputs lj, the candidate's vocabulary found may include: connection, Li Jiang, Lijing, capsicum etc.
In step S202, detect current input environment.
In the present embodiment, when user carries out words enter, current input environment is detected.The classification belonging to APP (Application, application software) of the described current input environment normally front stage operation of present terminal.In this step, the APP that can run by detecting present terminal foreground realizes the detection to current input environment.Such as: detect that the APP of present terminal front stage operation is a certain map class APP, then described current input environment is map class software.
Wherein, described input environment includes: map class software, food and drink class software, communication class software, video class software etc.In the present embodiment, by developer, APP and described input environment can be bound.
Optionally, please refer to Fig. 3, the current input environment of described detection can comprise the steps:
In step S2021, judge whether described candidate's vocabulary is subordinate to the multiple classified vocabularies in dictionary, if described candidate's vocabulary is subordinate to the multiple classified vocabularies in dictionary, then perform step S2022.If described candidate's vocabulary is subordinate to classified vocabulary, then a process ends in dictionary.
In the present embodiment, the vocabulary in dictionary can be classified by developer usually, such as: place name class, name class, cuisines class etc.In this step, based on abovementioned steps S201, after finding candidate's vocabulary, judge whether described candidate's vocabulary is subordinate to the multiple classified vocabularies in dictionary.Still for user input phonetic for lijiang, in the candidate's vocabulary found, the classified vocabulary that Lijing is subordinate to is place name class, and the classified vocabulary that Li Jiang is subordinate to is name class.This shows, candidate's vocabulary that lijiang is corresponding is subordinate to two classified vocabularies, performs step S2022.Be understandable that, if described candidate's vocabulary is all subordinate to a classified vocabulary in dictionary, no matter what current input environment is, the described candidate's vocabulary be subordinate in this classified vocabulary is prompted to user by capital, it is described coupling classified vocabulary that this classified vocabulary just can be understood as, and then without the need to detecting current input environment.
In step S2022, detect current input environment.
When the judged result of abovementioned steps S2021 be described candidate's vocabulary be subordinate to the multiple classified vocabulary in dictionary time, first can detect the APP of present terminal front stage operation, then know described current input environment according to the binding relationship of described APP and input environment.
In the present embodiment, after candidate's vocabulary that the phonetic finding user's input is corresponding, first judge whether described candidate's vocabulary is subordinate to multiple classified vocabulary, if described candidate's vocabulary is subordinate to the multiple classified vocabularies in dictionary, then detect current input environment, and then avoid useless detection, improve the efficiency of vocabulary notice.
In step S203, according to the matching relationship preset, search the coupling classified vocabulary mated with described current input environment.
In the present embodiment, developer can pre-set the matching relationship of input environment and classified vocabulary according to relevant general knowledge.Such as: under the input environment of map class software, the vocabulary of user's input is generally the place name vocabulary, street name vocabulary etc. that are under the jurisdiction of place name class, therefore the classified vocabulary that can arrange the input environment coupling of map class software is place name class.Equally, under the input environment of food and drink class software, the vocabulary of user's input is generally the name of the dish vocabulary, food materials vocabulary etc. that are under the jurisdiction of cuisines class, therefore the classified vocabulary that can arrange the input environment coupling of food and drink class software is cuisines class.
It should be noted that, in the present embodiment, the classified vocabulary of an input environment coupling may have multiple.Such as: for described current input environment for food and drink class software, user also may input place name, to search the cuisines near described place name in described food and drink class software.So the classified vocabulary that developer can arrange the input environment coupling of food and drink class software is: place name class and cuisines class.The disclosure does not limit this.
On the other hand, for the ease of distinguishing, in the disclosure, the classified vocabulary that current input environment mates is called: coupling classified vocabulary.
In step S204, select the candidate's vocabulary be subordinate in described coupling classified vocabulary as described matching candidate vocabulary.
Based on abovementioned steps S203, after the coupling classified vocabulary finding described current input environment coupling, in all candidate's vocabulary found in abovementioned steps S201, select the candidate's vocabulary being subordinate to described coupling classified vocabulary as matching candidate vocabulary.Be understandable that, user, under current input environment, wants the vocabulary inputted to be that the probability of described matching candidate vocabulary in described coupling classified vocabulary is higher.
In step S205, when candidate's vocabulary of pointing out described phonetic corresponding, described matching candidate vocabulary is arranged in before all candidate's vocabulary.
In the present embodiment, when candidate's vocabulary of pointing out the phonetic of user's input corresponding, the priority of disposing order of the matching candidate vocabulary selected in step S204 being set to the highest, namely when pointing out described candidate's vocabulary, described matching candidate vocabulary being arranged in before other all candidate's vocabulary.
For the phonetic of user's input for lj, candidate's vocabulary that phonetic lj is corresponding includes: Lijing, Lijiang River, Li Jiang, capsicum, connection etc.Suppose that user inputs described phonetic lj in a certain map class APP, the current input environment then detected is map class software, and the coupling classified vocabulary of described map class Software match is place name class, then when candidate's vocabulary of pointing out described phonetic lj corresponding, the matching candidate vocabulary of place name class classified vocabulary will be under the jurisdiction of: Lijing and Lijiang River are arranged in before other all candidate's vocabulary in candidate's vocabulary Lijing corresponding for phonetic lj, Lijiang River, Li Jiang, capsicum, connection, please refer to Fig. 4, vocabulary notice interface as shown in Figure 4 can be generated.
Still for user input phonetic for lj, suppose that user inputs described phonetic lj in a certain food and drink class APP, the current input environment then detected is food and drink class software, and the coupling classified vocabulary of described food and drink class Software match is cuisines class, then when candidate's vocabulary of pointing out described phonetic lj corresponding, by candidate's vocabulary Lijing corresponding for phonetic lj, Lijiang River, Li Jiang, capsicum, the matching candidate vocabulary of cuisines class classified vocabulary is under the jurisdiction of: capsicum is arranged in before other all candidate's vocabulary in connection, please refer to Fig. 5, vocabulary notice interface as shown in Figure 5 can be generated.
Described as can be seen from above, the present embodiment is when the phonetic inputted user carries out vocabulary notice, detect current input environment, point out before the matching candidate vocabulary mated with current input environment is arranged in all candidate's vocabulary, thus improve the degree of accuracy of vocabulary notice, reduce the number of times of user's page turning, promote Consumer's Experience.
Optionally, in another embodiment of the disclosure, if do not find the coupling classified vocabulary mated with described current input environment according to described default matching relationship, then, when candidate's vocabulary of pointing out described phonetic corresponding, arrange described candidate's vocabulary according to the temperature of described candidate's vocabulary.
In practical implementations, the coupling classified vocabulary that some input environment may not mate, such as: some comprehensive software, such as instant messaging class software, user is when using instant messaging class software to carry out online chatting, and user wants the vocabulary inputted may be under the jurisdiction of each classified vocabulary.For this input environment, do not mate fixing classified vocabulary.In the present embodiment, if do not find the coupling classified vocabulary of current input environment coupling, then, when prompting candidate vocabulary, first can obtain the temperature of each candidate's vocabulary, then arrange described candidate's vocabulary according to described temperature.Wherein, the temperature of described candidate's vocabulary can be obtained from server, also can obtain the temperature of described candidate's vocabulary at the input condition of the machine according to user in Preset Time, such as: for phonetic ls, user selects the number of times of vocabulary " Lhasa " maximum within the time of presetting, then in candidate's vocabulary of described phonetic ls, " Lhasa " is arranged in before other candidate's vocabulary.Certainly, those skilled in the art also can adopt other modes to obtain the temperature of candidate's vocabulary according to correlation technique, and the disclosure does not limit this.
Optionally, in another embodiment of the disclosure, when the quantity of the matching candidate vocabulary screened is greater than 1, arrange described matching candidate vocabulary according to the temperature of described matching candidate vocabulary, before matching candidate vocabulary high for temperature is arranged in lower grade candidate's vocabulary.The phonetic still inputted for aforementioned user is for lj, suppose that through screening the matching candidate vocabulary drawn be Lijing and Lijiang River, and the temperature of Lijing is higher than Lijiang River, therefore in the present embodiment, when prompting candidate vocabulary, be prompted to user before Lijing is arranged in Lijiang River, improve the degree of accuracy of vocabulary notice further.
Corresponding with the embodiment of the method for aforementioned vocabulary notice, the disclosure additionally provides a kind of embodiment of vocabulary notice device.
Fig. 6 is a kind of vocabulary notice device block diagram according to an exemplary embodiment.Described device may be used in terminal.
As shown in Figure 6, described device 600 comprises: unit 601, environmental detection unit 602, vocabulary screening unit 603, first Tip element 604 searched in vocabulary.
Wherein, this vocabulary is searched unit 601 and is configured to: the phonetic according to user's input searches corresponding candidate's vocabulary in dictionary.
This environmental detection unit 602 is configured to: detect current input environment.
This vocabulary screening unit 603 is configured to: search the matching candidate vocabulary screening in candidate's vocabulary that unit 601 finds and mate with the current input environment that described environmental detection unit 602 detects at described vocabulary.
This first Tip element 604 is configured to: when candidate's vocabulary of pointing out described phonetic corresponding, is arranged in before all candidate's vocabulary by the described matching candidate vocabulary that described vocabulary screening unit 603 screens.
In above-described embodiment, when the phonetic inputted user carries out vocabulary notice, detect current input environment, point out before the matching candidate vocabulary mated with current input environment is arranged in all candidate's vocabulary, thus improve the degree of accuracy of vocabulary notice, reduce the number of times of user's page turning, promote Consumer's Experience.
Fig. 7 is the block diagram of the another kind of vocabulary notice device according to an exemplary embodiment, described device may be used in terminal, this embodiment is on the basis of the embodiment shown in earlier figures 6, and described environmental detection unit 602 can comprise: judgment sub-unit 6021 and detection sub-unit 6022.
Wherein, this judgment sub-unit 6021 is configured to: judge that described vocabulary is searched candidate's vocabulary that unit 601 finds and whether is subordinate to multiple classified vocabularies in dictionary.
This detection sub-unit 6022 is configured to: described vocabulary search candidate's vocabulary that unit 601 finds be subordinate to the multiple classified vocabulary in dictionary time, detect current input environment.
In above-described embodiment, after candidate's vocabulary that the phonetic finding user's input is corresponding, first judge whether described candidate's vocabulary is subordinate to multiple classified vocabulary, if described candidate's vocabulary is subordinate to the multiple classified vocabularies in dictionary, then detect current input environment, and then avoid useless detection, improve the efficiency of vocabulary notice.
Fig. 8 is the block diagram of the another kind of vocabulary notice device according to an exemplary embodiment, described device may be used in terminal, this embodiment is on the basis of the embodiment shown in earlier figures 7, and described vocabulary screening unit 603 can comprise: search subelement 6031 and chooser unit 6032.
Wherein, this is searched subelement 6031 and is configured to: according to the matching relationship preset, and searches the coupling classified vocabulary that the current input environment that detects with described environmental detection unit 602 mates;
This chooser unit 6032 is configured to: select to search described in being subordinate to the matching candidate vocabulary that the candidate's vocabulary in the coupling classified vocabulary that subelement 6031 finds screens as described vocabulary screening unit 603.
Fig. 9 is the block diagram of the another kind of vocabulary notice device according to an exemplary embodiment, and described device may be used in terminal, and this embodiment is on the basis of the embodiment shown in earlier figures 8, and described device 600 can also comprise: the second Tip element 605.
This second Tip element 605 is configured to: when not finding the coupling classified vocabulary that the current input environment that detects with described environmental detection unit 602 mates according to described default matching relationship, the temperature of searching candidate's vocabulary that unit 601 finds according to described vocabulary arranges described candidate's vocabulary.
Figure 10 is the block diagram of the another kind of vocabulary notice device according to an exemplary embodiment, and described device may be used in terminal, and this embodiment is on the basis of the embodiment shown in earlier figures 6, and described device 600 can also comprise: the 3rd Tip element 606.
3rd Tip element 606 is configured to: when the quantity of the matching candidate vocabulary that described vocabulary screening unit 603 screens is greater than 1, arrange described matching candidate vocabulary according to the temperature of described matching candidate vocabulary.
In above-described embodiment, when the quantity of the matching candidate vocabulary screened is greater than 1, matching candidate vocabulary high for temperature is arranged in before lower grade matching candidate vocabulary by the temperature according to described matching candidate vocabulary, improves the degree of accuracy of vocabulary notice further.
It should be noted that, the 3rd Tip element 606 comprised in the device embodiment shown in above-mentioned Figure 10 also can be included in the device embodiment of earlier figures 7 to Fig. 9, and the disclosure does not make particular restriction to this.
About the device in above-described embodiment, wherein the concrete mode of modules executable operations has been described in detail in about the embodiment of the method, will not elaborate explanation herein.
For device embodiment, because it corresponds essentially to embodiment of the method, so relevant part illustrates see the part of embodiment of the method.Device embodiment described above is only schematic, the wherein said unit illustrated as separating component or can may not be and physically separates, parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of module wherein can be selected according to the actual needs to realize the object of disclosure scheme.Those of ordinary skill in the art, when not paying creative work, are namely appreciated that and implement.
Accordingly, the disclosure also provides a kind of vocabulary notice device, and described device comprises: processor; For the storer of storage of processor executable instruction; Wherein, described processor is configured to: the phonetic according to user's input searches corresponding candidate's vocabulary in dictionary; Detect current input environment; The matching candidate vocabulary mated with current input environment is screened in described candidate's vocabulary; When candidate's vocabulary of pointing out described phonetic corresponding, described matching candidate vocabulary is arranged in before all candidate's vocabulary.
Accordingly, the disclosure also provides a kind of non-transitory computer-readable recording medium, when the processor of the instruction in described storage medium by terminal performs, make terminal can perform a kind of vocabulary notice method, described method comprises: the phonetic according to user's input searches corresponding candidate's vocabulary in dictionary; Detect current input environment; The matching candidate vocabulary mated with current input environment is screened in described candidate's vocabulary; When candidate's vocabulary of pointing out described phonetic corresponding, described matching candidate vocabulary is arranged in before all candidate's vocabulary.
Figure 11 is the block diagram of a kind of device 1100 for vocabulary notice according to an exemplary embodiment.Such as, device 1100 can be mobile phone, computing machine, digital broadcast terminal, messaging devices, game console, tablet device, Medical Devices, body-building equipment, personal digital assistant etc.
With reference to Figure 11, device 1100 can comprise following one or more assembly: processing components 1102, storer 1104, power supply module 1106, multimedia groupware 1108, audio-frequency assembly 1110, the interface 1112 of I/O (I/O), sensor module 1114, and communications component 1116.
The integrated operation of the usual control device 1100 of processing components 1102, such as with display, call, data communication, camera operation and record operate the operation be associated.Treatment element 1102 can comprise one or more processor 1120 to perform instruction, to complete all or part of step of above-mentioned method.In addition, processing components 1102 can comprise one or more module, and what be convenient between processing components 1102 and other assemblies is mutual.Such as, processing element 1102 can comprise multi-media module, mutual with what facilitate between multimedia groupware 1108 and processing components 1102.
Storer 1104 is configured to store various types of data to be supported in the operation of equipment 1100.The example of these data comprises for any application program of operation on device 1100 or the instruction of method, contact data, telephone book data, message, picture, video etc.Storer 1104 can be realized by the volatibility of any type or non-volatile memory device or their combination, as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM), ROM (read-only memory) (ROM), magnetic store, flash memory, disk or CD.
The various assemblies that electric power assembly 1106 is device 1100 provide electric power.Electric power assembly 1106 can comprise power-supply management system, one or more power supply, and other and the assembly generating, manage and distribute electric power for device 1100 and be associated.
Multimedia groupware 1108 is included in the screen providing an output interface between described device 1100 and user.In certain embodiments, screen can comprise liquid crystal display (LCD) and touch panel (TP).If screen comprises touch panel, screen may be implemented as touch-screen, to receive the input signal from user.Touch panel comprises one or more touch sensor with the gesture on sensing touch, slip and touch panel.Described touch sensor can the border of not only sensing touch or sliding action, but also detects the duration relevant to described touch or slide and pressure.In certain embodiments, multimedia groupware 1108 comprises a front-facing camera and/or post-positioned pick-up head.When equipment 1100 is in operator scheme, during as screening-mode or video mode, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data.Each front-facing camera and post-positioned pick-up head can be fixing optical lens systems or have focal length and optical zoom ability.
Audio-frequency assembly 1110 is configured to export and/or input audio signal.Such as, audio-frequency assembly 1110 comprises a microphone (MIC), and when device 1100 is in operator scheme, during as call model, logging mode and speech recognition mode, microphone is configured to receive external audio signal.The sound signal received can be stored in storer 1104 further or be sent via communications component 1116.In certain embodiments, audio-frequency assembly 1110 also comprises a loudspeaker, for output audio signal.
I/O interface 1112 is for providing interface between processing components 1102 and peripheral interface module, and above-mentioned peripheral interface module can be keyboard, some striking wheel, button etc.These buttons can include but not limited to: home button, volume button, start button and locking press button.
Sensor module 1114 comprises one or more sensor, for providing the state estimation of various aspects for device 1100.Such as, sensor module 1114 can detect the opening/closing state of equipment 1100, the relative positioning of assembly, such as described assembly is display and the keypad of device 1100, the position of all right pick-up unit 1100 of sensor module 1114 or device 1100 assemblies changes, the presence or absence that user contacts with device 1100, the temperature variation of device 1100 orientation or acceleration/deceleration and device 1100.Sensor module 1114 can comprise proximity transducer, be configured to without any physical contact time detect near the existence of object.Sensor module 1114 can also comprise optical sensor, as CMOS or ccd image sensor, for using in imaging applications.In certain embodiments, this sensor module 1114 can also comprise acceleration transducer, gyro sensor, Magnetic Sensor, pressure transducer or temperature sensor.
Communications component 1116 is configured to the communication being convenient to wired or wireless mode between device 1100 and other equipment.Device 1100 can access the wireless network based on communication standard, as WiFi, 2G or 3G, or their combination.In one exemplary embodiment, communication component 1116 receives from the broadcast singal of external broadcasting management system or broadcast related information via broadcast channel.In one exemplary embodiment, described communication component 1116 also comprises near-field communication (NFC) module, to promote junction service.Such as, can based on radio-frequency (RF) identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, bluetooth (BT) technology and other technologies realize.
In the exemplary embodiment, device 1100 can be realized, for performing said method by one or more application specific integrated circuit (ASIC), digital signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD) (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components.
In the exemplary embodiment, additionally provide a kind of non-transitory computer-readable recording medium comprising instruction, such as, comprise the storer 1104 of instruction, above-mentioned instruction can perform said method by the processor 1120 of device 1100.Such as, described non-transitory computer-readable recording medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc.
Those skilled in the art, at consideration instructions and after putting into practice disclosed herein disclosing, will easily expect other embodiment of the present disclosure.The application is intended to contain any modification of the present disclosure, purposes or adaptations, and these modification, purposes or adaptations are followed general principle of the present disclosure and comprised the undocumented common practise in the art of the disclosure or conventional techniques means.Instructions and embodiment are only regarded as exemplary, and true scope of the present disclosure and spirit are pointed out by claim below.
Should be understood that, the disclosure is not limited to precision architecture described above and illustrated in the accompanying drawings, and can carry out various amendment and change not departing from its scope.The scope of the present disclosure is only limited by appended claim.

Claims (11)

1. a vocabulary notice method, is characterized in that, comprising:
Phonetic according to user's input searches corresponding candidate's vocabulary in dictionary;
Detect current input environment;
The matching candidate vocabulary mated with current input environment is screened in described candidate's vocabulary;
When candidate's vocabulary of pointing out described phonetic corresponding, described matching candidate vocabulary is arranged in before all candidate's vocabulary.
2. vocabulary notice method according to claim 1, is characterized in that, the current input environment of described detection comprises:
Judge whether described candidate's vocabulary is subordinate to the multiple classified vocabularies in dictionary;
If described candidate's vocabulary is subordinate to the multiple classified vocabularies in dictionary, then detect current input environment.
3. vocabulary notice method according to claim 2, is characterized in that, the described matching candidate vocabulary mated with current input environment that screens in described candidate's vocabulary comprises:
According to the matching relationship preset, search the coupling classified vocabulary mated with described current input environment;
Select the candidate's vocabulary be subordinate in described coupling classified vocabulary as described matching candidate vocabulary.
4. vocabulary notice method according to claim 3, is characterized in that, described method also comprises:
If do not find the coupling classified vocabulary mated with described current input environment according to described default matching relationship, then, when candidate's vocabulary of pointing out described phonetic corresponding, arrange described candidate's vocabulary according to the temperature of described candidate's vocabulary.
5. vocabulary notice method according to claim 1, is characterized in that, described method also comprises:
When the quantity of the matching candidate vocabulary screened is greater than 1, arrange described matching candidate vocabulary according to the temperature of described matching candidate vocabulary.
6. a vocabulary notice device, is characterized in that, comprising:
Unit searched in vocabulary, and the phonetic for inputting according to user searches corresponding candidate's vocabulary in dictionary;
Environmental detection unit, for detecting current input environment;
Vocabulary screening unit, screens for searching at described vocabulary in candidate's vocabulary that unit finds the matching candidate vocabulary mated with the current input environment that described environmental detection unit detects;
First Tip element, during for the candidate vocabulary corresponding at the described phonetic of prompting, is arranged in the described matching candidate vocabulary that described vocabulary screening sieve unit is chosen before all candidate's vocabulary.
7. vocabulary notice device according to claim 6, is characterized in that, described environmental detection unit comprises:
Judgment sub-unit, for judging that described vocabulary is searched candidate's vocabulary that unit finds and whether is subordinate to multiple classified vocabularies in dictionary;
Detection sub-unit, when the candidate's vocabulary found is subordinate to the multiple classified vocabulary in dictionary, detects current input environment for searching unit at described vocabulary.
8. vocabulary notice device according to claim 7, is characterized in that, described vocabulary screening unit comprises:
Search subelement, for according to the matching relationship preset, search the coupling classified vocabulary that the current input environment that detects with described environmental detection unit mates;
Chooser unit, the matching candidate vocabulary that the candidate's vocabulary for searching described in selecting to be subordinate in coupling classified vocabulary that subelement finds is chosen as described vocabulary screening sieve unit.
9. vocabulary notice device according to claim 8, is characterized in that, described device also comprises:
Second Tip element, for when not finding the coupling classified vocabulary that the current input environment that detects with described environmental detection unit mates according to described default matching relationship, the temperature of searching candidate's vocabulary that unit finds according to described vocabulary arranges described candidate's vocabulary.
10. vocabulary notice device according to claim 6, is characterized in that, described device also comprises:
3rd Tip element, when the quantity for the matching candidate vocabulary chosen at described vocabulary screening sieve unit is greater than 1, arranges described matching candidate vocabulary according to the temperature of described matching candidate vocabulary.
11. 1 kinds of vocabulary notice devices, is characterized in that, comprising:
Processor;
For the storer of storage of processor executable instruction;
Wherein, described processor is configured to:
Phonetic according to user's input searches corresponding candidate's vocabulary in dictionary;
Detect current input environment;
The matching candidate vocabulary mated with current input environment is screened in described candidate's vocabulary;
When candidate's vocabulary of pointing out described phonetic corresponding, described matching candidate vocabulary is arranged in before all candidate's vocabulary.
CN201410542751.6A 2014-10-14 2014-10-14 Word prompt method and device Pending CN104317851A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410542751.6A CN104317851A (en) 2014-10-14 2014-10-14 Word prompt method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410542751.6A CN104317851A (en) 2014-10-14 2014-10-14 Word prompt method and device

Publications (1)

Publication Number Publication Date
CN104317851A true CN104317851A (en) 2015-01-28

Family

ID=52373083

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410542751.6A Pending CN104317851A (en) 2014-10-14 2014-10-14 Word prompt method and device

Country Status (1)

Country Link
CN (1) CN104317851A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017088247A1 (en) * 2015-11-23 2017-06-01 小米科技有限责任公司 Input processing method, device and apparatus
WO2017219292A1 (en) * 2016-06-22 2017-12-28 华为技术有限公司 Method and device for displaying candidate words, and graphical user interface
CN109669549A (en) * 2017-10-16 2019-04-23 北京搜狗科技发展有限公司 Alternating content generation method and device, the device generated for alternating content
CN111103986A (en) * 2018-10-26 2020-05-05 北京搜狗科技发展有限公司 User word stock management method and device and input method and device
RU2741322C1 (en) * 2020-03-13 2021-01-25 Хуавэй Текнолоджиз Ко., Лтд. Method and device for displaying possible word and graphical user interface

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1648828A (en) * 2003-07-30 2005-08-03 美国在线服务公司 System and method for disambiguating phonetic input
CN101183281A (en) * 2007-12-26 2008-05-21 腾讯科技(深圳)有限公司 Method for inputting word related to candidate word in input method and system
CN102722483A (en) * 2011-03-29 2012-10-10 百度在线网络技术(北京)有限公司 Method, apparatus and equipment for determining candidate-item sequence of input method
US20130124534A1 (en) * 2011-11-15 2013-05-16 Long Van Dinh Apparatus and method for information access, search, rank and retrieval

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1648828A (en) * 2003-07-30 2005-08-03 美国在线服务公司 System and method for disambiguating phonetic input
CN101183281A (en) * 2007-12-26 2008-05-21 腾讯科技(深圳)有限公司 Method for inputting word related to candidate word in input method and system
CN102722483A (en) * 2011-03-29 2012-10-10 百度在线网络技术(北京)有限公司 Method, apparatus and equipment for determining candidate-item sequence of input method
US20130124534A1 (en) * 2011-11-15 2013-05-16 Long Van Dinh Apparatus and method for information access, search, rank and retrieval

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017088247A1 (en) * 2015-11-23 2017-06-01 小米科技有限责任公司 Input processing method, device and apparatus
US10614154B2 (en) 2015-11-23 2020-04-07 Xiaomi Inc. Methods, devices, and computer-readable medium for predicting the intended input from a user of an application in an electronic device
WO2017219292A1 (en) * 2016-06-22 2017-12-28 华为技术有限公司 Method and device for displaying candidate words, and graphical user interface
US11010551B2 (en) 2016-06-22 2021-05-18 Huawei Technologies Co., Ltd. Method and apparatus for displaying candidate word, and graphical user interface
US11755835B2 (en) 2016-06-22 2023-09-12 Honor Device Co., Ltd. Method and apparatus for displaying candidate word, and graphical user interface
CN109669549A (en) * 2017-10-16 2019-04-23 北京搜狗科技发展有限公司 Alternating content generation method and device, the device generated for alternating content
CN111103986A (en) * 2018-10-26 2020-05-05 北京搜狗科技发展有限公司 User word stock management method and device and input method and device
CN111103986B (en) * 2018-10-26 2023-11-14 北京搜狗科技发展有限公司 User word stock management method and device, and user word stock input method and device
RU2741322C1 (en) * 2020-03-13 2021-01-25 Хуавэй Текнолоджиз Ко., Лтд. Method and device for displaying possible word and graphical user interface

Similar Documents

Publication Publication Date Title
CN104105169B (en) From method and the device of the WLAN (wireless local area network) that is dynamically connected
CN103941969A (en) Menu display method and device
CN105160239A (en) Application program access restriction method and apparatus
CN104834559A (en) Notification message display method and device
CN104216972A (en) Method and device for sending taxi business request
CN105117033A (en) Connection method and device of external equipment
CN104899610A (en) Picture classification method and device
CN103914148A (en) Function interface display method and device and terminal equipment
CN104268129A (en) Message reply method and message reply device
CN105447109A (en) Key word searching method and apparatus
CN104317851A (en) Word prompt method and device
CN104484438A (en) Image processing method and device
CN104850849A (en) Method, device and terminal for sending character
CN106791092A (en) The searching method and device of contact person
CN104267881A (en) Toolbar operating method and device
CN104615663A (en) File sorting method and device and terminal
CN105302335B (en) Vocabulary recommends method and apparatus and computer readable storage medium
CN105630749A (en) Extraction method and device of digital information
CN105187671A (en) Recording method and device
CN104281368A (en) Interface display method and device and terminal device
CN105094364A (en) Method and apparatus for displaying vocabulary
CN104636064A (en) Gesture generating method and device
CN104182473A (en) Setting option display method and device
CN104951522A (en) Searching method and device
CN103995844B (en) Information search method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20150128

RJ01 Rejection of invention patent application after publication