CogComp's Natural Language Processing Libraries and Demos: Modules include lemmatizer, ner, pos, prep-srl, quantifier, question type, relation-extraction, similarity, temporal normalizer, tokenizer, transliteration, verb-sense, and more.
When trying to compile I had to adjust paths (in my case I the subdirs like this: C:\Users\chris\.cogcomp-datastore\readonly.org.cogcomp.mention\1.0\ACE_HEAD_NONTYPE\ACE_HEAD_NONTYPE), also the file name needs to be adjusted (e.g. for one it is ACE_NAM). It seems that this file corresponds to org.cogcomp.md.LbjGen.bio_classifier_nam, as I tried loading any of the files above with renaming. This was the error message:
Error reading model from 'file:C:/Users/chris/.cogcomp-datastore/readonly.org.cogcomp.mention/1.0/ACE_HEAD_NONTYPE/ACE_HEAD_NONTYPE/ACE_NAM.lc':
Expected 'org.cogcomp.md.LbjGen.bio_classifier_nam' but received 'edu.illinois.cs.cogcomp.lbj.coref.learned.MentionDetectorMyBIOHead'
So where can I find the correct files in the repo?
It was absurdly hard to find the names of the correct files, as I needed to follow the steps above. Model loading errors just be much more informative when they are missing!
I am trying to build illinois-md, but due to the link being down for automatic download of models, I have to do it manually.
I found the following files in
\illinois-coref-ace-model-1.5.jar\edu\illinois\cs\cogcomp\lbj\coref\learned\
in the repo:When trying to compile I had to adjust paths (in my case I the subdirs like this:
C:\Users\chris\.cogcomp-datastore\readonly.org.cogcomp.mention\1.0\ACE_HEAD_NONTYPE\ACE_HEAD_NONTYPE
), also the file name needs to be adjusted (e.g. for one it is ACE_NAM). It seems that this file corresponds toorg.cogcomp.md.LbjGen.bio_classifier_nam
, as I tried loading any of the files above with renaming. This was the error message:So where can I find the correct files in the repo? It was absurdly hard to find the names of the correct files, as I needed to follow the steps above. Model loading errors just be much more informative when they are missing!