Back to Work
Text Sentiment Classifier
Technical Foundationscompleted

Text Sentiment Classifier

An applied NLP project for Arabic and English sentiment classification, with preprocessing, TF-IDF features, and a Gradio interface.

PythonNLPTensorFlow

My role

Solo technical project

This project demonstrates my technical foundations in Python, NLP, Arabic text normalization, TensorFlow/Keras, and model evaluation.

Data & Preprocessing

The pipeline included lowercasing, URL and mention removal, punctuation cleanup, emoji filtering, and Arabic normalization for alef, yaa, taa, diacritics, and tatweel characters.

Model & Evaluation

Text was represented using TF-IDF with character n-grams. A TensorFlow/Keras sequential neural network produced three sentiment classes. Evaluation used a classification report and confusion matrix; no single headline performance metric is published here because the verified value is not available in the current content.

What I Learned

The project helped me understand how preprocessing, dataset size, class imbalance, and evaluation metrics affect model performance.

Tools and methods

PythonTensorFlowKerasTF-IDFArabic text normalizationNLPGradio

Screenshots

Text Sentiment Classifier screenshot 1
View related credentialView Notebook