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.
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.