Running the pos tagger is extremely simple for this case All one would need to do is run the following command
python pos_tagger.py
After that they will be prompted to give an input sentence, which will be tagged accordingly but the best trained model available for the purpose of this task as created for the assignment.
There are a few dependencies that need to be installed before running the code, which are as follows:
- conllu (pip install conllu)
- nltk (pip install nltk)
- sklearn (pip install sklearn) -> this is for running the actual model
- scipy (pip install scipy) -> this is for running the actual model