gateplugin-LearningFramework
gateplugin-LearningFramework copied to clipboard
Better messages when users are using PRs incorrectly
Currently some ways of not using a PR properly, either by using the wrong PR or by setting the parameters in a way that is not proper for a corpus can result in weird exceptions.
This should be handled to give better feedback.
Examples:
- use the Apply PR without running the Train PR first
- run the Train PR on a corpus that does not have the required annotations