emorynlp / nlp4j-old

NLP tools developed by Emory University.
Other
60 stars 19 forks source link

Nlp Training for NER #38

Closed brew42 closed 8 years ago

brew42 commented 8 years ago

Hi

I am trying to use NPLTrain in ner mode. I have been using the file attached but get the error below.

Command ./bin/nlptrain -c config-train-ner.xml -mode ner -t sample-trn.tsv -d sample-dev.tsv -m sample-dep.xz

Error java.lang.IllegalArgumentException: No enum constant edu.emory.mathcs.nlp.component.template.util.BILOU.2 at java.lang.Enum.valueOf(Enum.java:238)

And ideas?

It does generate an output. See sample-dep.xz attached. Is there anyway of previewing this to approve the content?

Also when i manage to generate the output I was wondering which file this would replace in my configuration file - does it replace this?

edu/emory/mathcs/nlp/lexica/en-named-entity-gazetteers-simplified.xz

Tom

Attachments

sample-dep.xz.zip config-train-ner.xml.zip

brew42 commented 8 years ago

Hi Closing this issue and adding to new nlp4j branch