inception-project / inception

INCEpTION provides a semantic annotation platform offering intelligent annotation assistance and knowledge management.
https://inception-project.github.io
Apache License 2.0
593 stars 151 forks source link

Introduce specialized external recommender #744

Closed jcklie closed 5 years ago

jcklie commented 5 years ago

Is your feature request related to a problem? Please describe. Some external recommender types (e.g. DkPro TC) needs some special ṕieces of information in the request (e.g. adding default labels when a token lacks an annotation) that might not apply to all types of external recommenders.

Describe the solution you'd like Add a recommender factory for each type with its own traits class. Add a way to serialize parts of the traits to json, let the recommender call it to agnostically add this data to requests.

jcklie commented 5 years ago

We did this for e.g. Lapps and it works.