Hi,
I have a java parser (opennlp-tools-1.7.2.jar) whose main class is "opennlp.tools.cmdline.CLI"
At the command line I run it with opennlp POSTagger mymodel.bin (opennlp is a bash script running the abovementioned jar file). After that I am asked interactively for the text to parse.
Is it possible to invoke the command from XQuery via java bindings? I have put the opennlp jar files in the repo folder and I have tried "import module namespace m = "java.opennlp.tools.cmdline.CLI;" but the I get the "module not found error"
Thanks! Joseph