Abstract

Most text classification methods fail to fully consider the important role of the hierarchical structure of the text in determining the text category, and cannot well extract enough text sequence information. To address this problem, a novel model based on hierarchical self-attention mechanism capsule network was proposed for text classification, which was composed of two components, i.e., the hierarchical self-attention network and capsule network. First input the text data processed by word embedding into the hierarchical self-attention network for feature extraction, model the text from the two levels of words and sentences to extract the hierarchical features of the text; then the results are passed into the capsule network in order to refine the relationship between the part of the text and the whole, and further extract richer text semantic information. The experimental results on 5 text classification datasets show that compared with other baseline models, the model in this paper has achieved better classification results.

Full Text
Paper version not known

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.