Method and system for searching whether-class problem key sentences in reading understanding task
A technology for reading comprehension and key sentences, applied in the field of natural language data processing, can solve the problems of poor scalability, low correct rate, and inability to find key information in traditional methods, and achieve the goals of reducing manual annotation, improving correct rate, and improving answer efficiency Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0053] Such as figure 1 Shown, the present invention provides a kind of whether class problem key sentence search method in the reading comprehension task, carries out according to the following steps:
[0054] S1 selects the existing reading comprehension question and answer data, preprocesses the question and answer data to obtain a data set, and then divides the data set into a training set, a verification set and a test set;
[0055] S2 is based on the constructed coding layer network, mining the semantic information of the sentences in the question sentences and discourse paragraphs in the training set and test set, and obtaining the word embedding representation of each word in the sentence;
[0056] S3 builds an algorithm model, and uses the neural network model and TFIDF to calculate the key sentences of whether or not questions from the questions and paragraphs mined through the coding layer network;
[0057] S4 Input the data of the question-and-answer for reading c...
Embodiment 2
[0090] Given a question and a sentence, is Beijing the capital of China? Beijing is the capital of China
[0091] Participle:
[0092] Send it into the model, and get the word embedding representation through the neural network and TF-IDF
[0093] Calculate the cosine similarity between questions and discourse paragraphs
[0094] Return the result, the sentence is the key sentence of the question
[0095] Given a question and a sentence, is Beijing the capital of China? Winter vacation extended to November this year
[0096] Word segmentation:
[0097] Send it into the model, and get the word embedding representation through the neural network and TF-IDF
[0098] Calculate the cosine similarity between questions and discourse paragraphs
[0099] Return the result, the sentence is not a question key sentence
[0100] Furthermore, the model update can choose automatic update and upgrade or manual one-click update and upgrade.
Embodiment 3
[0102] In order to realize the above-mentioned method, the present invention also proposes a system for finding key sentences of whether or not questions in the reading comprehension task, including as shown in the figure:
[0103] The data preparation module is used to select existing reading comprehension question and answer data, preprocess the question and answer data to obtain a data set, and then divide the data set into a training set, a verification set and a test set;
[0104] Word and sentence encoding module, which is used to mine the semantic information of sentences in question sentences and discourse paragraphs in the training set and test set based on the constructed encoding layer network, and obtain the word embedding representation of each word in the sentence;
[0105] The key sentence matching module is used to use the neural network model and TFIDF to calculate the key sentence of whether the questions and paragraphs are mined through the coding layer netwo...
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