A Bidirectional LSTM IOB tagger trained on the Editme corpus. Implemented with allennlp.
First create a python 3.6 environment and install the necessary packages
# Installation
conda create -n editme python=3.6
conda activate editme
sudo apt install gcc
sudo apt install make
sudo apt install g++
pip install --upgrade pip
pip install -r requirements.txt
python -m spacy download en
A trained model is already saved in ./work_dir
.
To run in terminal
python editme.py terminal
A server can be run with port 2004 as default
python edtime.py serve