1

I want to install opennlp-1.6.0 and opennlp-1.5.3 on windows i've tried it like this, added the system variables

enter image description here

and the path

enter image description here

when I open the command prompt and type opennlp, output is as expected

C:\>opennlp
OpenNLP 1.6.0. Usage: opennlp TOOL  
where TOOL is one of:
Doccat                            learnable document categorizer
DoccatTrainer                     tr.............

but when I type opennlpl, this is what happens!

C:\>opennlpl
'opennlpl' is not recognized as an internal or external command,
operable program or batch file.

How to fix this?

  • Is the `opennlpl` really exist ? – Raptor May 24 '16 at 06:59
  • i've given opennlpl_home right? isn't that how it works? –  May 24 '16 at 07:05
  • 1
    No, it isn't. It's just a system variable name. You must have an `opennlpl` executable in your `%OPENNLPL_HOME%` – Raptor May 24 '16 at 07:14
  • What do you want to achieve ? Use both `opennlp` at the same time ? You should remove one of the paths & call the executable with the path directly – Raptor May 24 '16 at 07:16
  • https://www.flickr.com/photos/63837985@N07/27115209892/in/dateposted-public/ –  May 24 '16 at 07:25
  • Let us [continue this discussion in chat](http://chat.stackoverflow.com/rooms/112771/discussion-between-nuwanda-and-raptor). –  May 24 '16 at 10:19

1 Answers1

0

for your opennlpl to work, you must have opennlpl.bat file in the root folder. you must be having opennlp.bat in both the root folders which is why it isn't working.

But having two versions my guess is you want to train your models using both versions, you can train your models using opennlp-1.5.3 which are compatible for higher version also but the vice-versa isn't true. so, just configure it for opennlp-1.5.3 and you should be fine.

MWiesner
  • 8,868
  • 11
  • 36
  • 70
smoothsipai
  • 43
  • 10