CN106649249A - Retrieval method and retrieval device - Google Patents
Retrieval method and retrieval device Download PDFInfo
- Publication number
- CN106649249A CN106649249A CN201510412382.3A CN201510412382A CN106649249A CN 106649249 A CN106649249 A CN 106649249A CN 201510412382 A CN201510412382 A CN 201510412382A CN 106649249 A CN106649249 A CN 106649249A
- Authority
- CN
- China
- Prior art keywords
- retrieval result
- retrieval
- participle
- user
- term
- 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
Links
Abstract
The invention puts forward a retrieval method and device. The retrieval method comprises the following steps of receiving a retrieval word input by a user; according to a first preset way, carrying out word segmentation processing on the retrieval word, and obtaining first retrieval results corresponding to a plurality of first segmented words according to the plurality of processed first segmented words; according to a second preset way, carrying out word segmentation processing on the retrieval word, and obtaining second retrieval results corresponding to a plurality of second segmented words according to the plurality of processed second segmented words, wherein the granularity of each second segmented word is smaller than the granularity of each first segmented word; and according to the first retrieval results and the second retrieval results, generating a retrieval result set, and returning the retrieval result set to a user. By use of the retrieval method of the embodiment of the invention, the retrieval results provided for the user by a navigation system more conform to the intention of the user, and the comprehensiveness of the retrieval results is guaranteed.
Description
Technical field
The present invention relates to retrieval technique field, more particularly to a kind of search method and retrieval device.
Background technology
At present, user can search the various points of interest related to place by navigation system, and navigation system is emerging by what is found
Interest point is shown to user, can be so as to user's recommended route, guiding user eventually arrives at point of interest.It is user in navigation system
When providing service, navigation system generally needs first to carry out word segmentation processing to key word, then by multiple participles of key word with
The interest point information preserved in data base is matched, so as to the interest point information for obtaining matching is returned as retrieval result
Check to user.
However, the problem that presently, there are is, and when navigation system carries out word segmentation processing using segmentation methods to key word, one
Aspect to the participle error of key word easily because cause retrieval failure, it is impossible to inquires the retrieval knot required for user
Really, on the other hand easily because not comprehensive to the inaccurate scope for causing to retrieve of participle of key word, retrieval result is not inconsistent
The intention at family is shared, user is bad using the experience of navigation system.
The content of the invention
It is contemplated that at least solving one of technical problem in correlation technique to a certain extent.
For this purpose, first purpose of the present invention is to propose a kind of search method, it is user that the search method causes navigation system
The retrieval result of offer more conforms to the intention of user, it is ensured that retrieval result it is comprehensive.
Second object of the present invention is to propose a kind of retrieval device.
Be that, up to above-mentioned purpose, first aspect present invention embodiment proposes a kind of search method, wherein, methods described include with
Lower step:The term of receiving user's input;Word segmentation processing is carried out to the term according to the first predetermined manner, and
Multiple first participles after according to process obtain corresponding first retrieval result of the plurality of first participle;It is pre- according to second
If mode carries out word segmentation processing to the term, and according to process after multiple second participles obtain the plurality of second
Corresponding second retrieval result of participle, wherein, the granularity of second participle is less than the granularity of the first participle;With
And retrieval result set is generated according to first retrieval result and second retrieval result, and by the retrieval result
Set is back to the user.
The search method of the embodiment of the present invention, navigation system adopts varigrained participle twice to the term of user input
Process, and respectively matched the participle and interest point data that process acquisition twice, will twice match the retrieval of acquisition
As a result user is returned to, so that the retrieval result that navigation system is provided the user more conforms to the intention of user,
Ensure that the comprehensive of retrieval result.
It is that, up to above-mentioned purpose, second aspect present invention embodiment proposes a kind of retrieval device, including:First receiver module,
For the term of receiving user's input;First acquisition module, for being entered to the term according to the first predetermined manner
Row word segmentation processing, and according to process after multiple first participles obtain the corresponding first retrieval knot of the plurality of first participle
Really;Second acquisition module, for carrying out word segmentation processing to the term according to the second predetermined manner, and according to process
Multiple second participles afterwards obtain corresponding second retrieval result of the plurality of second participle, wherein, second participle
Granularity less than the first participle granularity;And generation module, for according to first retrieval result and described
Second retrieval result generates retrieval result set, and the retrieval result set is back to into the user.The present invention is implemented
The retrieval device of example, to the term of user input varigrained word segmentation processing twice is adopted, and will be located twice respectively
The participle and interest point data that reason is obtained is matched, and the retrieval result that acquisition is matched twice is returned to into user, from
And cause the retrieval result that provides the user of navigation system to more conform to the intention of user, it is ensured that retrieval result it is comprehensive
Property.
The additional aspect of the present invention and advantage will be set forth in part in the description, and partly will from the following description become bright
It is aobvious, or recognized by the practice of the present invention.
Description of the drawings
The above-mentioned and/or additional aspect of the present invention and advantage will be apparent from from the following description of the accompanying drawings of embodiments
With it is easy to understand, wherein:
Fig. 1 is the flow chart of the search method of one embodiment of the invention;
Fig. 2 is the flow chart of the search method of a specific embodiment of the invention;
Fig. 3 is the structural representation of the retrieval device of one embodiment of the invention;And
Fig. 4 is the structural representation of the retrieval device of one specific embodiment of the present invention.
Specific embodiment
Embodiments of the invention are described below in detail, the example of the embodiment is shown in the drawings, wherein identical from start to finish
Or similar label represents same or similar element or the element with same or like function.Retouch below with reference to accompanying drawing
The embodiment stated is exemplary, it is intended to for explaining the present invention, and be not considered as limiting the invention.
Additionally, term " first ", " second " be only used for describe purpose, and it is not intended that indicate or imply relative importance or
The implicit quantity for indicating indicated technical characteristic.Thus, " first " is defined, the feature of " second " can be expressed or hidden
Include one or more this feature containing ground.In describing the invention, " multiple " are meant that two or more,
Unless otherwise expressly limited specifically.
In flow chart or here any process described otherwise above or method description are construed as, expression includes one
Or more module, fragment or parts for being used for the code of executable instruction the step of realize specific logical function or process,
And the scope of the preferred embodiment of the present invention includes other realization, wherein order that is shown or discussing can not be pressed,
Including according to involved function by it is basic simultaneously in the way of or in the opposite order, carry out perform function, this should be by the present invention's
Embodiment person of ordinary skill in the field understood.
Fig. 1 is the flow chart of the search method of one embodiment of the invention.
As shown in figure 1, search method includes:
S101, the term of receiving user's input.
Specifically, term can be sentence, or phrase, navigation system receive user by touch screen or
The term of the input equipments such as keyboard input.
S102, according to the first predetermined manner word segmentation processing is carried out to term, and according to process after multiple first participles obtain
Take corresponding first retrieval result of multiple first participles.
Specifically, navigation system, can be according to the first predetermined manner to inspection after the term for receiving user input
Rope word carries out participle.For example, so that the term of user input is " Biyadi Co Ltd " as an example, navigation system
After term is carried out into participle, " BYD ", " share ", " limited ", " company " four first participles can be obtained.
In one embodiment of the invention, the first predetermined manner can be statistical morphology, or mechanical Chinese word segmentation method,
That is, navigation system can carry out participle according to statistical morphology or mechanical Chinese word segmentation method to term.Specifically
For, statistical morphology is that statistical analysiss are carried out to existing interest point data by the way of probability statistics, and according to
The frequency occurred before and after individual character in interest point data judges whether key word is a phrase, so as to generate point of interest dictionary.
Statistical morphology is using Forward Maximum Method method, reverse maximum matching method or two-way maximum matching method to user input
Term carries out participle, wherein, Forward Maximum Method method be by the term of user input and point of interest dictionary matching,
Matching length is maximum and participle sum is minimum, as word segmentation result.Reverse maximum matching method is by the retrieval of user input
Word is inversely matched with point of interest dictionary, and matching length is maximum and participle sum is minimum, as word segmentation result.And it is two-way most
Big matching method is that, simultaneously using positive matching and reverse matching, matching length is maximum and participle sum is minimum, as participle
As a result.For example, so that the term of user input is " BYD company " as an example, navigation system is using statistical morphology
When, according to statistic analysis result, the probability highest that " ratio ", " Asia ", " enlightening " three words occur simultaneously, therefore will be " than sub-
Enlightening " is used as a first participle, and the frequency highest that " public affairs ", " department " two words occur simultaneously, therefore by " company " conduct
Another first participle.
Mechanical Chinese word segmentation rule adopts two-way maximum matching method, entry that will be in term and the dictionary for word segmentation of user input
Positive and reverse matching is carried out, maximum one participle of conduct of matching length is chosen.For example, with the retrieval of user input
Word is as a example by " BYD company ", there are " than sub- ", " Ya Di ", " BYD ", " company " four words in dictionary for word segmentation,
According to the principle of maximum bi-directional matching, by " BYD " three words as a first participle, and " company " two words are made
For another first participle.
It should be appreciated that navigation system carries out participle according to statistical morphology or mechanical Chinese word segmentation method to term can adopt
Realized with existing mode, no longer gone to live in the household of one's in-laws on getting married again herein.
After multiple first participles that navigation system obtains term, navigation system will be deposited in the first participle and data base
The interest point data of storage is matched, wherein, navigation system first adopts and word segmentation processing identical mode is carried out to term
Word segmentation processing is carried out to interest point data, then again the participle of the first participle of term and interest point data is carried out
Match somebody with somebody, so as to obtain one or more interest point data of matching, and using the interest point data of matching as the first retrieval
As a result.
S103, according to the second predetermined manner word segmentation processing is carried out to term, and according to process after multiple second participles obtain
Corresponding second retrieval result of multiple second participles is taken, wherein, the granularity of the second participle is less than the granularity of the first participle.
Specifically, because dividing easily occurs when word segmentation processing is carried out to term according to the first predetermined manner in navigation system
Word mistake or the inaccurate problem of participle, cause navigation system not meet user's according to the retrieval result that participle is obtained
Be intended to or the incomplete problem of retrieval result scope, therefore navigation system according further to the second predetermined manner to term
Carry out word segmentation processing again, obtain and compared less multiple second participles of granularity with the first participle.
In one embodiment of the invention, the second predetermined manner includes individual character participle method.Specifically, individual character participle
Method refers to each individual character in the term using user input as a participle, for example, with the retrieval of user input
Word is as a example by " BYD company ", to be split as " ratio ", " Asia ", " enlightening ", " public affairs ", " department " totally 5 the second participles.
After multiple second participles that navigation system obtains term, navigation system will be deposited in the second participle and data base
The interest point data of storage is matched, so as to obtain one or more interest point data of matching and emerging by what is matched
Interesting point data is used as the second retrieval result.Wherein, navigation system by the matching process of the second participle and interest point data and
The first participle is identical with the matching process of interest point data.
S104, according to the first retrieval result and the second retrieval result retrieval result set is generated, and retrieval result set is returned
It is back to user.
Specifically, navigation system adds the first retrieval result obtained by match interest point data and the second retrieval result
Enter to retrieval result set, and retrieval result set be shown to into user to check.
The search method of the embodiment of the present invention, navigation system adopts varigrained participle twice to the term of user input
Process, and respectively matched the participle and interest point data that process acquisition twice, will twice match the retrieval of acquisition
As a result user is returned to, so that the retrieval result that navigation system is provided the user more conforms to the intention of user,
Ensure that the comprehensive of retrieval result.
Fig. 2 is the flow chart of the search method of a specific embodiment of the invention.
As shown in Fig. 2 search method includes:
S201, the term of receiving user's input.
S202, according to the first predetermined manner word segmentation processing is carried out to term, and according to process after multiple first participles obtain
Take corresponding first retrieval result of multiple first participles.
S203, according to the second predetermined manner word segmentation processing is carried out to term, and according to process after multiple second participles obtain
Corresponding second retrieval result of multiple second participles is taken, wherein, the granularity of the second participle is less than the granularity of the first participle.
S204, calculates the quantity of the first retrieval result and/or the second retrieval result, and in the first retrieval result and/or second
When the quantity of retrieval result reaches preset value, the first retrieval result and/or the second retrieval result are added to retrieval set
In conjunction, and retrieval result set is back to into user.
Specifically, navigation system is obtaining respectively the first retrieval result and the second retrieval according to the first participle and the second participle
When as a result, can be with the retrieval result of real-time statistics first and the quantity of the second retrieval result, whenever the number of the first retrieval result
When amount reaches preset value, to user first retrieval result is returned.In the same manner, whenever the quantity of the second retrieval result reaches
During to preset value, to user second retrieval result is returned.Wherein, preset value can be given tacit consent in navigation system,
Can also be that user is arranged according to self-demand in navigation system.For example, when preset value is 5, navigation system
Often retrieve 5 the first retrieval results and just once returned operation, this 5 first retrieval results are added to retrieval
In results set and it is shown to user and checks.In the same manner, navigation system often retrieves 5 the second retrieval results and is also carried out one
It is secondary to return operation, this 5 second retrieval results are also added into retrieval result set and are shown to user and is checked.By
This, the first retrieval result and the second retrieval result can in batches be returned to user by navigation system, be not according to
One participle and the second participle match interest point data disposably return all of first retrieval result and the second retrieval when completing
As a result, it is to avoid navigation system is long to the interval time for obtaining retrieval result from term is obtained.
S205, operation of the receive user to the first retrieval result or the second retrieval result in retrieval result set, and in user
When selecting the first retrieval result or the second retrieval result, terminate retrieval.
Specifically, navigation system is to user during the first retrieval result and the second retrieval result is returned in batches, such as
Fruit user selectes the retrieval result of user's subsequent operation from the first retrieval result and the second retrieval result for having returned, then
Navigation system terminates retrieval, and the shared system of release retrieval at the end of retrieval after the operation for receiving user
Resource.
Retrieval result is returned to use by the search method of the embodiment of the present invention, navigation system in batches when retrieval result is got
Family checks, such that it is able to improve the return speed of retrieval result, quickly responds the search operaqtion of user, prevents because of inspection
The seemingly-dead phenomenon of system, improves Consumer's Experience caused by rope overlong time.
In one embodiment of the invention, navigation system according to the first participle and the second participle respectively with interest point
Obtain when corresponding first retrieval result and the second retrieval result according to being matched, navigation system receive user first sets
Fixed range of search, in the range of search according to user's setting interest point data is traveled through successively.If user is not provided with inspection
Rope scope, then navigation system can according to the current location of user judge user be located city, and by user be located
City is set to range of search, and in the range of search for arranging interest point data is traveled through successively.Thus, it is possible to be user
Offer more meets the retrieval result of user's request, further lifts Consumer's Experience.
In order to realize above-described embodiment, the present invention also proposes a kind of retrieval device.
Fig. 3 is the structural representation of the retrieval device of one embodiment of the invention, as shown in figure 3, retrieval device includes:
First receiver module 100, the first acquisition module 200, the second acquisition module 300 and generation module 400.
Specifically, the first receiver module 100 is used for the term of receiving user's input.Specifically, term can be with
It is sentence, or phrase, the receive user of the first receiver module 100 passes through the input equipment such as touch screen or keyboard
The term of input.
First acquisition module 200 is used to carry out term word segmentation processing according to the first predetermined manner, and according to process after
Multiple first participles obtain corresponding first retrieval result of the multiple first participles.Specifically, the first receiver module 100
After the term for receiving user input, the first acquisition module 200 can be according to the first predetermined manner to term
Carry out participle.For example, so that the term of user input is " Biyadi Co Ltd " as an example, navigation system is being incited somebody to action
Term is carried out after participle, can obtain " BYD ", " share ", " limited ", " company " four first participles.
In one embodiment of the invention, the first predetermined manner can be statistical morphology, or mechanical Chinese word segmentation method,
That is, the first acquisition module 200 can be carried out point according to statistical morphology or mechanical Chinese word segmentation method to term
Word.Specifically, statistical morphology is to carry out statistical analysiss to existing interest point data by the way of probability statistics,
And judge whether key word is a phrase according to the frequency occurred before and after individual character in interest point data, so as to generate interest
Point dictionary.Statistical morphology using Forward Maximum Method method, reverse maximum matching method or two-way maximum matching method to
The term of family input carries out participle, wherein, Forward Maximum Method method is by the term of user input and point of interest word
Allusion quotation is matched, and matching length is maximum and participle sum is minimum, as word segmentation result.Reverse maximum matching method is that user is defeated
The term for entering inversely is matched with point of interest dictionary, and matching length is maximum and participle sum is minimum, as word segmentation result.
And two-way maximum matching method is simultaneously that, using positive matching and reverse matching, matching length is maximum and participle sum is minimum,
As word segmentation result.For example, so that the term of user input is " BYD company " as an example, navigation system is using system
During score morphology, according to statistic analysis result, the probability highest that " ratio ", " Asia ", " enlightening " three words occur simultaneously, therefore
By " BYD " as a first participle, and the frequency highest that " public affairs ", " department " two words occur simultaneously, therefore will be " public
Department " is used as another first participle.
Mechanical Chinese word segmentation rule adopts two-way maximum matching method, entry that will be in term and the dictionary for word segmentation of user input
Positive and reverse matching is carried out, maximum one participle of conduct of matching length is chosen.For example, with the retrieval of user input
Word is as a example by " BYD company ", there are " than sub- ", " Ya Di ", " BYD ", " company " four words in dictionary for word segmentation,
According to the principle of maximum bi-directional matching, by " BYD " three words as a first participle, and " company " two words are made
For another first participle.
After multiple first participles that the first acquisition module 200 obtains term, the first acquisition module 200 is by first
Participle is matched with the interest point data stored in data base, wherein, the first acquisition module 200 is first using to retrieval
Word carries out word segmentation processing identical mode and carries out word segmentation processing to interest point data, then again by the first participle of term
Matched with the participle of interest point data, so as to obtain one or more interest point data of matching, and will matching
Interest point data as the first retrieval result.
Second acquisition module 300 is used to carry out term word segmentation processing according to the second predetermined manner, and according to process after
Multiple second participles obtain corresponding second retrieval result of multiple second participles, wherein, the granularity of the second participle is less than
The granularity of the first participle.Specifically, because the first acquisition module 200 is entering according to the first predetermined manner to term
Easily occur participle mistake or participle inaccurate problem during row word segmentation processing, cause the basis of the first acquisition module 200
The retrieval result that participle is obtained does not meet the intention or the incomplete problem of retrieval result scope of user, therefore second
Acquisition module 300 carries out again word segmentation processing to term according further to the second predetermined manner, obtains compared with the first participle
For less multiple second participles of granularity.
In one embodiment of the invention, the second predetermined manner includes individual character participle method.Specifically, individual character participle
Method refers to each individual character in the term using user input as a participle, for example, with the retrieval of user input
Word is as a example by " BYD company ", to be split as " ratio ", " Asia ", " enlightening ", " public affairs ", " department " totally 5 the second participles.
After multiple second participles that the second acquisition module 300 obtains term, the second acquisition module 300 is by second
Participle is matched with the interest point data stored in data base, so as to obtain one or more interest point of matching
According to, and using the interest point data of matching as the second retrieval result.Wherein, the second acquisition module 300 is by the second participle
With the matching process and the first acquisition module 200 of interest point data by the first participle and the matching process phase of interest point data
Together.
Generation module 400 is used to generate retrieval result set according to the first retrieval result and the second retrieval result, and will inspection
Rope results set is back to user.Specifically, generation module 400 is by the first acquisition module 200 and the second acquisition module
300 the first retrieval results and the second retrieval result for being obtained by match interest point data respectively are added to retrieval set
Close, and retrieval result set is shown to into user and check.
The retrieval device of the embodiment of the present invention, to the term of user input varigrained word segmentation processing twice is adopted, and
The participle and interest point data that process acquisition twice are matched respectively, the retrieval result that acquisition is matched twice is returned
Back to user, so that the retrieval result that navigation system is provided the user more conforms to the intention of user, it is ensured that inspection
Hitch fruit it is comprehensive.
Fig. 4 is the structural representation of the retrieval device of one specific embodiment of the present invention, as shown in figure 4, retrieval device
Including:First receiver module 100, the first acquisition module 200, the second acquisition module 300, generation module 400 and
Two receiver modules 500.
Specifically, in one embodiment of the invention, generation module 400 is additionally operable to according to the first participle and second
When participle obtains respectively the first retrieval result and the second retrieval result, the first retrieval result and/or the second retrieval result are calculated
Quantity, and when the quantity of the first retrieval result and/or the second retrieval result reaches preset value, by the first retrieval result
And/or second retrieval result add into retrieval result set, and retrieval result set is back to into user.Specifically,
First acquisition module 200 and the second acquisition module 300 according to the first participle and the second participle are obtaining respectively first respectively
When retrieval result and the second retrieval result, generation module 400 can be with the retrieval result of real-time statistics first and the second retrieval knot
The quantity of fruit, when the quantity of the first retrieval result reaches preset value, generation module 400 to user returns one time the
One retrieval result.In the same manner, when the quantity of the second retrieval result reaches preset value, generation module 400 is returned to user
Return second retrieval result.Wherein, preset value can be in navigation system acquiescence, or user according to from
What body demand was arranged in navigation system.For example, when preset value is 5, generation module 400 often retrieves 5 the
One retrieval result is just once returned operation, and this 5 first retrieval results are added into retrieval result set and shown
Show and checked to user.In the same manner, generation module 400 often retrieves 5 the second retrieval results and is also carried out once returning operation,
This 5 second retrieval results are also added into retrieval result set and are shown to user and is checked.Thus, generation module
First retrieval result and the second retrieval result can in batches be returned to user by 400, be not according to the first participle and
Two participle match interest point datas disposably return all of first retrieval result and the second retrieval result when completing, it is to avoid
Navigation system is long to the interval time for obtaining retrieval result from term is obtained.
Second receiver module 500 is used for receive user to the first retrieval result in retrieval result set or the second retrieval result
Operation, and select the first retrieval result or during the second retrieval result in user, terminate retrieval.Specifically, generate
Module 400 during the first retrieval result and the second retrieval result is returned to user in batches, if user returns from
The retrieval result of user's subsequent operation is selected in the first retrieval result returned and the second retrieval result, then the second receiver module
500 after the operation for receiving user, terminates retrieval, and the shared system resource of release retrieval at the end of retrieval.
The retrieval device of the embodiment of the present invention, returns to retrieval result user and checks in batches when retrieval result is got,
Such that it is able to improve the return speed of retrieval result, the search operaqtion of user is quickly responded, prevented because of retrieval time mistake
The seemingly-dead phenomenon of system, improves Consumer's Experience caused by long.
It should be appreciated that each several part of the present invention can be realized with hardware, software, firmware or combinations thereof.In above-mentioned reality
In applying mode, software that multiple steps or method can in memory and by suitable instruction execution system be performed with storage or
Firmware is realizing.For example, if realized with hardware, and in another embodiment, can be with well known in the art
Any one of row technology or their combination are realizing:With for realizing the logic gates of logic function to data signal
Discrete logic, the special IC with suitable combinational logic gate circuit, programmable gate array (PGA) is existing
Field programmable gate array (FPGA) etc..
In the present invention, unless otherwise clearly defined and limited, term " installation ", " connected ", " connection ", etc. term should do
Broadly understood, for example, it may be fixedly connected, or be detachably connected, or it is integral;Can be mechanically connected,
It can also be electrical connection;Can be joined directly together, it is also possible to be indirectly connected to by intermediary, can be two element internals
Connection or two elements interaction relationship, unless otherwise clearly restriction.For one of ordinary skill in the art
Speech, can as the case may be understand above-mentioned term concrete meaning in the present invention.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specific example ",
Or the description of " some examples " etc. means to combine specific features, structure, material or feature bag that the embodiment or example are described
In being contained at least one embodiment of the present invention or example.In this manual, to the schematic representation of above-mentioned term necessarily
It is directed to identical embodiment or example.And, the specific features of description, structure, material or feature can be arbitrary
Combine in an appropriate manner in individual or multiple embodiments or example.Additionally, in the case of not conflicting, the skill of this area
Art personnel can be combined the feature of the different embodiments or example described in this specification and different embodiments or example
And combination.
Although embodiments of the invention have been shown and described above, it is to be understood that above-described embodiment be it is exemplary,
It is not considered as limiting the invention, one of ordinary skill in the art within the scope of the invention can be to above-described embodiment
It is changed, changes, replacing and modification.
Claims (10)
1. a kind of search method, it is characterised in that comprise the following steps:
The term of receiving user's input;
Word segmentation processing is carried out to the term according to the first predetermined manner, and according to process after multiple first participles obtain
Take corresponding first retrieval result of the plurality of first participle;
Word segmentation processing is carried out to the term according to the second predetermined manner, and according to process after multiple second participles obtain
Corresponding second retrieval result of the plurality of second participle is taken, wherein, the granularity of second participle is less than described first
The granularity of participle;And
Retrieval result set is generated according to first retrieval result and second retrieval result, and the retrieval is tied
Fruit set is back to the user.
2. search method as claimed in claim 1, it is characterised in that also include:
First retrieval result and second retrieval are being obtained respectively according to the first participle and second participle
When as a result, the quantity of first retrieval result and/or second retrieval result is calculated, and in the described first retrieval knot
When the quantity of fruit and/or second retrieval result reaches preset value, by first retrieval result and/or second inspection
Fruit adds into the retrieval result set hitch, and the retrieval result set is back to into the user.
3. search method as claimed in claim 2, it is characterised in that also include:
Operation of the receive user to the first retrieval result or second retrieval result described in the retrieval result set,
And when user selectes first retrieval result or second retrieval result, terminate retrieval.
4. the search method as described in any one of claim 1-3, it is characterised in that first predetermined manner includes
One kind in statistical morphology and mechanical Chinese word segmentation method.
5. the search method as described in any one of claim 1-3, it is characterised in that second predetermined manner includes
Individual character participle method.
6. it is a kind of to retrieve device, it is characterised in that to include:
First receiver module, for the term of receiving user's input;
First acquisition module, for carrying out word segmentation processing to the term according to the first predetermined manner, and according to process
Multiple first participles afterwards obtain corresponding first retrieval result of the plurality of first participle;
Second acquisition module, for carrying out word segmentation processing to the term according to the second predetermined manner, and according to process
Multiple second participles afterwards obtain corresponding second retrieval result of the plurality of second participle, wherein, second participle
Granularity less than the first participle granularity;And
Generation module, for generating retrieval result set according to first retrieval result and second retrieval result,
And the retrieval result set is back to into the user.
7. it is as claimed in claim 6 to retrieve device, it is characterised in that the generation module is additionally operable to:
First retrieval result and second retrieval are being obtained respectively according to the first participle and second participle
When as a result, the quantity of first retrieval result and/or second retrieval result is calculated, and in the described first retrieval knot
When the quantity of fruit and/or second retrieval result reaches preset value, by first retrieval result and/or second inspection
Fruit adds into the retrieval result set hitch, and the retrieval result set is back to into the user.
8. it is as claimed in claim 7 to retrieve device, it is characterised in that also to include:
Second receiver module, for receive user to the first retrieval result described in the retrieval result set or described
The operation of two retrieval results, and when user selectes first retrieval result or second retrieval result, terminate inspection
Rope.
9. the retrieval device as described in any one of claim 6-8, it is characterised in that first predetermined manner includes
One kind in statistical morphology and mechanical Chinese word segmentation method.
10. the retrieval device as described in any one of claim 6-8, it is characterised in that second predetermined manner includes
Individual character participle method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510412382.3A CN106649249A (en) | 2015-07-14 | 2015-07-14 | Retrieval method and retrieval device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510412382.3A CN106649249A (en) | 2015-07-14 | 2015-07-14 | Retrieval method and retrieval device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106649249A true CN106649249A (en) | 2017-05-10 |
Family
ID=58815014
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510412382.3A Pending CN106649249A (en) | 2015-07-14 | 2015-07-14 | Retrieval method and retrieval device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106649249A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110222203A (en) * | 2019-06-19 | 2019-09-10 | 深圳前海微众银行股份有限公司 | Metadata searching method, device, equipment and computer readable storage medium |
CN110955767A (en) * | 2019-12-04 | 2020-04-03 | 中国太平洋保险(集团)股份有限公司 | Algorithm and device for generating intention candidate set list set in robot dialogue system |
CN111859073A (en) * | 2020-07-27 | 2020-10-30 | 广西美立方工程咨询有限公司 | Python-based unstructured data real-time crawling system and using method thereof |
CN112989224A (en) * | 2021-03-25 | 2021-06-18 | 北京百度网讯科技有限公司 | Retrieval method, retrieval device, electronic equipment and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101246472A (en) * | 2008-03-28 | 2008-08-20 | 腾讯科技(深圳)有限公司 | Method and apparatus for cutting large and small granularity of Chinese language text |
CN102479191A (en) * | 2010-11-22 | 2012-05-30 | 阿里巴巴集团控股有限公司 | Method and device for providing multi-granularity word segmentation result |
CN102591475A (en) * | 2011-12-29 | 2012-07-18 | 北京百度网讯科技有限公司 | Content input method and system for online editor |
CN102799676A (en) * | 2012-07-18 | 2012-11-28 | 上海语天信息技术有限公司 | Recursive and multilevel Chinese word segmentation method |
CN103530298A (en) * | 2012-07-06 | 2014-01-22 | 深圳市世纪光速信息技术有限公司 | Information searching method and device |
CN104598630A (en) * | 2015-02-05 | 2015-05-06 | 北京航空航天大学 | Event indexing and retrieval method and device |
-
2015
- 2015-07-14 CN CN201510412382.3A patent/CN106649249A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101246472A (en) * | 2008-03-28 | 2008-08-20 | 腾讯科技(深圳)有限公司 | Method and apparatus for cutting large and small granularity of Chinese language text |
CN102479191A (en) * | 2010-11-22 | 2012-05-30 | 阿里巴巴集团控股有限公司 | Method and device for providing multi-granularity word segmentation result |
CN102591475A (en) * | 2011-12-29 | 2012-07-18 | 北京百度网讯科技有限公司 | Content input method and system for online editor |
CN103530298A (en) * | 2012-07-06 | 2014-01-22 | 深圳市世纪光速信息技术有限公司 | Information searching method and device |
CN102799676A (en) * | 2012-07-18 | 2012-11-28 | 上海语天信息技术有限公司 | Recursive and multilevel Chinese word segmentation method |
CN104598630A (en) * | 2015-02-05 | 2015-05-06 | 北京航空航天大学 | Event indexing and retrieval method and device |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110222203A (en) * | 2019-06-19 | 2019-09-10 | 深圳前海微众银行股份有限公司 | Metadata searching method, device, equipment and computer readable storage medium |
CN110222203B (en) * | 2019-06-19 | 2023-04-07 | 深圳前海微众银行股份有限公司 | Metadata searching method, device, equipment and computer readable storage medium |
CN110955767A (en) * | 2019-12-04 | 2020-04-03 | 中国太平洋保险(集团)股份有限公司 | Algorithm and device for generating intention candidate set list set in robot dialogue system |
CN111859073A (en) * | 2020-07-27 | 2020-10-30 | 广西美立方工程咨询有限公司 | Python-based unstructured data real-time crawling system and using method thereof |
CN112989224A (en) * | 2021-03-25 | 2021-06-18 | 北京百度网讯科技有限公司 | Retrieval method, retrieval device, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108920497B (en) | Man-machine interaction method and device | |
US10796244B2 (en) | Method and apparatus for labeling training samples | |
CN109561322B (en) | Video auditing method, device, equipment and storage medium | |
CN106649249A (en) | Retrieval method and retrieval device | |
CN106601257A (en) | Sound identification method and device and first electronic device | |
CN103118326A (en) | Information pushing method, information pushing device and information pushing system based on geographical location information | |
CN101425135B (en) | Real time new elevent detecting device and method for vedio stream | |
CN107291775B (en) | Method and device for generating repairing linguistic data of error sample | |
CN110083774B (en) | Method and device for determining application recommendation list, computer equipment and storage medium | |
CN105893432A (en) | Video comment classification method, video comment display system and server | |
CN110363427A (en) | Model quality evaluation method and apparatus | |
CN110737818A (en) | Network release data processing method and device, computer equipment and storage medium | |
CN111444341A (en) | User portrait construction method, device and equipment and readable storage medium | |
CN106339366A (en) | Method and device for requirement identification based on artificial intelligence (AI) | |
CN105279061A (en) | Server interface concurrent testing method and apparatus | |
CN111488186A (en) | Data processing method and device, electronic equipment and computer storage medium | |
CN107391363B (en) | Test resource scheduling method and device and electronic equipment | |
CN107562747A (en) | Method for information display and system, electronic equipment and database | |
CN112667790A (en) | Intelligent question and answer method, device, equipment and storage medium | |
Guo et al. | A censored sequential posterior odd test (SPOT) method for verification of the mean time to repair | |
US10296527B2 (en) | Determining an object referenced within informal online communications | |
CN106844651A (en) | Instruction results compare screening plant | |
CN104715066B (en) | Searching optimization method, searching optimization device and searching optimization system | |
Rao | A hybrid group acceptance sampling plans for lifetimes based on generalized exponential distribution | |
CN111597444B (en) | Searching method, searching device, server and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170510 |