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
600 stars 153 forks source link

Support recommendation of relations #406

Closed jcklie closed 2 years ago

jcklie commented 6 years ago

It would be nice to have recommender that can predict relations. In INCEpTION, there are 4 types of layers that could be predicted:

  1. Relations #1239
  2. Predicate-Argument Structures
  3. Coreference Chains
  4. KB Facts

image

FabianChenDP commented 3 years ago

Is it already finished to support recommendation of relations? I see no related example in the inception-external-recommender subproject.

jcklie commented 3 years ago

There is support in INCEpTION and we have an internal recommender for relations, I just did not have a use case/model yet for an external one. What would you like to use it for?

FabianChenDP commented 3 years ago

I'd like to train a coreference resolution model through active learning.

FabianChenDP commented 3 years ago

May I reuse the Server and Classifier classes provided by the ariadne package?

jcklie commented 3 years ago

You can of course use inception-external-recommender, it is open source and free software. We did not implement coreference recommender yet, only relations so you would not be able to use the coreference layer in INCEpTION for that. I have an example that is a bad recommender for relations, you can find it in https://gist.github.com/jcklie/41e243537d34c24903ab9759a0009a17 . There is also a StringRelation recommender. I think it is not yet in 0.19.x but in master, which will be released soon. I sadly do not have the time right now to add coreference recommendations to INCEpTION, but I wrote the code for relations so that coreference can be added quite easily.

reckart commented 2 years ago

We have basic support for relations since #1239 in v20.