nicolay-r / AREkit

Document level Attitude and Relation Extraction toolkit (AREkit) for sampling and processing large text collections with ML and for ML
https://nicolay-r.github.io/arekit-page/
MIT License
58 stars 3 forks source link

PredefinedTextOpinionAnnotator -- Opinion Identifier Treated as Entity ID #514

Closed nicolay-r closed 1 year ago

nicolay-r commented 1 year ago

Fix: rename the method to __convert_entity_id

In the code below, origin_id is related to Opinion id! Method name actually is wrong

495 related

https://github.com/nicolay-r/AREkit/blob/1e1d354654f4f0a72090504663cc6d218f6aaf4a/arekit/contrib/utils/pipelines/text_opinion/annot/predefined.py#L44-L60