Dependency syntax-based similarity calculation model and system and system building method
A technology of similarity calculation and dependent syntax, applied in the field of question answering systems involving knowledge graphs, can solve problems such as poor question answering performance of knowledge graphs, and achieve the effect of improving performance
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0024] like figure 2 As shown, this embodiment provides a similarity calculation model based on dependency syntax, including: question semantic coding, which includes shortest dependency path syntax coding, syntax tree-based expression, and pre-trained word vector semantics Encoding; the semantic encoding of the candidate query graph corresponding to the question sentence is used to obtain the semantic encoding of the query graph through semantic encoding of the answer query graph; the semantic encoding of the pre-trained word vector, the syntax encoding of the shortest dependency path, and the expression based on the syntax tree are performed Splicing to obtain the semantic code of the question sentence; the mutual attention mechanism is used for the semantic code of the query graph and the semantic code of the question sentence, information interaction is carried out, and the semantic similarity is obtained through similarity calculation.
[0025] The similarity calculation...
Embodiment 2
[0045] This embodiment provides a system, including the dependency syntax-based similarity calculation model described in Embodiment 1.
[0046] Since the system described in the present embodiment includes the dependency syntax-based similarity calculation model described in the first embodiment, all the advantages of the first embodiment also have all the advantages of the present embodiment.
Embodiment 3
[0048] This embodiment provides a method for building a system, which is used to build the system described in Embodiment 2, including: Step S1: After preprocessing the questions, identify the subject entity of the questions from the questions; Step S2: According to the identified subject entity, construct the one-hop triplet and two-hop triplet of the subject entity; Step S3: Extract the time information and order information of the question sentence, and add the time information and order information to a In jump triplets and double jump triplets, complete the construction of each candidate query graph of the question sentence; step S4: input the query sentence and all query graphs corresponding to the question sentence into the knowledge graph question answering system, and complete the question sentence Calculate the similarity score of its corresponding query graph, select the query graph with the highest score as the optimal query graph corresponding to the question sen...
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