PulseExploreJournal ClubDebatesTrendingResearchersJournals
Instagram
HomeExploreJournal ClubTrending
Synapse
⌘+K
Synapse
February 2, 2026PeerJ Computer Science0 citationsOpen Access

A syntax-injected approach for faster and more accurate sentiment analysis

View Full Paper
MIMuhammad ImranOKOlga KellertCGCarlos Gómez-Rodríguez

Key Points

  • This research aims to enhance the efficiency and accuracy of sentiment analysis through a novel syntactic parsing approach.
  • Developed a Sequence Labeling Syntactic Parser (SELSP) for sentiment analysis.
  • Reformulated dependency parsing as a sequence labeling task.
  • Conducted evaluation on a ternary polarity classification task.
  • Compared SELSP with traditional parsers and Transformer-based models.
  • Evaluated multiple sentiment dictionaries to optimize polarity prediction.
  • SELSP significantly increases speed and accuracy compared to conventional parsers like Stanza.
  • Improvements in polarity prediction were noted with dictionaries accounting for polarity variation.
  • SELSP outperformed Transformer-based models in speed for polarity prediction.

Abstract

Sentiment Analysis (SA) is a crucial aspect of Natural Language Processing (NLP), focusing on identifying and interpreting subjective assessments in textual content. Syntactic parsing is useful in SA as it improves accuracy and provides explainability; however, it often becomes a computational bottleneck due to slow parsing algorithms. This article proposes a solution to this bottleneck by using a Sequence Labeling Syntactic Parser (SELSP) to integrate syntactic information into SA via a rule-based sentiment analysis pipeline. By reformulating dependency parsing as a sequence labeling task, we significantly improve the efficiency of syntax-based SA. SELSP is trained and evaluated on a ternary polarity classification task, demonstrating greater speed and accuracy compared to conventional parsers like Stanza and heuristic approaches such as Valence Aware Dictionary and sEntiment Reasoner (VADER). The combination of speed and accuracy makes SELSP especially attractive for sentiment analysis applications in both academic and industrial contexts. Moreover, we compare SELSP with Transformer-based models trained on a 5-label classification task. In addition, we evaluate multiple sentiment dictionaries with SELSP to determine which yields the best performance in polarity prediction. The results show that dictionaries accounting for polarity judgment variation outperform those that ignore it. Furthermore, we show that SELSP outperforms Transformer-based models in terms of speed for polarity prediction.

Ask AI
Helpful
Bookmark
Share
View Full Paper

Cite This Study

Imran et al. (2026) studied this question.

synapsesocial.com/papers/6980fe48c1c9540dea8103cehttps://doi.org/10.7717/peerj-cs.3519
Ask AI
Helpful
Bookmark
Share
View Full Paper