Code structure inside code folder
- parsers.py
- Train(XML) and Gold parsers
- utils.py
- a whole lot helper functions used in other files
- models.py
- provides three models including MFS, Basic, and Multitask
- train.py
- trains a Basic Model using the generator generatorPrototype.py
- trainMultitask.py
- trains a Multitask Model using the generator generatorMultitask.py
- predict.py
- predict functions for balenet, wnDomain, and lex. Default model used is Multitask
- running_predictions.py
- This is only used with the WSD_evaluation framework placed inside the (resources) folder. Uses the java Scorer.
- .py version of running_predictions.ipynb
- parsing.py
- parsing implementation, includes vocab creation of both lemmas and various senses. Mapping file.
- .py version of parsing.ipynb