Hi,

I have tried to use the Coferencer CLI in 1.5.3 and I do not seem to
manage. I run

bin/opennlp Coreferencer /path/to/models/ < file.parse

and it gives this error

[ERROR] Failed to execute goal
org.codehaus.mojo:exec-maven-plugin:1.2.1:java (default-cli) on
project opennlp-tools: An exception occured while executing the Java
class. null: InvocationTargetException: NullPointerException -> [Help
1]

the file.parse is simply a constituent parse tree. I also tried to
give it the parse tree itself but it does not work either. For
example,

$ bin/opennlp Coreferencer
/home/ragerri/experiments/coreference/opennlp/original_models/ < (TOP
(S (NP (DT The) (NN fox)) (VP (VBD jumped) (PP (IN over) (NP (DT the)
(JJ lazy) (NN dog.))))))

-bash: syntax error near unexpected token `('

Cheers,

Rodrigo

Reply via email to