Skip to content

Which model files for MentionAnnotator #745

@chrisoutwright

Description

@chrisoutwright

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:

EmnlpBasicCoref.lex
Introduction.lex
aceCorefSPLearner.lc
MDExtendHeads.lc
MTypePredictor.lex
Emnlp8.lex
MDExtendHeads.lex
Introduction.lc
Emnlp8.lc
MTypePredictor.lc
aceCorefSPLearner.lex
MentionDetectorMyBIOHead.lc
EmnlpBasicCoref.lc
MentionDetectorMyBIOHead.lex

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions