Question-answer pair matching technology based on semantic similarity
A technology of semantic similarity and question answering, applied in semantic analysis, natural language data processing, special data processing applications, etc., can solve problems such as inaccurate understanding of user question intentions, lack of pertinence, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0013] The present invention will be further described in detail below in conjunction with the embodiments, so that those skilled in the art can implement it with reference to the description.
[0014] The question-answer pair matching technology based on semantic similarity of the present embodiment comprises the following steps:
[0015] 1) Collect the corpus of question-answer pairs, and use the ElasticSearch tool to build an inverted index for all question-answer pairs.
[0016] 2) Using the collected question-answer pairs as data, fine-tune the BERT model so that it can judge the semantic similarity between questions and answers.
[0017] 3) Use the IK tokenizer to segment the questions entered by the user.
[0018] 4) For the question after word segmentation, remove the stop words in the question, so as to perform more precise matching and obtain more accurate results.
[0019] 5) After removing the stop words, use ElasticSearch to retrieve similar questions, and use t...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 
