Closed jcklie closed 6 years ago
This error appears also on 4323921f7cb76388bf20696c00c5ba1bec2f6593, therefore we need to fix it soonish.
Depending on the FeatureSupport, the value can be of different data type. I moved the relevant code that needs to be executed from RecommendationEditorExtension to RecommendationServiceImpl so ActiveLearning can call it too.
When I use active learning with a string recommender on named entitie value, then when I want to accept them, the following error is thrown:
java.lang.String cannot be cast to de.tudarmstadt.ukp.inception.kb.graph.KBHandle
Full stack trace: