Skip to content

Scripts for comparing outputs of various ner engines to evaluate their performance

Notifications You must be signed in to change notification settings

MANASLU8/ner-comparison

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Scripts for comparing outputs of various ner engines to evaluate their performance

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published