Sentence classification method based on LSTM and combining part-of-speech and multi-attention mechanism
A classification method and attention technology, applied in neural learning methods, text database clustering/classification, semantic analysis, etc., can solve the problem of not considering word part-of-speech information, etc., and achieve the effect of strong versatility and high accuracy.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment
[0021] This embodiment provides a sentence classification method based on LSTM combined with part-of-speech and multi-attention mechanism. The words in the sentence are marked, and combined with the simplified part-of-speech tag set (mainly including nouns, verbs, adjectives, adverbs, ending tags UNK, etc.) to convert the part-of-speech into the form of serial numbers, and then map and learn through the embedding layer; then, A shared bidirectional LSTM is used to learn the context information of semantic word vectors and part-of-speech word vectors, and the forward and reverse learning results of each time step are concatenated and combined to output, so as to obtain the contextual relationship of words and parts of speech respectively; here On the basis, a self-attention layer is used to learn the position information in the sentence for the semantic word vector sequence and the part-of-speech word vector sequence output by the LSTM layer, and construct the corresponding atte...
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