├── data ├── __init__.py ├── ner_pipe.py └── padder.py ├── model ├── __init__.py ├── cnn.py ├── metrics.py ├── metrics_utils.py ├── model.py └── multi_head_biaffine.py ├── preprocess ├── __init__.py ├── data │ └── GENIAcorpus3.02.merged.fixed.xml ├── outputs │ └── genia │ │ ├── dev.jsonlines │ │ ├── test.jsonlines │ │ └── train.jsonlines ├── process_ace2004.py ├── process_ace2005.py ├── process_genia.py ├── readme.md ├── splits │ ├── ace2004 │ │ ├── dev.txt │ │ ├── meta.json │ │ ├── test.txt │ │ └── train.txt │ ├── ace2005 │ │ ├── dev.txt │ │ ├── meta.json │ │ ├── test.txt │ │ └── train.txt │ └── genia │ │ ├── dev.txt │ │ ├── test.txt │ │ └── train.txt └── statistics.py ├── readme.md ├── requirements └── train.py /data/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /data/ner_pipe.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yhcc/CNN_Nested_NER/HEAD/data/ner_pipe.py -------------------------------------------------------------------------------- /data/padder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yhcc/CNN_Nested_NER/HEAD/data/padder.py -------------------------------------------------------------------------------- /model/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /model/cnn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yhcc/CNN_Nested_NER/HEAD/model/cnn.py -------------------------------------------------------------------------------- /model/metrics.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yhcc/CNN_Nested_NER/HEAD/model/metrics.py -------------------------------------------------------------------------------- /model/metrics_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yhcc/CNN_Nested_NER/HEAD/model/metrics_utils.py -------------------------------------------------------------------------------- /model/model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yhcc/CNN_Nested_NER/HEAD/model/model.py -------------------------------------------------------------------------------- /model/multi_head_biaffine.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yhcc/CNN_Nested_NER/HEAD/model/multi_head_biaffine.py -------------------------------------------------------------------------------- /preprocess/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /preprocess/data/GENIAcorpus3.02.merged.fixed.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yhcc/CNN_Nested_NER/HEAD/preprocess/data/GENIAcorpus3.02.merged.fixed.xml -------------------------------------------------------------------------------- /preprocess/outputs/genia/dev.jsonlines: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yhcc/CNN_Nested_NER/HEAD/preprocess/outputs/genia/dev.jsonlines -------------------------------------------------------------------------------- /preprocess/outputs/genia/test.jsonlines: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yhcc/CNN_Nested_NER/HEAD/preprocess/outputs/genia/test.jsonlines -------------------------------------------------------------------------------- /preprocess/outputs/genia/train.jsonlines: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yhcc/CNN_Nested_NER/HEAD/preprocess/outputs/genia/train.jsonlines -------------------------------------------------------------------------------- /preprocess/process_ace2004.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yhcc/CNN_Nested_NER/HEAD/preprocess/process_ace2004.py -------------------------------------------------------------------------------- /preprocess/process_ace2005.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yhcc/CNN_Nested_NER/HEAD/preprocess/process_ace2005.py -------------------------------------------------------------------------------- /preprocess/process_genia.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yhcc/CNN_Nested_NER/HEAD/preprocess/process_genia.py -------------------------------------------------------------------------------- /preprocess/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yhcc/CNN_Nested_NER/HEAD/preprocess/readme.md -------------------------------------------------------------------------------- /preprocess/splits/ace2004/dev.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yhcc/CNN_Nested_NER/HEAD/preprocess/splits/ace2004/dev.txt -------------------------------------------------------------------------------- /preprocess/splits/ace2004/meta.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yhcc/CNN_Nested_NER/HEAD/preprocess/splits/ace2004/meta.json -------------------------------------------------------------------------------- /preprocess/splits/ace2004/test.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yhcc/CNN_Nested_NER/HEAD/preprocess/splits/ace2004/test.txt -------------------------------------------------------------------------------- /preprocess/splits/ace2004/train.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yhcc/CNN_Nested_NER/HEAD/preprocess/splits/ace2004/train.txt -------------------------------------------------------------------------------- /preprocess/splits/ace2005/dev.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yhcc/CNN_Nested_NER/HEAD/preprocess/splits/ace2005/dev.txt -------------------------------------------------------------------------------- /preprocess/splits/ace2005/meta.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yhcc/CNN_Nested_NER/HEAD/preprocess/splits/ace2005/meta.json -------------------------------------------------------------------------------- /preprocess/splits/ace2005/test.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yhcc/CNN_Nested_NER/HEAD/preprocess/splits/ace2005/test.txt -------------------------------------------------------------------------------- /preprocess/splits/ace2005/train.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yhcc/CNN_Nested_NER/HEAD/preprocess/splits/ace2005/train.txt -------------------------------------------------------------------------------- /preprocess/splits/genia/dev.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yhcc/CNN_Nested_NER/HEAD/preprocess/splits/genia/dev.txt -------------------------------------------------------------------------------- /preprocess/splits/genia/test.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yhcc/CNN_Nested_NER/HEAD/preprocess/splits/genia/test.txt -------------------------------------------------------------------------------- /preprocess/splits/genia/train.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yhcc/CNN_Nested_NER/HEAD/preprocess/splits/genia/train.txt -------------------------------------------------------------------------------- /preprocess/statistics.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yhcc/CNN_Nested_NER/HEAD/preprocess/statistics.py -------------------------------------------------------------------------------- /readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yhcc/CNN_Nested_NER/HEAD/readme.md -------------------------------------------------------------------------------- /requirements: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yhcc/CNN_Nested_NER/HEAD/requirements -------------------------------------------------------------------------------- /train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yhcc/CNN_Nested_NER/HEAD/train.py --------------------------------------------------------------------------------