Please put all your inputs in the input.txt
file.
All outputs are stored in output.txt
file.
At the time of writing this piece of software, some part-of-speech (POS) tags were only used, namely:
S -> Sentence
VP -> Verb Phrase
NP -> Noun Phrase
NNP -> Proper Nouns
NN -> Common Nouns
VBZ -> Verbalizers
DT -> Determiner
The software is heavily inspired by StanfordCoreNLP's Stanza.
- Make sure you have
conda
installed. To installconda
follow the documentation here. - Use the
environment.yml
file to create the environment:
conda env create --name envname --file=environment.yml
- Build the cabal project:
cd interpreter
cabal update
cabal build
To run the code:
python main.py -f input.txt