Added entity_linking.py which contains the new functions performing the linking of detected entities to database entities. Also modified some part of NERProcessor to use the new logic.
As of now it should be backwards compatible (I did not resolve the issue of returning all detected occurrences of the same entities). Note, that even though I run tests locally, I did not perform an end-to-end test.
Added entity_linking.py which contains the new functions performing the linking of detected entities to database entities. Also modified some part of NERProcessor to use the new logic.
As of now it should be backwards compatible (I did not resolve the issue of returning all detected occurrences of the same entities). Note, that even though I run tests locally, I did not perform an end-to-end test.