Sounds like your JAVA_HOME environment variable is a bit screwy - try
this from the same place:

>java -jar lib\opennlp-tools-*.jar

But given OpenNLP is primarily a Java API, I think you may struggle
trying to use it purely as a command line tool.

Steve.
--
Steve Eynon
-------------------------------
"If at first you don't succeed,
   so much for skydiving!"


On 11 June 2011 21:19, Amal Elmah <amalalthougha...@hotmail.com> wrote:
>
> Hi,
>
> I tried to use Opennlp tools so I downloaded the 
> apache-opennlp-1.5.1-incubating-bin.zip from the following page 
> http://incubator.apache.org/opennlp/download.cgi
> then I unzip this folder
> I followed the instructions in the documentation 
> http://incubator.apache.org/opennlp/documentation/manual/opennlp.html to try 
> to make a tocknizer
> so I wrote the following in the command line
>
> C:\Pipe\apache-opennlp-1.5.1-incubating-bin\apache-opennlp-1.5.1-incubating> 
> bin\opennlp.bat SimpleTokenizer
>
> bu I have got the following error! what does this error mean?????
>
> \Java\jdk1.6.0_25\bin\bin\java was unexpected at this time.
>
> thanks,
> Amal

Reply via email to