[
https://issues.apache.org/jira/browse/OPENNLP-48?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14124913#comment-14124913
]
Pavlina Fragkou commented on OPENNLP-48:
----------------------------------------
Dear sirs/madams
I am trying to use the run the Version 1.5.3 in win 7. More specifically I am
interested in running the NE and coreference resolution tools.
In order to run the tool, I set the classpath as set CLASSPATH =
lib\jwnl-1.3.3.jar;lib\opennlp-maxent-3.0.3.jar;lib\opennlp-tools-1.5.3.jar;lib\opennlp-uima-1.5.3.jar
I succesfully run the following
java -jar lib\opennlp-tools-1.5.3.jar SentenceDetector models\en-sent.bin <
1.txt | java -jar lib\opennlp-tools-1.5.3.jar TokenizerME models\en-token.bin |
java -jar lib\opennlp-tools-1.5.3.jar TokenNameFinder models\en-ner-person.bin
| java -jar lib\opennlp-tools-1.5.3.jar TokenNameFinder models\en-ner-date.bin
| java -jar lib\opennlp-tools-1.5.3.jar TokenNameFinder
models\en-ner-location.bin | java -jar lib\opennlp-tools-1.5.3.jar
TokenNameFinder models\en-ner-money.bin | java -jar lib\opennlp-tools-1.5.3.jar
TokenNameFinder models\en-ner-percentage.bin | java -jar
lib\opennlp-tools-1.5.3.jar TokenNameFinder models\en-ner-organization.bin |
java -jar lib\opennlp-tools-1.5.3.jar TokenNameFinder models\en-ner-time.bin |
java -jar lib\opennlp-tools-1.5.3.jar POSTagger models\en-pos-maxent.bin | java
-jar lib\opennlp-tools-1.5.3.jar ChunkerME models\en-chunker.bin
However I encounter some problems while running the Coreference resolution
interface. I must confess that, I do not wish to use the CoreferencerTrainer
or the CoreferenceConverter, since I would like to use an already trained model.
I suppose that I must run a command like the following:
java -jar lib\opennlp-tools-1.5.3.jar SentenceDetector models\en-sent.bin <
1.txt | java -jar lib\opennlp-tools-1.5.3.jar TokenizerME models\en-token.bin |
java -jar lib\opennlp-tools-1.5.3.jar TokenNameFinder models\en-ner-person.bin
| java -jar lib\opennlp-tools-1.5.3.jar TokenNameFinder models\en-ner-date.bin
| java -jar lib\opennlp-tools-1.5.3.jar TokenNameFinder
models\en-ner-location.bin | java -jar lib\opennlp-tools-1.5.3.jar
TokenNameFinder models\en-ner-money.bin | java -jar lib\opennlp-tools-1.5.3.jar
TokenNameFinder models\en-ner-percentage.bin | java -jar
lib\opennlp-tools-1.5.3.jar TokenNameFinder models\en-ner-organization.bin |
java -jar lib\opennlp-tools-1.5.3.jar TokenNameFinder models\en-ner-time.bin |
java -jar -DWNSEARCHDIR=C:\Wordnet lib\opennlp-tools-1.5.3.jar Coreferencer
models\coreference
where -DWNSEARCHDIR is the directory where Wordnet resides.
However this does not work. No output is produced.
Can you please provide me with an example on how I must run the coreference
tool and which other tools must run before it? POSTagger and ChunkerME are
nessecary?
Additionally, Wordnet 3.0 for Windows is not provided. Is there a problem if I
use the unix version (just to unzip it) or can I use the 2.1 wordnet version?
According to http://wordnetcode.princeton.edu/3.0/CHANGES the following
changes between WordNet 2.1 and 3.0 are performed
" Some changes were made to the graphical interface and WordNet library
with regard to adjective and adverb searches. The adjective search
"Synonyms/Related Nouns" was relabeled "Synonyms", and, similarly, the
adverb search "Synonyms/Stem Adjectives" was relabled "Synonyms". A
separate "Related Noun" search was inserted for adjectives, and a
separate "Base Adjective" search was added for adverbs. "
I would like to thank you in advance
Pavlina
> Write documentation for the coreference component
> -------------------------------------------------
>
> Key: OPENNLP-48
> URL: https://issues.apache.org/jira/browse/OPENNLP-48
> Project: OpenNLP
> Issue Type: Improvement
> Components: Documentation
> Reporter: Joern Kottmann
>
> As part of the coref refactoring documentation should be written which
> explains
> how to use and train the coreference component.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)