Example usage: use the following command in the current directory.
python3 src/main.py data/train.tsv grammars/toy.cfg output/train.tsv
The train data can be found in data/train.tsv.
- Building a toy grammar
- Constituency parsing
- Evaluation and error analysis
Precision = TP / (TP + FP) = 0.29
Recall = TP / (TP + FN) = 0.40