You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 19, 2020. It is now read-only.
Trained parser of polish language from http://www.scalanlp.org/models/ does not work with current master branch. I tried to run:
java -Xmx6g -cp target/scala-2.11/epic-assembly-0.4-SNAPSHOT.jar epic.parser.ParseText --model epic-parser-pl-span_2.10-2014.6.3-SNAPSHOT.jar --nthreads 4 exampleArticle.txt
and I get:
Couldn't deserialize model due to exception, epic.parser.models.ParserTrainer$$anonfun$2; local class incompatible: stream classdesc serialVersionUID = 0, local class serialVersionUID = 5531977503861241212. Trying classPathLoad...
Exception in thread "main" java.util.NoSuchElementException: None.get
at scala.None$.get(Option.scala:347)
at scala.None$.get(Option.scala:345)
at epic.parser.ParseText$.classPathLoad(ParseText.scala:21)
at epic.parser.ParseText$.classPathLoad(ParseText.scala:11)
at epic.util.ProcessTextMain$class.main(ProcessTextMain.scala:47)
at epic.parser.ParseText$.main(ParseText.scala:11)
at epic.parser.ParseText.main(ParseText.scala)
which says, that versions of classes are not the same.
I also downloaded JAR from maven repository and there is the same error.
The text was updated successfully, but these errors were encountered:
Trained parser of polish language from http://www.scalanlp.org/models/ does not work with current master branch. I tried to run:
java -Xmx6g -cp target/scala-2.11/epic-assembly-0.4-SNAPSHOT.jar epic.parser.ParseText --model epic-parser-pl-span_2.10-2014.6.3-SNAPSHOT.jar --nthreads 4 exampleArticle.txt
and I get:
Couldn't deserialize model due to exception, epic.parser.models.ParserTrainer$$anonfun$2; local class incompatible: stream classdesc serialVersionUID = 0, local class serialVersionUID = 5531977503861241212. Trying classPathLoad...
Exception in thread "main" java.util.NoSuchElementException: None.get
at scala.None$.get(Option.scala:347)
at scala.None$.get(Option.scala:345)
at epic.parser.ParseText$.classPathLoad(ParseText.scala:21)
at epic.parser.ParseText$.classPathLoad(ParseText.scala:11)
at epic.util.ProcessTextMain$class.main(ProcessTextMain.scala:47)
at epic.parser.ParseText$.main(ParseText.scala:11)
at epic.parser.ParseText.main(ParseText.scala)
which says, that versions of classes are not the same.
I also downloaded JAR from maven repository and there is the same error.
The text was updated successfully, but these errors were encountered: