Method and device for synonymous transformation of query string
A technology for transforming equipment and query strings, applied in the field of search, can solve the problems of query strings that do not conform to language habits and grammatical requirements, semantic offset, etc., and achieve the effect of reducing semantic offset and accurate synonymous strings.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0079] see figure 2 , which is a flow chart of Embodiment 1 of the query string synonym transformation method provided by the present invention.
[0080] The synonym transformation method of the query string in the search engine provided by this embodiment includes:
[0081] S201: Perform word segmentation processing on the query string to obtain word segmentation fragments;
[0082] It should be noted that S201 can use the word segmentation processing method in the prior art. For example, if the query string is "Fangheng International Center, Futong East Street, Chaoyang District, Beijing", the word segmentation segment obtained after the word segmentation processing is: "Beijing / Word segmentation results of multiple granularities such as Chaoyang District / Futong East Street / Fangheng International Center", "Beijing / City / Chaoyang / District / Futong / East / Ave / Fangheng / International / Center".
[0083] It is understandable that a query string can have multiple word segmentation re...
Embodiment 2
[0106] see image 3 , which is a flow chart of Embodiment 2 of the query string synonym transformation method provided by the present invention.
[0107] In the first embodiment, it is introduced that if the synonymous string after the synonymous string A ranked nth is the same as the demand satisfaction value of A, any one of these synonymous strings with the same demand satisfaction value can be randomly selected as the first n synonymous strings are fed back. The following describes that the embodiments of the present invention do not provide random feedback for this situation, but perform selective feedback according to the probability of the language model.
[0108] For example, if two synonymous strings need to be fed back, and the demand satisfaction values of the two synonymous strings ranked 2nd and 3rd are equal, the two synonymous strings are represented by b and c respectively , at this time, it is necessary to judge the probability of the language model corres...
Embodiment 3
[0165] see Figure 4 , which is a flow chart of Embodiment 3 of the query string synonym transformation method provided by the present invention.
[0166] In the second embodiment of the method, it is introduced that if the synonymous string after the nth synonymous string A is the same as the demand satisfaction value of A, then the synonymous string is selected by calculating the probability of the language model. In this embodiment This paper introduces the situation that if the synonym strings before and after the synonym strings ranked nth are the same as A's demand satisfaction, the synonym strings are selected by calculating the language model probability.
[0167] S401-S405 in this embodiment are respectively the same as S301-S305 in the second method embodiment, and will not be repeated here.
[0168] S406: Judging that the synonym string before and after the synonym string A ranked nth is the same as the demand satisfaction of A, if yes, execute S408; otherwise, exe...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com