tamingtext / book

Taming Text Book Source Code
http://www.tamingtext.com
380 stars 207 forks source link

TrainMaxent problem #1

Closed jaganadhg closed 11 years ago

jaganadhg commented 12 years ago

Hi I tried the TrainMaxent program. When I executes the program it says CategoryDataStream cannot be cast to opennlp.tools.util.ObjectStream

Any hint about the root cause of this problem

gsingers commented 12 years ago

We're looking into it, will try to get an answer soon. Are you on the main branch or the 1.5 branch?

On Feb 29, 2012, at 10:48 AM, jaganadhg wrote:

Hi I tried the TrainMaxent program. When I executes the program it says CategoryDataStream cannot be cast to opennlp.tools.util.ObjectStream

Any hint about the root cause of this problem


Reply to this email directly or view it on GitHub: https://github.com/tamingtext/book/issues/1


Grant Ingersoll http://www.lucidimagination.com

jaganadhg commented 12 years ago

On Fri, Mar 2, 2012 at 3:39 AM, Grant Ingersoll < reply@reply.github.com

wrote:

We're looking into it, will try to get an answer soon. Are you on the main branch or the 1.5 branch?

Yes . I tried with 1.5 and 1.5.1 (incubating) version too


JAGANADH G http://jaganadhg.in ILUGCBE http://ilugcbe.org.in

drewfarris commented 12 years ago

To be a bit clearer, are you using the opennlp-1.5 branch of the book code or the master branch? This exception may be a problem resulting from a version mismatch -- opennlp-1.4 code attempting to use the opennlp 1.5 jars or vice versa.

The opennlp-1.5 branch of the book code is in development and should be used with the opennlp 1.5 jars and models.

jaganadhg commented 12 years ago

On Sun, Mar 4, 2012 at 12:55 AM, Drew Farris < reply@reply.github.com

wrote:

To be a bit clearer, are you using the opennlp-1.5 branch of the book code or the master branch? This exception may be a problem resulting from a version mismatch -- opennlp-1.4 code attempting to use the opennlp 1.5 jars or vice versa.

The opennlp-1.5 branch of the book code is in development and should be used with the opennlp 1.5 jars and models.

Hi,

I am using the master branch only.

I'll check out the OpenNLP1.5 branch and test it again .


JAGANADH G http://jaganadhg.in ILUGCBE http://ilugcbe.org.in