HazyResearch / bootleg

Self-Supervision for Named Entity Disambiguation at the Tail
http://hazyresearch.stanford.edu/bootleg
Apache License 2.0
214 stars 27 forks source link

Maybe a bug in 'bootleg_annotator.py' #100

Closed lypl closed 2 years ago

lypl commented 2 years ago

Hi, I found that there is a bug about path of loading entitydb data when I use this tool ;) In function 'create_config()' of 'bootleg_annotator.py': config_args["data_config"]["alias_cand_map"] = "alias2qids.json" should be: config_args["data_config"]["alias_cand_map"] = "alias2qids"

lorr1 commented 2 years ago

Thank for pointing this out. I'll fix this in the next PR.