Intelligent question and answer sentence pair semantic matching method and device for government affair consultation service
A consulting service and intelligent question answering technology, applied in the fields of natural language processing and artificial intelligence, it can solve the problems of limited representation ability of single-layer network, loss of semantic information, and noise of coding results.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0113] as attached Figure 8 As shown, the main framework structure of the present invention includes a multi-granularity embedding module, a gated deep feature residual fusion network module, a semantic feature interactive matching module and a label prediction module. Among them, the multi-granularity embedding module performs embedding operations on the input sentence at word granularity and word granularity, and passes the result to the model's gated deep feature residual fusion network module. The gated deep feature residual fusion network module contains several layers of coding structures, such as Figure 7 As shown, the word embedding representation and word embedding representation output by the multi-granularity embedding module are first selectively fused through the gating mechanism to obtain the gated embedding fusion representation. At the same time, the word embedding representation and word embedding representation before fusion are passed to The first layer o...
Embodiment 2
[0119] as attached figure 1 As shown, the intelligent question-and-answer sentence-to-semantic matching method for government affairs consulting services of the present invention, the specific steps are as follows:
[0120] S1. Construct a sentence pair semantic matching knowledge base, as attached figure 2 As shown, the specific steps are as follows:
[0121] S101. Downloading datasets on the network to obtain original data: downloading datasets that have been published on the network for semantic matching of sentence pairs or artificially constructed datasets, and using them as raw data for constructing a knowledge base for semantic matching of sentence pairs.
[0122] For example: According to the historical records of government consultation, the question sentence pairs contained in it can be collected, a data set of government consultation question sentence pairs can be manually constructed, and the original data used to construct the semantic matching knowledge base of...
Embodiment 3
[0245] as attached Figure 6 As shown, the intelligent question-and-answer sentence-to-semantic matching device based on the government consultation service of Embodiment 2, the device includes,
[0246] The sentence-pair semantic matching knowledge base construction unit is used to obtain a large amount of sentence-pair data, and then preprocess it to obtain a sentence-pair semantic matching knowledge base that meets the training requirements; the sentence-pair semantic matching knowledge base construction unit includes,
[0247] The sentence-pair data acquisition unit is responsible for downloading the sentence-pair semantic matching datasets that have been published on the network or artificially constructed datasets, and using them as the original data for constructing the sentence-pair semantic matching knowledge base;
[0248] The original data hyphenation preprocessing or word segmentation preprocessing unit is responsible for preprocessing the raw data used to construc...
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