Cannot run coreference resolution

5 views
Skip to first unread message

Marco Cornolti

unread,
Jul 6, 2017, 10:03:12 AM7/6/17
to Factorie
Hello,
I am trying to launch the Factorie NLP server with pre-built models. Everything works fine until I try to run coreference resolution with --parse-lexical-coref or --parse-forward-coref. In both cases, when I issue a call through the socket, I get the following exception thrown (and the server returns nothing):

Exception in thread "main" java.lang.Error: No file named Nothing$.factorie found in classpath for class scala.runtim
e.Nothing$, and no value found in system property scala.runtime.Nothing$. To fix this either add a file with the righ
t name to the classpath or set the system property to point to a directory containing the file.
       at cc.factorie.util.ClasspathURL$.apply(ClasspathURL.scala:42)
       at cc.factorie.util.ModelProvider$$anon$1.<init>(ModelProvider.scala:94)
       at cc.factorie.util.ModelProvider$.classpath(ModelProvider.scala:93)
       at cc.factorie.app.nlp.ner.NoEmbeddingsOntonotesStackedChainNer$.<init>(StackedChainNer.scala:637)
       at cc.factorie.app.nlp.ner.NoEmbeddingsOntonotesStackedChainNer$.<clinit>(StackedChainNer.scala)
       at cc.factorie.app.nlp.DocumentAnnotatorPipeline$$anonfun$13.apply(DocumentAnnotatorPipeline.scala:76)
       at cc.factorie.app.nlp.DocumentAnnotatorPipeline$$anonfun$13.apply(DocumentAnnotatorPipeline.scala:76)
       at cc.factorie.app.nlp.DocumentAnnotatorPipeline$.cc$factorie$app$nlp$DocumentAnnotatorPipeline$$recursiveSat
isfyPrereqs$1(DocumentAnnotatorPipeline.scala:111)
       at cc.factorie.app.nlp.DocumentAnnotatorPipeli$$$$e736b499fe9abddc477df559f60b2fa$$$$rsiveSatisfyPrereqs$1$2.
apply(DocumentAnnotatorPipeline.scala:117)
       at cc.factorie.app.nlp.DocumentAnnotatorPipeli$$$$e736b499fe9abddc477df559f60b2fa$$$$rsiveSatisfyPrereqs$1$2.
apply(DocumentAnnotatorPipeline.scala:117)
       at scala.collection.immutable.List.foreach(List.scala:381)
       at cc.factorie.app.nlp.DocumentAnnotatorPipeline$.cc$factorie$app$nlp$DocumentAnnotatorPipeline$$recursiveSat
isfyPrereqs$1(DocumentAnnotatorPipeline.scala:117)
       at cc.factorie.app.nlp.DocumentAnnotatorPipeli$$$$e736b499fe9abddc477df559f60b2fa$$$$rsiveSatisfyPrereqs$1$2.
apply(DocumentAnnotatorPipeline.scala:117)
       at cc.factorie.app.nlp.DocumentAnnotatorPipeli$$$$e736b499fe9abddc477df559f60b2fa$$$$rsiveSatisfyPrereqs$1$2.
apply(DocumentAnnotatorPipeline.scala:117)
       at scala.collection.immutable.List.foreach(List.scala:381)
       at cc.factorie.app.nlp.DocumentAnnotatorPipeline$.cc$factorie$app$nlp$DocumentAnnotatorPipeline$$recursiveSat
isfyPrereqs$1(DocumentAnnotatorPipeline.scala:117)
       at cc.factorie.app.nlp.DocumentAnnotatorPipeline$$anonfun$apply$5.apply(DocumentAnnotatorPipeline.scala:123)
       at cc.factorie.app.nlp.DocumentAnnotatorPipeline$$anonfun$apply$5.apply(DocumentAnnotatorPipeline.scala:123)
       at scala.collection.mutable.ResizableArray$class.foreach(ResizableArray.scala:59)
       at scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:48)
       at cc.factorie.app.nlp.DocumentAnnotatorPipeline$.apply(DocumentAnnotatorPipeline.scala:123)
       at cc.factorie.app.nlp.NLP$.main(NLP.scala:100)
       at cc.factorie.app.nlp.NLP.main(NLP.scala)

Do you have any insight on why this happens, or how to solve the issue?

Thanks,
Marco
Reply all
Reply to author
Forward
0 new messages