This project is about merging the annotations in BRAT and
This script was used to merge the annnotations and remove unrelated variables.
-
src/
:main.py
: Merge the annotations (Annotated section headers that generated by Header Detector with pre-annotated variables that generated by SpaCTeS tool) in BRAT format. Output of this script is in ANN_FINAL directory. Also this script filter DIAGNOSTICO variables and its attributes that are not in the DIAGNOSTICO SECTION.
-
ANN_SECTION/
: Output of Header Detector project and input for merger.py script.ANN_VARIABLE/
: Output of SpaCTeS tool, which is ANN files and input for merger.py script.ANN_FINAL/
: Outout of main.py script.
For merging the annotations in BRAT, use follwoing command:
$ python3 main.py
Siamak Barzegar ([email protected])