Skip to content

Latest commit

 

History

History
11 lines (11 loc) · 537 Bytes

README.md

File metadata and controls

11 lines (11 loc) · 537 Bytes

Compare performance of NER engines

To start comparison

python compare.py --reference_file eval.tagged.txt --hypotheses_dir .

The script will consider that recognition results are stored in files having names like eval.target.ner-bert.txt or eval.ner-bert.target.txt if the reference file's name is eval.tagged.txt. sample-results To replace labels in all files:

sed -i ':a;N;$!ba;s/Loc\n/Location\n/g' */*.txt