Intelligent semantic matching method and device based on deep hierarchical coding
A technology of hierarchical coding and intelligent semantics, applied in semantic analysis, neural learning methods, natural language data processing, etc., can solve the problems of ignoring sequence information, not considering the hierarchical relationship of sentences, and not suitable for processing sequence information tasks.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0095] as attached Figure 9 As shown, the intelligent semantic matching method based on deep layered coding of the present invention is realized by constructing and training a sentence matching model consisting of an embedding layer, a deep layered coding representation layer, a layered feature interactive matching layer and a prediction layer For the deep layered coding representation of sentences, more semantic context information and interactive information between sentences are obtained, and at the same time, a new layered feature interactive matching mechanism is implemented to achieve the goal of intelligent semantic matching of sentences; the details are as follows :
[0096] (1), the embedding layer performs an embedding operation on the input sentence, and passes the result to the depth layered coding representation layer;
[0097] (2), the deep layered encoding representation layer performs an encoding operation on the result obtained by the embedding operation, an...
Embodiment 2
[0101] as attached figure 1 As shown, the intelligent semantic matching method based on depth layered coding of the present invention, the specific steps are as follows:
[0102] S1. Construct sentence matching knowledge base, as attached figure 2 As shown, the specific steps are as follows:
[0103] 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.
[0104] 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 semantically similar questions, the...
Embodiment 3
[0178] as attached Image 6 As shown, based on the intelligent semantic matching device based on depth layered coding of embodiment 2, the device includes,
[0179] 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 to obtain the original similar sentence knowledge base, and then perform word break or word segmentation preprocessing on the original similar sentence knowledge base, so as to construct a The sentence matching knowledge base for model training; the sentence matching knowledge base construction unit includes,
[0180] The data crawling sub-unit is used to crawl the question set on the online public question-and-answer platform and build the original similar sentence knowledge base;
[0181] The crawling data processing subunit is used to perform hyphenation processing or word segmentation processing on the sentences in the original similar sentence kn...
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