This repository contains a Natural Language Processing (NLP) project developed for the course Natural Language Processing (MSc in Artificial Intelligence, 1st year, 2nd semester). The project focuses on classifying online messages from open-source software platforms (GitHub, Bugzilla, NNTP) into request and non-request categories using various machine learning models and word embeddings.
- Clone the repository:
git clone https://github.com/your-username/oss-message-classifier.git
cd oss-message-classifier- Install dependencies:
Make sure you are using Python 3.12. Then install all required libraries using:
pip install -r requirements.txt- Download FastText model (if using FastText embeddings):
To use the FastText pre-trained embeddings, download the model from the following link:
After downloading, extract the .zip file and place the .bin model file (crawl-300d-2M-subword.bin) in the root directory of the project (or update the path in the notebook accordingly).
- Open and run the notebook:
You can now open the PLN.ipynb notebook in Jupyter:
jupyter notebook PLN.ipynbRun all cells in sequence to reproduce the results and visualizations.
The dataset used in this project can be downloaded from:
Feel free to fork, adapt, or contribute!