APPLIED DATA SCIENCE IN NATURAL LANGUAGE PROCESSING: A STUDY ON THE APPLICATION OF CLIFFORD ALLGEBRA IN SENTIMENT ANALYSIS

Main Article Content

André Costa
Alexandre Oliveira

Abstract

Natural Language Processing (NLP) faces recurrent challenges in Sentiment Analysis tasks, primarily due to semantic ambiguities, contextual subtleties, and the occurrence of irony. Traditional computational methods frequently employ linear representations or procedural approaches that simplify the geometric structure underlying natural language. This work proposes an alternative approach grounded in Clifford Algebra, modeling text sentences as multivectors in a space with well-defined geometric signatures Cl(p, q, r)$. The methodology consists of extracting adjectives from X (formerly Twitter) posts through linguistic processing (NLTK), followed by lexical polarization (VADER) and TF-IDF vectorization to generate the coefficients and dimensions of the multivector. Four transformation metrics from the multivector to the field of Real numbers were evaluated: the square norm, the general linear functional, the matrix trace via Pauli representations, and the bilinear form. Experimental results with a dataset of 700 posts indicate that all four approaches showed consistency in sentiment classification, achieving an accuracy of 70%, which demonstrates the potential of Clifford Algebra for NLP tasks. Finally, the limitations of the lexical polarizer are discussed, and future perspectives using Portuguese-language datasets are proposed.

Downloads

Download data is not yet available.

Article Details

Section

Artigos