opennlp-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joern Kottmann <>
Subject Re: Releasing a Language Detection Model
Date Mon, 10 Jul 2017 20:09:35 GMT
My opinion about this is that we should offer the model as maven
dependency for users who just want to use it in their projects, and
also offer models for download for people to quickly try out OpenNLP.
If the models can be downloaded, a new users could very quickly test
it via the command line.

I don't really have any thoughts yet on how we should organize it, it
would probably be nice to have some place where we can share all the
training data, and then have the scripts to produce the models checked
in. It should be easy to retrain all the models in case we do a major

In case a corpus is vanishing we should drop support for it, must be
obsolete then.


On Mon, Jul 10, 2017 at 8:50 PM, William Colen <> wrote:
> We need to address things such as sharing the evaluation results and how to
> reproduce the training.
> There are several possibilities for that, but there are points to consider:
> Will we store the model itself in a SCM repository or only the code that
> can build it?
> Will we deploy the models to a Maven Central repository? It is good for
> people using the Java API but not for command line interface, should we
> change the CLI to handle models in the classpath?
> Should we keep a copy of the training model or always download from the
> original provider? We can't guarantee that the corpus will be there
> forever, not only because it changed license, but simple because the
> provider is not keeping the server up anymore.
> William
> 2017-07-10 14:52 GMT-03:00 Joern Kottmann <>:
>> Hello all,
>> since Apache OpenNLP 1.8.1 we have a new language detection component
>> which like all our components has to be trained. I think we should
>> release a pre-build model for it trained on the Leipzig corpus. This
>> will allow the majority of our users to get started very quickly with
>> language detection without the need to figure out on how to train it.
>> How should this project release models?
>> Jörn

View raw message