├── .gitignore ├── README.md ├── data_processing ├── README.md ├── amrbart │ ├── amr.py │ ├── amr_additions.txt │ ├── amr_parallel.py │ ├── amr_predicates.txt │ ├── amr_recategorizations.txt │ ├── amrbart2dglgraph.py │ └── v1.rules ├── compressed_transition │ └── compress.py └── wikievents │ └── transfer.py ├── evaluate_rams.sh ├── evaluate_wikievent.sh ├── run_rams.bash ├── run_wikievents.bash ├── scorer ├── constraints.py ├── event_role_multiplicities.txt ├── scorer.py ├── scoring_utils.py ├── transfer_results_rams.py └── transfer_results_wikievent.py ├── src_rams ├── metrics.py ├── model.py ├── parse.py ├── pipe.py ├── train.py └── utils.py └── src_wikievents ├── metrics.py ├── model.py ├── parse.py ├── pipe.py ├── train.py └── utils.py /.gitignore: -------------------------------------------------------------------------------- 1 | .idea/ 2 | data/ -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ayyyq/TARA/HEAD/README.md -------------------------------------------------------------------------------- /data_processing/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ayyyq/TARA/HEAD/data_processing/README.md -------------------------------------------------------------------------------- /data_processing/amrbart/amr.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ayyyq/TARA/HEAD/data_processing/amrbart/amr.py -------------------------------------------------------------------------------- /data_processing/amrbart/amr_additions.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ayyyq/TARA/HEAD/data_processing/amrbart/amr_additions.txt -------------------------------------------------------------------------------- /data_processing/amrbart/amr_parallel.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ayyyq/TARA/HEAD/data_processing/amrbart/amr_parallel.py -------------------------------------------------------------------------------- /data_processing/amrbart/amr_predicates.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ayyyq/TARA/HEAD/data_processing/amrbart/amr_predicates.txt -------------------------------------------------------------------------------- /data_processing/amrbart/amr_recategorizations.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ayyyq/TARA/HEAD/data_processing/amrbart/amr_recategorizations.txt -------------------------------------------------------------------------------- /data_processing/amrbart/amrbart2dglgraph.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ayyyq/TARA/HEAD/data_processing/amrbart/amrbart2dglgraph.py -------------------------------------------------------------------------------- /data_processing/amrbart/v1.rules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ayyyq/TARA/HEAD/data_processing/amrbart/v1.rules -------------------------------------------------------------------------------- /data_processing/compressed_transition/compress.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ayyyq/TARA/HEAD/data_processing/compressed_transition/compress.py -------------------------------------------------------------------------------- /data_processing/wikievents/transfer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ayyyq/TARA/HEAD/data_processing/wikievents/transfer.py -------------------------------------------------------------------------------- /evaluate_rams.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ayyyq/TARA/HEAD/evaluate_rams.sh -------------------------------------------------------------------------------- /evaluate_wikievent.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ayyyq/TARA/HEAD/evaluate_wikievent.sh -------------------------------------------------------------------------------- /run_rams.bash: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ayyyq/TARA/HEAD/run_rams.bash -------------------------------------------------------------------------------- /run_wikievents.bash: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ayyyq/TARA/HEAD/run_wikievents.bash -------------------------------------------------------------------------------- /scorer/constraints.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ayyyq/TARA/HEAD/scorer/constraints.py -------------------------------------------------------------------------------- /scorer/event_role_multiplicities.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ayyyq/TARA/HEAD/scorer/event_role_multiplicities.txt -------------------------------------------------------------------------------- /scorer/scorer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ayyyq/TARA/HEAD/scorer/scorer.py -------------------------------------------------------------------------------- /scorer/scoring_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ayyyq/TARA/HEAD/scorer/scoring_utils.py -------------------------------------------------------------------------------- /scorer/transfer_results_rams.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ayyyq/TARA/HEAD/scorer/transfer_results_rams.py -------------------------------------------------------------------------------- /scorer/transfer_results_wikievent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ayyyq/TARA/HEAD/scorer/transfer_results_wikievent.py -------------------------------------------------------------------------------- /src_rams/metrics.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ayyyq/TARA/HEAD/src_rams/metrics.py -------------------------------------------------------------------------------- /src_rams/model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ayyyq/TARA/HEAD/src_rams/model.py -------------------------------------------------------------------------------- /src_rams/parse.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ayyyq/TARA/HEAD/src_rams/parse.py -------------------------------------------------------------------------------- /src_rams/pipe.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ayyyq/TARA/HEAD/src_rams/pipe.py -------------------------------------------------------------------------------- /src_rams/train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ayyyq/TARA/HEAD/src_rams/train.py -------------------------------------------------------------------------------- /src_rams/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ayyyq/TARA/HEAD/src_rams/utils.py -------------------------------------------------------------------------------- /src_wikievents/metrics.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ayyyq/TARA/HEAD/src_wikievents/metrics.py -------------------------------------------------------------------------------- /src_wikievents/model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ayyyq/TARA/HEAD/src_wikievents/model.py -------------------------------------------------------------------------------- /src_wikievents/parse.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ayyyq/TARA/HEAD/src_wikievents/parse.py -------------------------------------------------------------------------------- /src_wikievents/pipe.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ayyyq/TARA/HEAD/src_wikievents/pipe.py -------------------------------------------------------------------------------- /src_wikievents/train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ayyyq/TARA/HEAD/src_wikievents/train.py -------------------------------------------------------------------------------- /src_wikievents/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ayyyq/TARA/HEAD/src_wikievents/utils.py --------------------------------------------------------------------------------