EUVIMEDEUVIMED entdecken
Open Access · CC BY 4.0

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

Muhammad Imran, Olga Kellert, Carlos Gómez-Rodríguez

PeerJ Computer Science · 30.01.2026 · 12 · e3519

DOI: 10.7717/peerj-cs.3519 ↗

Kurz gefasst

Fachartikel in der Zeitschrift PeerJ Computer Science, online erschienen am 30.01.2026. Verfasst von Muhammad Imran und 2 weiteren Autor:innen. Die Arbeit wurde bisher 3-mal zitiert (Crossref) und nennt 50 Literaturangaben. Der Volltext ist frei zugänglich (Open Access, CC BY 4.0).

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

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.

Zitieren

APA

Imran, M., Kellert, O., & Gómez-Rodríguez, C. (2026). A syntax-injected approach for faster and more accurate sentiment analysis. PeerJ Computer Science, 12, e3519. https://doi.org/10.7717/peerj-cs.3519

Vancouver

Imran M, Kellert O, Gómez-Rodríguez C. A syntax-injected approach for faster and more accurate sentiment analysis. PeerJ Computer Science. 2026;12:e3519. doi:10.7717/peerj-cs.3519

BibTeX
@article{Imran2026,
  author = {Imran, Muhammad and Kellert, Olga and Gómez-Rodríguez, Carlos},
  title = {A syntax-injected approach for faster and more accurate sentiment analysis},
  journal = {PeerJ Computer Science},
  year = {2026},
  volume = {12},
  pages = {e3519},
  doi = {10.7717/peerj-cs.3519}
}
Kostenlos starten →