I will implement this similar to the KeywordLinkingEngine.
- Default Language: If configured this is used as default if no language was detected for a text (e.g. if no language detection engine is active)
- Processed Languages: Allows to configure a list of languages that are processed by an engine instance. If empty or not present all languages are processed. This allows to create multiple instances of the NER engine (with different configurations) that do only process some specific languages.
In addition I will change this Entinge to use the ConfigurationFactory. This will allow multiple instances to be configured and include a default configuration with the default values for default language (none) and processed languages (any) within the stanbol launchers.
The base framework that allows to dynamically load OpenNLP NER models for different languages was already implemented in the meantime by the OpenNLP utility (part of org.apache.stanbol.commons.opennlp module).