You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@opennlp.apache.org by Jason Baldridge <jb...@mail.utexas.edu> on 2011/01/05 16:29:31 UTC

Re: Maximum Entropy in weka

On Tue, Dec 28, 2010 at 3:53 PM, Hendrik Luci <he...@yahoo.com>wrote:

> dear Opennlp.Maxent Expert ,
> I have some question about opennlp maxent :
> 1.Can we put opennlp.maxent into weka ?? and how to do it ??
>

If the licensing is consistent, then you are free to do so. As for how, I've
no idea what would all be involved -- depends on how you'd like to do it.


> 2. how to change .dat to .csv  in opennlp.maxent?
>
>
You just need an event stream that uses commas as separators, which you
should be able to do by creating a BasicEventStream with "," as the
separator, using this constructor:

public BasicEventStream (DataStream ds, String sep)

Jason

-- 
Jason Baldridge
Assistant Professor, Department of Linguistics
The University of Texas at Austin
http://comp.ling.utexas.edu/people/jason_baldridge