Method and device for matching between questions and answers
A matching method and matching value technology, which is applied in special data processing applications, instruments, electrical digital data processing, etc., can solve the problems of long time consumption and low accuracy
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0033] see figure 1 A flowchart of a question-answer matching method is shown, including the following steps:
[0034] Step S102, extracting keywords in the input question text; the input question text is the question text input by the user through human-computer interaction; when the user uses voice input, the user's voice question needs to be converted into text , and then use the literal text as the input question text;
[0035] Step S104, according to keywords, use index filtering to determine the target matching question text from the pre-established question bank; the target matching question text includes multiple texts, the purpose is to narrow down the question bank in advance and the user's input question. The preset text range that matches the sentence text is conducive to improving the subsequent question-and-answer matching speed;
[0036] Step S106, based on the Lewenstein distance algorithm, determine the best matching question text from the target matching qu...
Embodiment 2
[0071] For the question-answer matching method provided in Embodiment 1, this embodiment of the present invention provides a question-answer matching device, see Figure 4 As shown, the device includes the following modules:
[0072] Extraction module 402, is used for extracting the keyword in input question sentence text;
[0073] The first determination module 404 is used to determine the target matching question sentence text from the pre-established question bank by means of index filtering according to keywords;
[0074] The second determination module 406 is used to determine the best matching question text with the highest similarity with the input question text from the target matching question text based on the Lewenstein distance algorithm;
[0075] The answer output module 408 is configured to output the answer text corresponding to the input question text according to the best matching question text.
[0076] In the above-mentioned device of the present embodimen...
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