You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@opennlp.apache.org by Yuan Luo <yu...@gmail.com> on 2012/06/10 17:22:33 UTC

How to output models to human readable format?

Hi,
I am wondering whether there are ways to output, say, the en-pos-maxent.bin
model into human readable text format. Any help would be appreciated!

Best,
Yuan

Re: How to output models to human readable format?

Posted by Jörn Kottmann <ko...@gmail.com>.
Hello,

the models contain usually one or more classification models
and some also resources.

The resources are usually in formats which can be read easily,
e.g. xml, plain/text.

The classification models are stored in a binary format.
You would need to write some code to print them in a human-read able
format.
You probably want to print out the features with their weights and all
the outcomes.

Jörn


On 06/10/2012 05:22 PM, Yuan Luo wrote:
> Hi,
> I am wondering whether there are ways to output, say, the en-pos-maxent.bin
> model into human readable text format. Any help would be appreciated!
>
> Best,
> Yuan
>