Search prompting method and system
A technology for searching prompts and prompt words, which is applied in the fields of instruments, computing, and electrical and digital data processing, and can solve problems such as inaccurate options of prompt information.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0052] Such as figure 1 As shown, Embodiment 1 of the present application provides a method for constructing a prompt dictionary, which specifically includes:
[0053] Step 101, based on the original dictionary, generate the original double-array dictionary through the double-array algorithm;
[0054] Step 102, generating a search prompt dictionary based on the original double array dictionary; and / or
[0055] Step 103, generate a spelling error prompt dictionary based on the original double-array dictionary.
[0056] For step 101, based on the original dictionary, the original double-array dictionary is generated through the double-array algorithm, and the construction process is as follows:
[0057] First traverse the entire dictionary to convert all words into a Trie tree (dictionary tree) in bytes.
[0058] Then build a double array. The construction process mainly has the following steps:
[0059] 1. Initialize the list of active nodes, and add the first-level nodes t...
Embodiment 2
[0103] Such as Figure 4 As shown, Embodiment 2 of the present application provides a search prompt method, which specifically includes:
[0104] Step 201, obtaining the search information input by the user;
[0105] Step 202, judging whether the search information is legal;
[0106] Step 203, when the search information is legal, based on the generated search prompt dictionary, and return the search prompt words corresponding to the search information;
[0107] Step 204, when the search information is invalid, prompt a dictionary based on the generated spelling error, and return at least two pieces of error prompt information corresponding to the search information.
[0108] The methods for generating the search prompt dictionary and the misspelling prompt dictionary have been introduced in Embodiment 1, and will not be repeated here.
Embodiment 3
[0110] Such as Figure 5 As shown, Embodiment 3 of the present application provides a search prompt system, which is characterized in that it includes:
[0111] Obtaining unit 301, configured to obtain search information input by the user;
[0112] A judging unit 302, configured to judge whether the search information is legal;
[0113] A search prompt word returning unit 303, configured to return a search prompt word corresponding to the search information based on the generated search prompt dictionary when the search information is legal;
[0114] The error prompt information returning unit 304 is configured to prompt a dictionary based on the generated spelling error when the search information is invalid, and return at least two pieces of error prompt information corresponding to the search information.
[0115] Likewise, the methods for generating the search prompt dictionary and the misspelling prompt dictionary have been introduced in Embodiment 1, and will not be re...
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