Method of text entailment relation recognition based on deep learning
A deep learning and relation recognition technology, applied in the field of deep learning-based text implication relation recognition, to achieve the effect of better understanding tasks, realization of understanding tasks, efficiency and accuracy improvement
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0074] In this embodiment, a textual implication relationship recognition algorithm based on deep learning is specifically performed as follows:
[0075] Get two texts, one of them as the "premise" and the other as the "hypothesis":
[0076] Premise: Two women having drinks and smoking cigarettes at the bar.
[0077] Hypothesis: Two women are at a bar.
[0078] The preset maximum sentence length is 15.
[0079] Step 1: Preprocess the "premise" and "hypothesis" to generate the "premise" string S p =["Two","women","having","drinks","and","smoking","cigarettes","at","the","bar","."] and "hypothesis" String S h =["Two","women","are","at","a","bar","."];
[0080] Step 2: Change the "premise" character S p And the "hypothetical" string S h , Using Str2Matrix method to generate n×l max The "premise" fundamental matrix M p And n×l max The "hypothetical" fundamental matrix M h ;
[0081] Where WV word Represents the n-dimensional word vector of word.
[0082] Step 3: Calculate the distance rela...
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