Abstract
This study presents a comparative analysis of machine learning (ML) and deep learning (DL) algorithms for sentiment analysis in Albanian, a low-resource and morphologically rich language that poses distinctive challenges for natural language processing (NLP). This study explored the effectiveness of both traditional ML classifiers and neural network approaches, such as Long Short-Term Memory (LSTM) models. Experiments were conducted on two datasets: the AlbMoRe corpus and the Multilingual Twitter Sentiment Classification corpus. Given the complexity of Albanian, we examined how linguistic features influence algorithmic performance, noting that conventional ML models struggle to capture contextual sentiment effectively. We also performed a series of hyperparameter tuning experiments within the LSTM architecture, focusing on network depth, dropout rates, and embedding dimensions. These findings contribute to the advancement of NLP tools and resources for the Albanian language.