CN103631822A - Query method and electronic equipment - Google Patents

Query method and electronic equipment Download PDF

Info

Publication number
CN103631822A
CN103631822A CN201210308916.4A CN201210308916A CN103631822A CN 103631822 A CN103631822 A CN 103631822A CN 201210308916 A CN201210308916 A CN 201210308916A CN 103631822 A CN103631822 A CN 103631822A
Authority
CN
China
Prior art keywords
text chunk
text
query
information
query word
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201210308916.4A
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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201210308916.4A priority Critical patent/CN103631822A/en
Publication of CN103631822A publication Critical patent/CN103631822A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/33Querying
    • G06F16/332Query formulation
    • G06F16/3325Reformulation based on results of preceding query
    • G06F16/3326Reformulation based on results of preceding query using relevance feedback from the user, e.g. relevance feedback on documents, documents sets, document terms or passages

Abstract

The invention provides a query method and electronic equipment. The method is applied to the electronic equipment and includes the steps that a first query term is acquired; matching is carried out on the first query term and text segment sets which correspond to M text segment sets in a text to be queried respectively to acquire N query results, wherein each text segment set which corresponds to the corresponding text segment comprises the text segment and a second text segment associated with the text segment, M is an integer larger than 1, and N is an integer larger than or equal to zero.

Description

A kind of querying method and electronic equipment
Technical field
The present invention relates to field of computer technology, relate in particular to a kind of querying method and electronic equipment.
Background technology
Development along with electronic device technology, various electronic equipments have entered user's life, mobile phone for example, just facilitated user to carry out speech exchange, in use, user is as long as open contacts list, find own needed contact person, press dial key, just can converse with this contact person, bring great convenience to people's work and life.
When searching contact person, normally by user, with directionkeys, upwards turn over or turn over downwards, if the words of touch-screen, can to find, oneself want the contact person that looks for finger or pointer upward sliding or down sliding on touch-screen, or in search column, input the first letter of pinyin of contact person's appellation, just can navigate to fast and oneself want the contact person that looks for.
Yet, in the process of the technical scheme of the inventor in realizing the embodiment of the present invention, find, appellation for contact person of the prior art may have a variety of modes, such as address contact person's " Li Xiaoming ", may have " Li Xiaoming ", " Xiao Ming ", " obviously ", " A Ming ", " Lao Li ", " Xiao Li ", also comprise and be related to appellation, such as " father ", " son ", " teacher Li "; Yet, in contacts list, each contact person only has an appellation conventionally, so when user searches contact person, may use another appellation, so the imperfection of inquiry mechanism of the prior art, causes contact person to have the unmatched technical matters of the contact person who but inquires about less than or inquire.
Summary of the invention
The invention provides a kind of querying method and electronic equipment, in order to solve the imperfection of the inquiry mechanism existing in prior art, cause contact person to have the unmatched technical matters of the contact person who but inquires about less than or inquire.
One aspect of the present invention provides a kind of querying method, is applied in an electronic equipment, and described method comprises: obtain one first query word; The text chunk collection that described the first query word is corresponding with each text chunk in M text chunk in a text to be checked mates, the text chunk collection that described each text chunk is corresponding comprises described each text chunk and the second text chunk being associated with described each text chunk, obtains N Query Result; Wherein, M is more than or equal to 1 integer, and N is more than or equal to zero integer.
Preferably, the text chunk collection that described each text chunk is corresponding specifically obtains by following steps: based on a pre-defined rule, described each text chunk is expanded, obtained described text chunk collection; Or based on described each text chunk, in an associated vocabulary, search the second text chunk being associated with described each text chunk, obtain described text chunk collection.
Preferably, when a described N Query Result is during at least two Query Results, generate an information to be confirmed, so that at least one Query Result that user can be based at least two Query Results described in described Information Selection to be confirmed.
Preferably, after described generation one information to be confirmed, described method also comprises: receive a confirmation, described confirmation represents that described user has selected described at least one Query Result; The text chunk that described the first query word is associated with to the corresponding text chunk of each Query Result in described at least one Query Result is concentrated.
Preferably, when N is zero, generate the first information, for pointing out the first query word described in user not exist.
Preferably, when N is zero, generate the second information, for pointing out described user to inquire the text chunk corresponding with described the first query word at described text to be checked.
Preferably, after described generation the second information, described method also comprises: receive a selection information, described selection information comprises text chunk corresponding to described the first query word; The text chunk that described the first query word is associated with to the text chunk that described the first query word is corresponding is concentrated.
One embodiment of the invention also provides a kind of electronic equipment, and the first input media, for obtaining one first query word; First processor, be connected in described the first input media, for text chunk collection corresponding to each text chunk in M text chunk of described the first query word and a text to be checked mated, the text chunk collection that described each text chunk is corresponding comprises described each text chunk and the second text chunk being associated with described each text chunk, obtains N Query Result; Wherein, M is more than or equal to 1 integer, and N is more than or equal to zero integer.
Preferably, electronic equipment also comprises: the second processor, for based on a pre-defined rule, described each text chunk is expanded, and obtain described text chunk collection; Or based on described each text chunk, in an associated vocabulary, search the second text chunk being associated with described each text chunk, obtain described text chunk collection.
Preferably, described electronic equipment also comprises the 3rd processor, be connected in described first processor, for when a described N Query Result is during at least two Query Results, generate an information to be confirmed, so that at least one Query Result that user can be based at least two Query Results described in described Information Selection to be confirmed.
Preferably, described electronic equipment also comprises secondary input device, described the 3rd processor specifically, also for after described generation one information to be confirmed, receives a confirmation by described secondary input device, and described confirmation represents that described user has selected described at least one Query Result; Described first processor is concrete also to be concentrated for described the first query word being associated with to the text chunk of the corresponding text chunk of each Query Result of described at least one Query Result.
Preferably, described electronic equipment also comprises four-processor, is connected in described first processor, when as N being zero, generates the first information, for pointing out the first query word described in user not exist.
Preferably, described four-processor specifically also when as N being zero, generates the second information, for pointing out described user to inquire the text chunk corresponding with described the first query word at described text to be checked.
Described electronic equipment also comprises the 3rd input media, and described four-processor specifically, also for after described generation the second information, receives a selection information by described the 3rd input media, and described selection information comprises text chunk corresponding to described the first query word; Described first processor is concrete also to be concentrated for described the first query word being associated with to the text chunk of the text chunk that described the first query word is corresponding.
The one or more technical schemes that provide in the embodiment of the present invention, at least have following technique effect or advantage:
One embodiment of the invention adopts in query script, query word based on input, the text chunk collection that the query word of input is corresponding with each text chunk in M text chunk in a text to be checked mates, the text chunk collection that each text chunk is corresponding comprises each text chunk and the second text chunk being associated with each text chunk, for example, user wants inquiring contactor " Li Xiaoming ", what in contacts list, store is " Li Xiaoming ", text chunk collection for example comprises " Li Xiaoming " so, " Xiao Ming ", " A Ming ", " Xiao Li ", the query word of input is " Xiao Li ", so while mating, be by " Xiao Li " respectively with text chunk collection " Li Xiaoming ", " Xiao Ming ", " A Ming ", " Xiao Li " mates, will find " Li Xiaoming ", if according to method of the prior art, only the query word " Xiao Li " of input cannot be mated with " Li Xiaoming " in contacts list, so just can not find contact person's " Li Xiaoming ", but this contact person that to be not user want looks for, and method in employing the present embodiment will find and really want the contact person that looks for, and can not leak and look for or confuse.
Further, in one embodiment of the invention, when Query Result has when two or more, can generate an information to be confirmed, that Query Result that user can oneself be wanted based on this Information Selection to be confirmed, so more can guarantee the accuracy of Query Result.
Further, after user confirms, the text chunk that just query word of input is associated with to the corresponding text chunk of selecteed Query Result is concentrated, for example, the query word of input is " Xiao Li ", may be " Li Xiaoming " or " Li Xiaohong " in contacts list, after user confirms, what for example user confirmed is " Li Xiaoming ", the text chunk that just query word " Xiao Li " is associated with to contact person's " Li Xiaoming " is concentrated, when inquiring about next time, just without reaffirming, can further improve search efficiency.
Further, when the result of inquiring about when the first query word in one embodiment of the invention does not exist, just point out user to find and want the text chunk looked for by other modes, then after user finds, the text chunk that just the first query word is associated with to the text chunk that the first query word is corresponding is concentrated, so just without acknowledgment of your inquiry again, and can find text section when inquiring about next time, improve search efficiency and accuracy rate.
Accompanying drawing explanation
Fig. 1 is the method flow diagram of the querying method in one embodiment of the invention;
Fig. 2 is the functional block diagram of the electronic equipment in one embodiment of the invention.
Embodiment
The invention provides a kind of querying method and electronic equipment, in order to solve the imperfection of the inquiry mechanism existing in prior art, cause contact person to have the unmatched technical matters of the contact person who but inquires about less than or inquire.
Technical scheme in the embodiment of the present invention is for solving above-mentioned technical matters, and general thought is as follows:
One embodiment of the invention adopts in query script, query word based on input, the text chunk collection that the query word of input is corresponding with each text chunk in M text chunk in a text to be checked mates, the text chunk collection that each text chunk is corresponding comprises each text chunk and the second text chunk being associated with each text chunk, for example, user wants inquiring contactor " Li Xiaoming ", what in contacts list, store is " Li Xiaoming ", text chunk collection for example comprises " Li Xiaoming " so, " Xiao Ming ", " A Ming ", " Xiao Li ", the query word of input is " Xiao Li ", so while mating, be by " Xiao Li " respectively with text chunk collection " Li Xiaoming ", " Xiao Ming ", " A Ming ", " Xiao Li " mates, will find " Li Xiaoming ", if according to method of the prior art, only the query word " Xiao Li " of input cannot be mated with " Li Xiaoming " in contacts list, so just can not find contact person's " Li Xiaoming ", but this contact person that to be not user want looks for, and method in employing the present embodiment will find and really want the contact person that looks for, and can not leak and look for or confuse.
In order better to understand technique scheme, below in conjunction with Figure of description and concrete embodiment, technique scheme is described in detail.
One embodiment of the invention provides a kind of querying method, be applied in an electronic equipment, this electronic equipment is such as being the electronic equipments such as mobile phone, panel computer, notebook computer, and in this electronic equipment, store a text to be checked or can obtain a text to be checked by network, for example, contacts list, product list.
Please refer to Fig. 1, the method comprises:
Step 101: obtain one first query word;
Step 102: the text chunk collection that the first query word is corresponding with each text chunk in M text chunk in a text to be checked mates, the text chunk collection that each text chunk is corresponding comprises each text chunk and the second text chunk being associated with each text chunk, obtains N Query Result; Wherein, M is more than or equal to 1 integer, and N is more than or equal to zero integer.
Wherein, in step 101, obtain one first query word, concrete example is in this way by the microphone of electronic equipment or the voice messaging of microphone array typing, then passing through speech recognition, obtain the first query word, can be also by the first query word of the input media inputs such as keyboard, touch-screen.
In step 102, the text chunk collection that the first query word is corresponding with each text chunk in M text chunk in a text to be checked mates, the text chunk collection that each text chunk is corresponding comprises each text chunk and the second text chunk being associated with each text chunk, obtains N Query Result.In the present embodiment, the text chunk collection that each text chunk is corresponding specifically obtains by the following method: based on a pre-defined rule, each text chunk is expanded, obtained text chunk collection.Wherein, this pre-defined rule can be changed by user interface.The method can be carried out before step 101, also can in execution step 102, carry out,, before first text chunk of coupling, first text chunk be expanded, obtain text chunk collection, then mate, after having mated, second text chunk expanded, obtain the text chunk collection of second text chunk, and then mate, repeat this process, until mated the text chunk collection of last text chunk; Certainly, the method also can be after step 101, before step 102, carries out, for example, obtain after the first query word, then M text chunk expanded, obtain M text chunk collection, then the first query word is mated with M text chunk collection, obtain N Query Result.
Below the example for concrete is illustrated to the implementation process of the method, wherein, text to be checked be take contacts list as example, it is example that M text chunk just be take M contact person's appellation, this contacts list can be phone directory, also the buddy list in can application program, also has other various forms of lists, for example product list.
Take phone directory as example, if contact person's appellation is " Li Xiaoming ", the pre-defined rule of expansion can be before surname, to add " little " or " always " so, and the basis for estimation of " little " or " always " can be this contact person's of depositing in phone directory age information, for example within 30 years old, following be just called " little ", 30 years old and be just called above " always ", can be that the last character of name is got to folded sound in addition, i.e. " obviously ", or can also be that surname is removed, reserved name, i.e. " Xiao Ming ", or can also be in the end before a word, to add " Ah ", i.e. " A Ming ", can also expand according to the contact person's who deposits in phone directory occupation, for example the occupation of " Li Xiaoming " is teacher, so just can expand one " teacher Li " again, in a word, can expand according to other information of contact person.Various rules can be used separately also and can be used in combination above, certainly, also can carry out expanded text section with other pre-defined rules, and the present invention is not restricted.Then expansion these appellations are out added to " Li Xiaoming " deposited in script phone directory, just formed " the text chunk collection " of Li Xiaoming.
In another embodiment, the text chunk collection that each text chunk is corresponding specifically obtains by the following method: based on each text chunk, search the second text chunk being associated with each text chunk in an associated vocabulary, obtain text chunk collection.Wherein, this association vocabulary can be to be stored in electronic equipment, can be also to obtain on other electronic equipment by network, and user can upgrade this association vocabulary by a user interface, so.Equally, the method can be carried out before step 101, also can in step 102, carry out, and can be also to carry out after step 101, before step 102.
The example that continuation be take above describes as example, for contact person " Li Xiaoming ", user can input contact person's's " Li Xiaoming " text chunk collection in associated vocabulary, as long as what user often used can input, for example, " Xiao Ming " in above-described embodiment, " A Ming ", " Xiao Li ", " obviously ", user can also be according to the hobby of oneself, add " fat person " such nickname, the conjunctive word that " fat person " will concentrate as the text chunk of " Li Xiaoming " so; The appellation that can also add some relations, for example " father ", " son ", " teacher Li ".
The implementation process of description of step 101 will be continued to come with the example in above-mentioned example below, in the present embodiment, take and by phonetic entry, obtain the first query word and describe as example, in other embodiments, the first query word can be inputted by keyboard or touch-screen, but its implementation process is all similar.
For example, by microphone, obtain the first phonetic entry, by speech recognition, extract the first query word " Xiao Li ", because when using speech polling, user more gets used to using this contact person's nickname or the pet name, but that in contacts list, stores is generally all more formal, for example deposit full name or surname and add occupation, so by the mode in the present embodiment, user need not change contacts list, just can inquire the particular contact in contacts list with the appellation voice that oneself is accustomed to.
Next, the implementation process of description of step 102.
Such as the contact person in phone directory, have successively a plurality of contact persons such as " Li Xiaoming ", " Li Xiaohong ", " flower ", the text chunk collection of " Li Xiaoming " has " Li Xiaoming ", " Xiao Ming ", " A Ming ", " Xiao Li "; The text chunk collection of " Li Xiaohong " has " Li Xiaohong ", " little red ", " A Hong "; The text chunk collection of " flower " has " little Hua ", " flower Miss "; And the first query word obtaining in step 101 is " Xiao Li ", then, in step 102, " Xiao Li " mated with above-mentioned three text chunk collection, obtain a Query Result, i.e. " Li Xiaoming ".
If according to method of the prior art, only the query word " Xiao Li " of input cannot be mated with " Li Xiaoming " in contacts list, so just can not find contact person's " Li Xiaoming ", so will leak, look for, so the method search efficiency in the present embodiment is higher, finds out rate higher.Wherein, the process of coupling can be first the voice messaging of " Xiao Li " to be converted to text message to mate again, can also be the second concentrated text chunk of text chunk to be converted to the character string of phoneme, by acoustic model, the voice messaging of " Xiao Li " is also converted to again to the character string of phoneme, and then mates.
In above-described embodiment, the Query Result finally obtaining only has one, illustrates that the first query word is to concentrate at the text chunk of the corresponding text chunk of this Query Result; But in another embodiment, when Query Result is two or more, also can generate an information to be confirmed, so that at least one Query Result that user can be based at least two Query Results of Information Selection to be confirmed.
Specifically, for example, in above-mentioned example, the text chunk of " Li Xiaoming " is concentrated does not have " Xiao Li ", the result of so last coupling can be to find out with the larger contact person of " Xiao Li " correlativity, for example, after having traveled through phone directory, found out " Li Xiaoming " and " Li Xiaohong " two, because uncertain, which is, so at this moment just generate an information to be confirmed, be for example prompting frame, and be presented on the display unit of electronic equipment, and provide ACK button to user, or other forms of information, user can be confirmed.
Further, when user button or done other and triggered the action of confirming, for example, while having selected " Li Xiaoming ", electronic equipment will receive this confirmation, this confirmation represents that user has selected at least one Query Result, in the present embodiment, is " Li Xiaoming ", then final matching result will be " Li Xiaoming ", has guaranteed the accuracy of Query Result.Further, can be by the first query word, " Xiao Li " is automatically associated to contact person's's " Li Xiaoming " text chunk and concentrates, and while using " Xiao Li " inquiry next time, just do not need further to have confirmed, so can further improve search efficiency again.In the present embodiment, because the first query word " Xiao Li " is by phonetic entry, so when the text chunk that " Xiao Li " is associated with to contact person's " Li Xiaoming " is concentrated, first the voice messaging of " Xiao Li " is converted into text message " Xiao Li "; And then text information updating is concentrated to the text chunk of contact person's " Li Xiaoming " in the first identification library.
Although take in above-described embodiment, select " Li Xiaoming " to describe as example, when user has selected a plurality of contact persons, can do same processing, do not repeat them here.
In another embodiment, when N is zero, generate the first information, for pointing out user's the first query word not exist.For example, the first query word is " father ", phone directory continues to use the phone directory in above-mentioned example, and contact person has a plurality of contact persons such as " Li Xiaoming ", " Li Xiaohong ", " flower ", and the text chunk collection of " Li Xiaoming " has " Li Xiaoming ", " Xiao Ming ", " A Ming ", " Xiao Li "; The text chunk collection of " Li Xiaohong " has " Li Xiaohong ", " little red ", " A Hong "; The text chunk collection of " flower " has " little Hua ", " flower Miss "; If do not have " father " this contact person in contact person, and text chunk is concentrated and also be there is no " father " this second text chunk, and there is no the second text chunk of correlativity, so the result of last coupling can be not inquire, so generate the first information, be used for pointing out user's " father " query word not exist, in contacts list, also do not have with " father " relevant contact person.Therefore, generate information, can change other query word by reminding user.Wherein, the first information can be also the page of makeing mistakes, and can be also prompting frame.
In a further embodiment, when N is zero, also generate the second information, for pointing out user to inquire the text chunk corresponding with the first query word at text to be checked, wherein, the second information can be same information with the first information, can be also different informations.
Specifically, continue to continue to use above-mentioned example, when the Query Result of the first query word " father " is zero, at this moment just generate the second information, for example the form with prompting frame is presented on the display unit of electronic equipment, there is prompt text above, for example " whether continue to inquire about the contact person that this query word is corresponding ", there is the button of "Yes" and "No" to press for user, when user selects "Yes", just get back to contacts list picture, user can pass through other inquiry modes, variety of way of the prior art for example, or mode in the present embodiment, re-enter query word, again according to the method in the present embodiment, inquire about.
When user picks up by above variety of way the contact person who oneself wants to look for, just choose this contact person, electronic equipment will receive a selection information, this selection information comprises the text chunk that the first query word is corresponding, for example " Li Xiaoming ", the text chunk that then the first query word " father " is automatically associated to contact person's " Li Xiaoming " is concentrated, so next time during with " father " inquiry just without acknowledgment of your inquiry again, and can find text section, improved search efficiency and accuracy rate.
In each embodiment, can implement separately above, the enforcement of also can interosculating, those skilled in the art can select according to actual conditions.
A kind of electronic equipment is also provided in one embodiment of the invention, this electronic equipment is such as being the electronic equipments such as mobile phone, panel computer, notebook computer, this electronic equipment stores a text to be checked or can obtain a text to be checked by network, for example, and contacts list, product list.
As shown in Figure 2, this electronic equipment comprises: the first input media 201, for obtaining one first query word; First processor 202, be connected in the first input media 201, for text chunk collection corresponding to each text chunk in M text chunk of the first query word and a text to be checked mated, the text chunk collection that each text chunk is corresponding comprises each text chunk and the second text chunk being associated with each text chunk, obtains N Query Result; Wherein, M is more than or equal to 1 integer, and N is more than or equal to zero integer.
Wherein, the first input media 201 can be the speech input device of microphone or microphone array, can be also the input medias such as keyboard, touch-screen.First processor 202 can be the central processing unit of electronic equipment, can be also independent process chip, is arranged on the circuit board of electronic equipment.
Further, electronic equipment also comprises: the second processor, for based on a pre-defined rule, each text chunk is expanded, and obtain text chunk collection; Or based on each text chunk, in an associated vocabulary, search the second text chunk being associated with each text chunk, obtain text chunk collection.
In another embodiment, electronic equipment also comprises three processors, be connected in first processor 202, for when N Query Result is during at least two Query Results, generate an information to be confirmed, so that at least one Query Result that user can be based at least two Query Results of Information Selection to be confirmed.
In another embodiment, electronic equipment also comprises secondary input device, and the 3rd processor specifically, also for after the information to be confirmed of generation, receives a confirmation by secondary input device, and confirmation represents that user has selected at least one Query Result; First processor 202 is concrete also to be concentrated for the first query word being associated with to the text chunk of the corresponding text chunk of each Query Result of at least one Query Result.
In another embodiment, electronic equipment also comprises four-processor, is connected in first processor 202, when as N being zero, generates the first information, for pointing out user's the first query word not exist.
Further, four-processor specifically also when as N being zero, generates the second information, for pointing out user to inquire the text chunk corresponding with the first query word at text to be checked.
Further, electronic equipment also comprises the 3rd input media, and four-processor specifically, also for after generating the second information, receives a selection information by the 3rd input media, and selection information comprises the text chunk that the first query word is corresponding; First processor 202 is concrete also to be concentrated for the first query word being associated with to the text chunk of the text chunk that the first query word is corresponding.
Each embodiment can implement separately above, also can be in conjunction with enforcement, and technician can select according to actual needs.
The electronic equipment that various variation patterns in querying method in earlier figures 1 embodiment and instantiation are equally applicable to the present embodiment, by the aforementioned detailed description to querying method, those skilled in the art can clearly know the implementation method of electronic equipment in the present embodiment, so succinct for instructions, is not described in detail in this.
The one or more technical schemes that provide in the embodiment of the present invention, at least have following technique effect or advantage:
One embodiment of the invention adopts in query script, query word based on input, the text chunk collection that the query word of input is corresponding with each text chunk in M text chunk in a text to be checked mates, the text chunk collection that each text chunk is corresponding comprises each text chunk and the second text chunk being associated with each text chunk, for example, user wants inquiring contactor " Li Xiaoming ", what in contacts list, store is " Li Xiaoming ", text chunk collection for example comprises " Li Xiaoming " so, " Xiao Ming ", " A Ming ", " Xiao Li ", the query word of input is " Xiao Li ", so while mating, be by " Xiao Li " respectively with text chunk collection " Li Xiaoming ", " Xiao Ming ", " A Ming ", " Xiao Li " mates, will find " Li Xiaoming ", if according to method of the prior art, only the query word " Xiao Li " of input cannot be mated with " Li Xiaoming " in contacts list, so just can not find contact person's " Li Xiaoming ", but this contact person that to be not user want looks for, and method in employing the present embodiment will find and really want the contact person that looks for, and can not leak and look for or confuse.
Further, in one embodiment of the invention, when Query Result has when two or more, can generate an information to be confirmed, that Query Result that user can oneself be wanted based on this Information Selection to be confirmed, so more can guarantee the accuracy of Query Result.
Further, after user confirms, the text chunk that just query word of input is associated with to the corresponding text chunk of selecteed Query Result is concentrated, for example, the query word of input is " Xiao Li ", may be " Li Xiaoming " or " Li Xiaohong " in contacts list, after user confirms, what for example user confirmed is " Li Xiaoming ", the text chunk that just query word " Xiao Li " is associated with to contact person's " Li Xiaoming " is concentrated, when inquiring about next time, just without reaffirming, can further improve search efficiency.
Further, when the result of inquiring about when the first query word in one embodiment of the invention does not exist, just point out user to find and want the text chunk looked for by other modes, then after user finds, the text chunk that just the first query word is associated with to the text chunk that the first query word is corresponding is concentrated, so just without acknowledgment of your inquiry again, and can find text section when inquiring about next time, improve search efficiency and accuracy rate.
Those skilled in the art should understand, embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt complete hardware implementation example, implement software example or in conjunction with the form of the embodiment of software and hardware aspect completely.And the present invention can adopt the form that wherein includes the upper computer program of implementing of computer-usable storage medium (including but not limited to magnetic disk memory and optical memory etc.) of computer usable program code one or more.
The present invention is with reference to describing according to process flow diagram and/or the block scheme of the method for the embodiment of the present invention, equipment (system) and computer program.Should understand can be in computer program instructions realization flow figure and/or block scheme each flow process and/or the flow process in square frame and process flow diagram and/or block scheme and/or the combination of square frame.Can provide these computer program instructions to the processor of multi-purpose computer, special purpose computer, Embedded Processor or other programmable data processing device to produce a machine, the instruction of carrying out by the processor of computing machine or other programmable data processing device is produced for realizing the device in the function of flow process of process flow diagram or a plurality of flow process and/or square frame of block scheme or a plurality of square frame appointments.
These computer program instructions also can be stored in energy vectoring computer or the computer-readable memory of other programmable data processing device with ad hoc fashion work, the instruction that makes to be stored in this computer-readable memory produces the manufacture that comprises command device, and this command device is realized the function of appointment in flow process of process flow diagram or a plurality of flow process and/or square frame of block scheme or a plurality of square frame.
These computer program instructions also can be loaded in computing machine or other programmable data processing device, make to carry out sequence of operations step to produce computer implemented processing on computing machine or other programmable devices, thereby the instruction of carrying out is provided for realizing the step of the function of appointment in flow process of process flow diagram or a plurality of flow process and/or square frame of block scheme or a plurality of square frame on computing machine or other programmable devices.
Obviously, those skilled in the art can carry out various changes and modification and not depart from the spirit and scope of the present invention the present invention.Like this, if within of the present invention these are revised and modification belongs to the scope of the claims in the present invention and equivalent technologies thereof, the present invention is also intended to comprise these changes and modification interior.

Claims (14)

1. a querying method, is applied to, in an electronic equipment, it is characterized in that, described method comprises:
Obtain one first query word;
The text chunk collection that described the first query word is corresponding with each text chunk in M text chunk in a text to be checked mates, the text chunk collection that described each text chunk is corresponding comprises described each text chunk and the second text chunk being associated with described each text chunk, obtains N Query Result; Wherein, M is more than or equal to 1 integer, and N is more than or equal to zero integer.
2. the method for claim 1, is characterized in that, the text chunk collection that described each text chunk is corresponding specifically obtains by following steps:
Based on a pre-defined rule, described each text chunk is expanded, obtain described text chunk collection; Or
Based on described each text chunk, in an associated vocabulary, search the second text chunk being associated with described each text chunk, obtain described text chunk collection.
3. the method for claim 1, it is characterized in that, when a described N Query Result is during at least two Query Results, generate an information to be confirmed, so that at least one Query Result that user can be based at least two Query Results described in described Information Selection to be confirmed.
4. method as claimed in claim 3, is characterized in that, after described generation one information to be confirmed, described method also comprises:
Receive a confirmation, described confirmation represents that described user has selected described at least one Query Result;
The text chunk that described the first query word is associated with to the corresponding text chunk of each Query Result in described at least one Query Result is concentrated.
5. the method for claim 1, is characterized in that, when N is zero, generates the first information, for pointing out the first query word described in user not exist.
6. method as claimed in claim 5, is characterized in that, when N is zero, generates the second information, for pointing out described user to inquire the text chunk corresponding with described the first query word at described text to be checked.
7. method as claimed in claim 6, is characterized in that, after described generation the second information, described method also comprises:
Receive a selection information, described selection information comprises text chunk corresponding to described the first query word;
The text chunk that described the first query word is associated with to the text chunk that described the first query word is corresponding is concentrated.
8. an electronic equipment, is characterized in that, comprising:
The first input media, for obtaining one first query word;
First processor, be connected in described the first input media, for text chunk collection corresponding to each text chunk in M text chunk of described the first query word and a text to be checked mated, the text chunk collection that described each text chunk is corresponding comprises described each text chunk and the second text chunk being associated with described each text chunk, obtains N Query Result; Wherein, M is more than or equal to 1 integer, and N is more than or equal to zero integer.
9. electronic equipment as claimed in claim 8, is characterized in that, described electronic equipment also comprises:
The second processor, for based on a pre-defined rule, expands described each text chunk, obtains described text chunk collection; Or based on described each text chunk, in an associated vocabulary, search the second text chunk being associated with described each text chunk, obtain described text chunk collection.
10. electronic equipment as claimed in claim 8, it is characterized in that, described electronic equipment also comprises the 3rd processor, be connected in described first processor, for when a described N Query Result is during at least two Query Results, generate an information to be confirmed, so that at least one Query Result that user can be based at least two Query Results described in described Information Selection to be confirmed.
11. electronic equipments as claimed in claim 10, it is characterized in that, described electronic equipment also comprises secondary input device, described the 3rd processor is specifically also for after described generation one information to be confirmed, by described secondary input device, receive a confirmation, described confirmation represents that described user has selected described at least one Query Result; Described first processor is concrete also to be concentrated for described the first query word being associated with to the text chunk of the corresponding text chunk of each Query Result of described at least one Query Result.
12. electronic equipments as claimed in claim 8, is characterized in that, described electronic equipment also comprises four-processor, are connected in described first processor, when as N being zero, generate the first information, for pointing out the first query word described in user not exist.
13. electronic equipments as claimed in claim 12, it is characterized in that, described four-processor specifically also when as N being zero, generates the second information, for pointing out described user to inquire the text chunk corresponding with described the first query word at described text to be checked.
14. electronic equipments as claimed in claim 13, it is characterized in that, described electronic equipment also comprises the 3rd input media, described four-processor is specifically also for after described generation the second information, by described the 3rd input media, receive a selection information, described selection information comprises text chunk corresponding to described the first query word; Described first processor is concrete also to be concentrated for described the first query word being associated with to the text chunk of the text chunk that described the first query word is corresponding.
CN201210308916.4A 2012-08-27 2012-08-27 Query method and electronic equipment Pending CN103631822A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210308916.4A CN103631822A (en) 2012-08-27 2012-08-27 Query method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210308916.4A CN103631822A (en) 2012-08-27 2012-08-27 Query method and electronic equipment

Publications (1)

Publication Number Publication Date
CN103631822A true CN103631822A (en) 2014-03-12

Family

ID=50212889

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210308916.4A Pending CN103631822A (en) 2012-08-27 2012-08-27 Query method and electronic equipment

Country Status (1)

Country Link
CN (1) CN103631822A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104079721A (en) * 2014-06-26 2014-10-01 北京百纳威尔科技有限公司 Terminal contact person security processing method and device
CN105468601A (en) * 2014-08-21 2016-04-06 富泰华工业(深圳)有限公司 Information processing apparatus, information processing system and information processing method
CN110246493A (en) * 2019-05-06 2019-09-17 百度在线网络技术(北京)有限公司 Address book contact lookup method, device and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101009726A (en) * 2006-12-28 2007-08-01 上海柯斯软件有限公司 The method of the cooperative use of the data structure of the phone directory in the large-capacity SIM card
CN101014059A (en) * 2007-01-11 2007-08-08 上海柯斯软件有限公司 Method for storing and extending data information of electric phone book
CN101031115A (en) * 2007-03-29 2007-09-05 上海序参量科技发展有限公司 Method for searching SMS contactor and its usage

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101009726A (en) * 2006-12-28 2007-08-01 上海柯斯软件有限公司 The method of the cooperative use of the data structure of the phone directory in the large-capacity SIM card
CN101014059A (en) * 2007-01-11 2007-08-08 上海柯斯软件有限公司 Method for storing and extending data information of electric phone book
CN101031115A (en) * 2007-03-29 2007-09-05 上海序参量科技发展有限公司 Method for searching SMS contactor and its usage

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104079721A (en) * 2014-06-26 2014-10-01 北京百纳威尔科技有限公司 Terminal contact person security processing method and device
CN104079721B (en) * 2014-06-26 2017-01-18 北京百纳威尔科技有限公司 Terminal contact person security processing method and device
CN105468601A (en) * 2014-08-21 2016-04-06 富泰华工业(深圳)有限公司 Information processing apparatus, information processing system and information processing method
CN110246493A (en) * 2019-05-06 2019-09-17 百度在线网络技术(北京)有限公司 Address book contact lookup method, device and storage medium

Similar Documents

Publication Publication Date Title
US11423898B2 (en) Voice identification in digital assistant systems
US9865264B2 (en) Selective speech recognition for chat and digital personal assistant systems
AU2015210460B2 (en) Speech recognition repair using contextual information
CN105264485B (en) Content is provided in multiple equipment
CN102137085B (en) For the system and method for the multidimensional disambiguation of voice command
EP2440988B1 (en) Touch anywhere to speak
EP4064276A1 (en) Method and device for speech recognition, terminal and storage medium
JP5860171B2 (en) Input processing method and apparatus
CN108242235A (en) Electronic equipment and its audio recognition method
CN107491284A (en) The digital assistants of automation state report are provided
CN108604449A (en) speaker identification
EP2523188A1 (en) Speech recognition system and method based on word-level candidate generation
CN107257950A (en) Virtual assistant continuity
CN102880376A (en) Systems and methods for smart texting on mobile devices
JP2015531109A (en) Contextual query tuning using natural motion input
WO2006076304A1 (en) Method and system for controlling input modalties in a multimodal dialog system
CN103870133A (en) Method and apparatus for scrolling screen of display device
CN102681747A (en) Terminal device and method for dynamically displaying application identification information
CN109144285A (en) A kind of input method and device
CN104978045B (en) A kind of Chinese character input method and device
CN103632665A (en) Voice identification method and electronic device
CN103631822A (en) Query method and electronic equipment
CN103207726A (en) Apparatus And Method For Providing Shortcut Service In Portable Terminal
CN102999639A (en) Speech recognition character index based method and system for searching
US10769182B2 (en) System and method of highlighting terms

Legal Events

Date Code Title Description
PB01 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20140312