pgoel92/AMR-One
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
Contents : aligner.py : Reads an AMR-corpus and aligns each AMR with the text. evaluator.py : Reads an aligned AMR-corpus and a gold set and outputs the Precision and Recall. lib/ - AMR_class.py : Object of this class is an element in the AMR-corpus. - Alignment_Evaluator.py : Saves the evaluation results and dictionaries for FP and FNs as an object - Node_class.py : Object of this class is a node in the AMR graph - dictlib.py : Dictionary manipulation functions - lemmatizer.py : POS tags and lemmatizes a list of tokens dev/ : Contains the dev corpus and associated files test/ : Contains the test corpus and associated files NOTE : Current evaluator fails for certain AMRs : 0003.8, 0003.29, 0008.1, 0008.2, 0008.3