-
Notifications
You must be signed in to change notification settings - Fork 82
Can not find the path to the Model file #20
Comments
nope. not working. whether I use model.ser.gz or file-name.jar. And there is no test about this also that would prove that it woks. |
The corresponding code is in https://github.com/dlwh/epic/blob/master/src/main/scala/epic/models/package.scala#L36-L82. From what I see, you are using a jar, so use On another note, why not include the file as dependency? |
then: sbt.ResolveException: unresolved dependency: org.scalanlp#epic-pos-en_2.11;2014.9.15-SNAPSHOT: not found |
That's only been compiled for 2.10. Pokes @dlwh |
Sorry, yeah, I only built POS models for 2.10. I'll try to get to it this week. |
Yeah, if you could release the latests builds of the en POS artifact to the repos, that'd be great. If there's any way that I can assist, just let me know. |
Sorry, building en POS artifacts today. Will deploy tonight. On Tue, Jan 13, 2015 at 9:17 PM, Stephen Hopper notifications@github.com
|
ok, new release. depends on epic 0.3, and has version number 2015.1.25 |
Got the model (from here: http://www.scalanlp.org/models/ ) and put it into the project home
Then:
val tagger = epic.models.deserialize[CRF[AnnotatedLabel, String]]("model.ser.gz") {code}
But still have exception:
Exception in thread "main" java.lang.RuntimeException: Could not find model model.ser.gz in path /home/myuser/projects/nlp/epic-mast
But the model file is definitely there
The text was updated successfully, but these errors were encountered: