Text feature extraction method, device, chat robot and storage medium based on fusion model
A technology that integrates models and feature extraction. It is used in chat robots and storage media. It can solve problems such as low accuracy and achieve the effect of improving accuracy and avoiding gradient disappearance or gradient dispersion.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0063] The text mentioned in this embodiment includes words or sentences. Words are the collective designation of words and phrases, including words, phrases and entire vocabulary. Words form the minimum group word structure form of sentence articles. A sentence is the basic unit of language use. It is composed of words and phrases (phrases) and can express a complete meaning.
[0064] This embodiment provides a text feature extraction method based on the CNN-BLSTM-Attention fusion model, the method is applicable to the situation of text feature extraction, and the method can be executed by an extraction device following the text feature rules, and the text feature rule extraction device can be implemented by software and / or hardware, such as Figure 5-Figure 8 As shown, the text feature extraction method based on the CNN-BLSTM-Attention fusion model of this embodiment includes the following steps:
[0065] S1. The construction of the word vector, using the Word2vec model, us...
Embodiment 2
[0093] This embodiment provides a text feature extraction device based on a fusion model, including:
[0094] The word vector construction module is used to adopt the Word2vec model and utilize the Skip-gram model to construct the word vector;
[0095] The convolutional neural network module is used to extract the local features of the word vector using the convolutional neural network;
[0096] The BLSTM model module is used to extract global features related to local feature contexts using the BLSTM model;
[0097] The Attention mechanism module extracts deeper information features of global features through the Attention mechanism, and fuses the extracted features;
[0098] The text classification module is used to classify the text feature vectors obtained by extracting the network layer by layer using a soft-max classifier.
[0099] The text feature extraction device of this embodiment further includes a mapping module, configured to map sentences composed of words into...
Embodiment 3
[0102] refer to Figure 11 As shown, a frame diagram of a chat robot of this embodiment is provided, Figure 11 Only one embodiment is provided, but this embodiment should not bring any limitation to the function and scope of application of the present invention.
[0103] Such as Figure 11 As shown, chatbots are generally displayed on computer devices, and chatbots may include but are not limited to:
[0104] One or more processors 100 are mainly used to execute one or more programs stored in the storage device 20 .
[0105] The storage device 200 is used for storing one or more programs.
[0106] When one or more programs are executed by one or more processors 100, the one or more processors 100 implement the fusion model-based text feature extraction method described in the first embodiment.
[0107] The interactive interface 300 is used for providing human-computer interaction when the processor 100 executes programs.
[0108] The chat robot provided by this embodimen...
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