This project aims to acreate an NLP term tagger using RNN and CRF models.
- We recomend setting up a virtual environment (e.g. a conda venv https://anaconda.org/anaconda/conda)
- Clone the data-science repository:
git clone https://github.com/himsoklong/NLP_tagging.git
- Go into the project folder and install the needed packages with:
pip install -r requirements.txt
Note: Our experiment was run using jupyter notebook, thus you can run the code in the ipynb files.
- For the RNN model we used a pre-trained model named FastText which can be found in the Code folder.
Please refer to Jupyter notebook CRF_model or RNN_Model file in Code folder.
To use the virtual enviroment from Jupyter notebook run:
pip install --user ipykernel
python -m ipykernel install --user --name=myenv