svjan5/medtype

Update entity_linkers.py

fhidalgor opened this issue · 2 comments

Hi,

There were problems when running scispacy linker v0.2. In particular, there was not a config.cfg file to read. I solved that by installing the v0.4.

However, in the new release there are a few changes with respect to nlp.add_pipe.
I had to manually change your source code file entity_linkers.py to make it run:
image

Thanks for pointing that out!

Please use the earlier version of scispacy to get it working out-of-the-box otherwise it would require a lot of non-trivial changes.