thank you very much...
when I change .bin file to .zip file in program, it run correctly.


On Tue, Apr 22, 2014 at 7:16 AM, Sasikumar N <[email protected]> wrote:

> Hi,
> have u downloaded the model file located here(
> http://opennlp.sourceforge.net/models-1.5/en-sent.bin ) and used in your
> code.
>
> Have a look at the examples available in this blog:
> http://www.programcreek.com/2012/05/opennlp-tutorial/, This may be helpful
> for you to identify what you have done wrong.
>
>
> On Tue, Apr 22, 2014 at 4:40 PM, dhanashree thakur <[email protected]
> >wrote:
>
> > hi all, I am running sentence detector program in eclipse ,but it gives
> > errors as,
> > Exception in thread "main" java.lang.NullPointerException
> >     at
> >
> opennlp.tools.util.model.BaseModel.getManifestProperty(BaseModel.java:491)
> >     at
> > opennlp.tools.util.model.BaseModel.initializeFactory(BaseModel.java:245)
> >     at opennlp.tools.util.model.BaseModel.loadModel(BaseModel.java:237)
> >     at opennlp.tools.util.model.BaseModel.<init>(BaseModel.java:181)
> >     at
> opennlp.tools.sentdetect.SentenceModel.<init>(SentenceModel.java:95)
> >     at SentenceSplit1.main(SentenceSplit1.java:21)
> >
> > Please help me regarding this.
> >
>
>
>
> --
> Regards,
> SASIKUMAR N
>

Reply via email to