Maha Jarallah,

You have to download the binary release files and unzip them to the same
CS directory.  The binary release files have the bin directory and a lib
directory for the .JAR files for java.
The model can not run on its own.

James

On 5/27/2011 3:57 PM, Jörn Kottmann wrote:
> Just testing if posting to the list works, Maha told me
> off list that he gets a delivery error from hotmail when he
> sends a mail to this list.
>
> Jörn
>
> On 5/26/11 9:18 PM, maha jarallah wrote:
>>
>>
>> thank you Jörn
>>
>> I have a folder called CS inside this folder there are two files
>> (en-sent.bin & Test.txt)
>> when I apply the command you sent, it gives me this error
>>
>>
>> c:\CS>bin\opennlp.bat SentenceDetector en-sentbin Test.txt output.txt
>> The system cannot find the path specified.
>>
>> I know that bin means the same folder but I do not know what
>> opennlp.bat does and why this error happens
>>
>>
>>  
>> ---------------------------------------------------------------------------------------------------------------------------
>>
>> > Date: Thu, 26 May 2011 19:28:20 +0200
>> > From: kottm...@gmail.com
>> > To: opennlp-users@incubator.apache.org
>> > Subject: Re: How to use openNLP in command tool
>> >
>> > On 5/26/11 7:22 PM, maha jarallah wrote:
>> > > Hi everyone,
>> > >
>> > > I tried to use sentence detector command tool by following the
>> instruction in the documentation so I wrote
>> > > $bin/opennlp SentenceDetector en-sent.bin< input.txt> output.txt
>> > >
>> > > First I wrote the above command in the command line in windows
>> and it does not recognize the $bin
>> > >
>> > > then I used Windows powershell but it always gives me error
>> > > Windows PowerShell
>> > > Copyright (C) 2009 Microsoft Corporation. All rights reserved.
>> > >
>> > >
>> > > PS C:\cs> $bin en-sent.bin Test.txt output.txt
>> > > Unexpected token 'en-sent.bin' in expression or statement.
>> > > At line:1 char:17
>> > > + $bin en-sent.bin<<<< Test.txt output.txt
>> > > + CategoryInfo : ParserError: (en-sent.bin:String) [],
>> ParentContainsErrorRecordException
>> > > + FullyQualifiedErrorId : UnexpectedToken
>> > >
>> > > what is the wrong?
>> > >
>> >
>> > On windows you eventually need to type something like this:
>> > bin\opennlp.bat SentenceDetector en-sentbin < intput.txt > output.txt
>> >
>> > Jörn
>>
>
>

Reply via email to