Intelligent semantic matching method and device based on depth feature dimension changing mechanism
A deep feature, intelligent semantic technology, applied in semantic analysis, neural learning methods, natural language data processing and other directions, can solve the problems of ignoring sequence information, affecting applications, losing hierarchical coding information, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0093] as attached Figure 8 As shown, the intelligent semantic matching method based on the deep feature variable dimension mechanism of the present invention, the method is to realize The deep feature variable dimension encoding representation of the sentence is used to obtain more semantic context information and interactive information between sentences, and at the same time realize the convolution matching mechanism to achieve the goal of intelligent semantic matching of sentences; the details are as follows:
[0094] (1), the embedding layer performs an embedding operation on the input sentence, and passes the result to the deep feature variable dimension encoding layer;
[0095] (2), the deep feature variable dimension encoding layer encodes the result obtained by the embedding operation, and obtains the semantic feature representation tensor of the sentence;
[0096] (3), the convolution matching layer carries out convolution matching processing to the semantic featur...
Embodiment 2
[0099] as attached figure 1 As shown, the intelligent semantic matching method based on the deep feature variable dimension mechanism of the present invention, the specific steps are as follows:
[0100] S1. Construct sentence matching knowledge base, as attached figure 2 As shown, the specific steps are as follows:
[0101] S101. Use a crawler to obtain original data: write a crawler program, crawl the question set on the online public question-and-answer platform, and obtain the original similar sentence knowledge base; or use the sentence matching data set published on the Internet as the original similar sentence knowledge base.
[0102] The public question-and-answer sharing platform on the Internet has a large amount of question-and-answer data and recommendations for similar questions, which are open to the public. Therefore, we can design a corresponding crawler program according to the characteristics of the question-answering platform to obtain a set of semantical...
Embodiment 3
[0184] as attached Figure 6 As shown, based on the intelligent semantic matching device based on the deep feature variable dimension mechanism of embodiment 2, the device includes,
[0185] The sentence matching knowledge base construction unit is used to use the crawler program to crawl the question set on the online public question and answer platform, or use the sentence matching data set published on the Internet as the original similar sentence knowledge base, and then hyphenate the original similar sentence knowledge base operation, and finally embed key features to it to build a sentence matching knowledge base for model training; the sentence matching knowledge base construction unit includes,
[0186] The data crawling sub-unit is used to crawl the question set on the online public question-and-answer platform, or use the sentence matching data set published on the Internet to build the original similar sentence knowledge base;
[0187] The crawling data processing ...
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