This project is part of an assignment given to students at Harbour Space University. It is intended to detect from job post descriptions, and some metadata, whether it is fake or not.
Then create the environment and install the dependencies with pip.
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txtTo run the project, make sure you have a .env file in the root folder.
It should look exactly like .env.example but with your real TELEGRAM TOKEN.
Once you do it, you can run the main file, it will prepare the data and train the model:
python main.pyAfter it is done, run the chatbot by using:
python -m my_code.chatbot-
Remove the salary range column
-
split location column into- country, state, city from location
-
Replace null to string "missing" -- instead of dropping missings, use as a valid observation. Could be that fake posts often have missing fields
-
Drop non-english text entries
-
Clean text columns: separate sentences, remove URLs, non-ascii, punctuation, extra spaces and white spac
-
combine text into single test, Tokenization, remove stopwords,other text cleaning and processing of data
-
vectorization