dmis-lab / BERN2

BERN2: an advanced neural biomedical namedentity recognition and normalization tool
http://bern2.korea.ac.kr
BSD 2-Clause "Simplified" License
175 stars 42 forks source link

How disable some inner taggers #31

Closed mpperez3 closed 2 years ago

mpperez3 commented 2 years ago

Is it possible to disable some of the internal annotators to improve performance? For example, disable GNORM and work with the other annotators.

Thanks!

minstar commented 2 years ago

Thanks for your reaching us!

Yeah, bern2.py in bern2 folder you could find what you want to get rid of in lines 310-444.

For example, for named entity recognition, line 361-362, you could comment out what you don't want to deal with such as gnormplus (NER).

If you have more questions, feel free to reach us.