├── LICENSE ├── README.md ├── convert_dyiepp_to_sentence.py ├── convert_et_result.py ├── data └── raw_data │ └── dyiepp_ace2005 │ ├── event.schema │ ├── test.json │ ├── train.json │ └── val.json ├── data_convert ├── __init__.py ├── convert_text_to_target.py ├── format │ ├── __init__.py │ └── text2target.py ├── task_format │ ├── __init__.py │ └── event_extraction.py └── utils.py ├── evaluation.py ├── extraction ├── __init__.py ├── event_schema.py ├── extract_constraint.py ├── extraction_metrics.py ├── label_tree.py └── predict_parser │ ├── __init__.py │ ├── predict_parser.py │ └── target_predict_parser.py ├── requirements.txt ├── run_arg_predict.bash ├── run_seq2seq.py ├── run_seq2seq_span.bash ├── run_tri_predict.bash └── seq2seq ├── __init__.py ├── constrained_seq2seq.py ├── label_smoother_sum.py ├── sentence_splitter.py └── utils.py /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RingBDStack/GDAP/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RingBDStack/GDAP/HEAD/README.md -------------------------------------------------------------------------------- /convert_dyiepp_to_sentence.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RingBDStack/GDAP/HEAD/convert_dyiepp_to_sentence.py -------------------------------------------------------------------------------- /convert_et_result.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RingBDStack/GDAP/HEAD/convert_et_result.py -------------------------------------------------------------------------------- /data/raw_data/dyiepp_ace2005/event.schema: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RingBDStack/GDAP/HEAD/data/raw_data/dyiepp_ace2005/event.schema -------------------------------------------------------------------------------- /data/raw_data/dyiepp_ace2005/test.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RingBDStack/GDAP/HEAD/data/raw_data/dyiepp_ace2005/test.json -------------------------------------------------------------------------------- /data/raw_data/dyiepp_ace2005/train.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RingBDStack/GDAP/HEAD/data/raw_data/dyiepp_ace2005/train.json -------------------------------------------------------------------------------- /data/raw_data/dyiepp_ace2005/val.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RingBDStack/GDAP/HEAD/data/raw_data/dyiepp_ace2005/val.json -------------------------------------------------------------------------------- /data_convert/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /data_convert/convert_text_to_target.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RingBDStack/GDAP/HEAD/data_convert/convert_text_to_target.py -------------------------------------------------------------------------------- /data_convert/format/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /data_convert/format/text2target.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RingBDStack/GDAP/HEAD/data_convert/format/text2target.py -------------------------------------------------------------------------------- /data_convert/task_format/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RingBDStack/GDAP/HEAD/data_convert/task_format/__init__.py -------------------------------------------------------------------------------- /data_convert/task_format/event_extraction.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RingBDStack/GDAP/HEAD/data_convert/task_format/event_extraction.py -------------------------------------------------------------------------------- /data_convert/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RingBDStack/GDAP/HEAD/data_convert/utils.py -------------------------------------------------------------------------------- /evaluation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RingBDStack/GDAP/HEAD/evaluation.py -------------------------------------------------------------------------------- /extraction/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /extraction/event_schema.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RingBDStack/GDAP/HEAD/extraction/event_schema.py -------------------------------------------------------------------------------- /extraction/extract_constraint.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RingBDStack/GDAP/HEAD/extraction/extract_constraint.py -------------------------------------------------------------------------------- /extraction/extraction_metrics.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RingBDStack/GDAP/HEAD/extraction/extraction_metrics.py -------------------------------------------------------------------------------- /extraction/label_tree.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RingBDStack/GDAP/HEAD/extraction/label_tree.py -------------------------------------------------------------------------------- /extraction/predict_parser/__init__.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | # -*- coding:utf-8 -*- 3 | -------------------------------------------------------------------------------- /extraction/predict_parser/predict_parser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RingBDStack/GDAP/HEAD/extraction/predict_parser/predict_parser.py -------------------------------------------------------------------------------- /extraction/predict_parser/target_predict_parser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RingBDStack/GDAP/HEAD/extraction/predict_parser/target_predict_parser.py -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RingBDStack/GDAP/HEAD/requirements.txt -------------------------------------------------------------------------------- /run_arg_predict.bash: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RingBDStack/GDAP/HEAD/run_arg_predict.bash -------------------------------------------------------------------------------- /run_seq2seq.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RingBDStack/GDAP/HEAD/run_seq2seq.py -------------------------------------------------------------------------------- /run_seq2seq_span.bash: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RingBDStack/GDAP/HEAD/run_seq2seq_span.bash -------------------------------------------------------------------------------- /run_tri_predict.bash: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RingBDStack/GDAP/HEAD/run_tri_predict.bash -------------------------------------------------------------------------------- /seq2seq/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RingBDStack/GDAP/HEAD/seq2seq/__init__.py -------------------------------------------------------------------------------- /seq2seq/constrained_seq2seq.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RingBDStack/GDAP/HEAD/seq2seq/constrained_seq2seq.py -------------------------------------------------------------------------------- /seq2seq/label_smoother_sum.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RingBDStack/GDAP/HEAD/seq2seq/label_smoother_sum.py -------------------------------------------------------------------------------- /seq2seq/sentence_splitter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RingBDStack/GDAP/HEAD/seq2seq/sentence_splitter.py -------------------------------------------------------------------------------- /seq2seq/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RingBDStack/GDAP/HEAD/seq2seq/utils.py --------------------------------------------------------------------------------