k-monitor / sajtoadatbazis-automat

0 stars 0 forks source link

feat: add entity linking logic #161

Closed csekili closed 2 months ago

csekili commented 2 months ago

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.