Question answer method, apparatus, electronic apparatus, and storage medium
A question and answer technology, applied in the field of intelligent question and answer, can solve problems such as poor error tolerance of speech recognition results, and achieve the effect of rapid response
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0032] figure 1 It is a flow chart of a question answering method provided by Embodiment 1 of the present disclosure. The method of this embodiment can be executed by a question answering device, which can be implemented by hardware and / or software, and can generally be integrated into electronic equipment. Such as server etc. The method of this embodiment specifically includes:
[0033] S101. Use the classification model to classify the received questions to be answered to obtain the question categories of the questions to be answered.
[0034] In this embodiment, after receiving the questions to be answered, instead of directly answering the questions to be answered, the questions to be answered are firstly classified. It should be noted here that classifying the questions to be answered in this embodiment specifically refers to classifying the questions to be answered according to large-grained categories.
[0035] For example, if step 101 and step 103 in this embodiment...
Embodiment 2
[0047] figure 2 It is a flowchart of a question answering method provided in Embodiment 2 of the present disclosure. This embodiment is optimized on the basis of the above-mentioned embodiments. In this embodiment, a specific implementation method of specifying the steps of determining target candidate questions and adding a step of using regular expressions to answer questions to be answered is given.
[0048] Correspondingly, the method in this embodiment specifically includes:
[0049] S201. Receive a question to be answered.
[0050] In this embodiment, steps 201 to 203 are added, that is, the steps of using regular expressions to answer questions are added.
[0051] It is understandable that there are frequently asked questions in various question-and-answer scenarios, and it is known that regular expressions can be used to classify and answer questions in a very accurate and small-grained manner (that is, regular expressions can be used for their It can accurately ju...
Embodiment 3
[0069] image 3 It is a flowchart of a question answering method provided in Embodiment 3 of the present disclosure. This embodiment is optimized on the basis of the above-mentioned embodiments. In this embodiment, a specific implementation of the step of obtaining candidate questions to be matched and the step of determining target candidate questions that match the questions to be answered is provided. Way.
[0070] Correspondingly, the method in this embodiment specifically includes:
[0071] S301. Receive a question to be answered.
[0072] S302. Determine whether the question to be answered matches the set regular expression, if it matches, execute step 303, and if not, execute step 304.
[0073] S303. Use the answer corresponding to the set regular expression matching the question to be answered as the answer to the question to be answered.
[0074] S304. Use the classification model to classify the received questions to be answered to obtain the question categories ...
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