Text semantic matching method and device for intelligent questions and answers of fire safety knowledge
A technology of security knowledge and intelligent question answering, which is applied in neural learning methods, text database query, unstructured text data retrieval, etc., can solve problems such as emphasizing and less research on semantic matching, so as to improve comprehensiveness and accuracy, improve effect, the effect of improving accuracy
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0128] The present invention provides a text semantic matching method for intelligent question answering of fire safety knowledge. The main frame structure of the present invention includes a text embedding module, an input encoding module, a multi-granularity interaction module, a feature fusion module and a prediction module. Among them, the text embedding module performs the embedding operation on the input text to obtain word embedding representation, pinyin embedding representation, radical embedding representation, and word embedding representation, and transmits the result to the input encoding module. The input encoding module encodes the word embedding representation, pinyin embedding representation, radical embedding representation, and word embedding representation through BiLSTM to obtain the word and word granularity context information, and obtains the pinyin and radical granularity semantics through the full connection layer for the pinyin and radical embedding ta...
Embodiment 2
[0130] The overall step flow of the present invention is as attached figure 1 shown, the specific steps are as follows:
[0131] S1. Build a text semantic matching knowledge base
[0132] The process of building a text semantic matching knowledge base is as follows figure 2 shown, the specific steps are as follows:
[0133] S101. Collect data: download a text semantic matching data set or an artificially constructed data set that has been published on the Internet, and use it as the original data for constructing a text semantic matching knowledge base.
[0134] For example: There are many public Q&A databases for fire safety knowledge on the Internet. The present invention collects these data and downloads them, thereby obtaining the original data for constructing the text semantic matching knowledge base, and the text examples therein are represented as follows:
[0135] txt P Why are cigarette butts easy to cause fire? txt Q How do cigarette butts st...
Embodiment 3
[0272] as attached Image 6 As shown, based on the text semantic matching device for intelligent question answering of fire safety knowledge based on Embodiment 2, the device includes:
[0273] Build a text semantic matching knowledge base, build a text semantic matching model training data set, build a text semantic matching model, train a text semantic matching model, and implement steps S1 and S2 in the text semantic matching method based on pinyin and radical interaction for intelligent customer service respectively , S3, S4 functions, the specific functions of each unit are as follows:
[0274] A text semantic matching knowledge base is constructed to obtain a large amount of text data, and then the text data is preprocessed to obtain a text semantic matching knowledge base that meets the training requirements.
[0275] Construct a training data set of text semantic matching model. For the data in the text semantic matching knowledge base, if the semantics are consistent...
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