Text generation method and device for construction industry information service question answering system
A technology of information service and question answering system, which is applied in the field of text generation for construction industry information service question answering system, can solve problems such as loss of feature information, achieve the effects of increasing weight, avoiding information loss, and improving quality
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0077] as attached figure 1 As shown, the main frame structure of the present invention includes an embedded module, an encoder module, a hidden state mutual information module, a hidden variable mutual information module, and a decoder module. Among them, the embedding module performs the embedding operation on the original text and the target text respectively, and obtains the embedded representation of the original text and the embedded representation of the target text, which are respectively passed to the encoder module and the decoder module of the model. The encoder module contains several layers of encoding structures, the details are as follows figure 2 As shown in the figure, the first-layer encoding structure, that is, encoder 1, performs encoding operations on the embedded representation of the original text output by the embedding module to obtain the first-layer encoding result and the first-layer encoding hidden state; the first-layer encoding result and the or...
Embodiment 2
[0084] The text generation method of the present invention oriented to the question-and-answer system of the construction industry information service includes three main steps of constructing a text generation knowledge base, constructing a text generation model, and training the text generation model, and the details are as follows:
[0085] S1. Build a text generation knowledge base, as attached Figure 4 shown, the specific steps are as follows:
[0086] S101. Download a question-and-answer pair text generation dataset or an artificially constructed dataset that has been published on the Internet, and use it as the original data for constructing a text generation knowledge base.
[0087] Example: For example: There are many public question-answer pair text generation datasets on the Internet, such as the SQuAD dataset, from the literature Reiter,E.,Dale,R.:Building applied natural language generationsystems.Natural Language Engineering 3(1), 57–87 (1997). The present inv...
Embodiment 3
[0230] as attached image 3 As shown, based on the text generation device for the question and answer system for the construction industry information service based on Embodiment 2, the device includes,
[0231] The text generation knowledge base construction unit includes: a question-and-answer pair data acquisition unit, which is responsible for downloading the question-and-answer pair text generation data set or artificially constructed data set that has been published on the Internet, and uses it as the original data for constructing the text generation knowledge base;
[0232] The original data preprocessing unit is responsible for preprocessing the original data used to construct the text generation knowledge base, and performs tokenization operation on each sentence in it, so as to construct the text generation knowledge base;
[0233] The text generation model building unit includes: a mapping conversion table building unit, which is responsible for storing each word i...
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