java.lang.Error: Error: could not match input

GitHub | datawlb | 1 year ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    akka multi threading error

    GitHub | 1 year ago | datawlb
    java.lang.Error: Error: could not match input

    Root Cause Analysis

    1. java.lang.Error

      Error: could not match input

      at edu.stanford.nlp.process.Morpha.zzScanError()
    2. Stanford CoreNLP
      Morphology.stemStatic
      1. edu.stanford.nlp.process.Morpha.zzScanError(Morpha.java)
      2. edu.stanford.nlp.process.Morpha.next(Morpha.java)
      3. edu.stanford.nlp.process.Morphology.lemmatize(Morphology.java:155)
      4. edu.stanford.nlp.process.Morphology.stemStatic(Morphology.java:182)
      4 frames
    3. it.uniroma1.lcl
      ADW.getPairSimilarity
      1. it.uniroma1.lcl.adw.utils.StanfordLemmatizer.lemmatize(StanfordLemmatizer.java:30)
      2. it.uniroma1.lcl.adw.utils.StanfordLemmatizer.lemmatize(StanfordLemmatizer.java:36)
      3. it.uniroma1.lcl.adw.utils.SentenceProcessor.processSentence(SentenceProcessor.java:40)
      4. it.uniroma1.lcl.adw.textual.similarity.TextualSimilarity.getStanfordSentence(TextualSimilarity.java:128)
      5. it.uniroma1.lcl.adw.textual.similarity.TextualSimilarity.cookSentence(TextualSimilarity.java:266)
      6. it.uniroma1.lcl.adw.textual.similarity.PairSimilarity.cookLexicalItem(PairSimilarity.java:124)
      7. it.uniroma1.lcl.adw.textual.similarity.PairSimilarity.getSimilarity(PairSimilarity.java:308)
      8. it.uniroma1.lcl.adw.ADW.getPairSimilarity(ADW.java:120)
      8 frames
    4. main.scala.org
      SemanticSimilarityAdwWorker$$anonfun$receive$1.applyOrElse
      1. main.scala.org.qa.SemanticSimilarityAdwWorker$$anonfun$receive$1.applyOrElse(SemanticSimilarityAdw.scala:33)
      1 frame
    5. Akka Actor
      Actor$class.aroundReceive
      1. akka.actor.Actor$class.aroundReceive(Actor.scala:480)
      1 frame
    6. main.scala.org
      SemanticSimilarityAdwWorker.aroundReceive
      1. main.scala.org.qa.SemanticSimilarityAdwWorker.aroundReceive(SemanticSimilarityAdw.scala:26)
      1 frame
    7. Akka Actor
      Mailbox.exec
      1. akka.actor.ActorCell.receiveMessage(ActorCell.scala:526)
      2. akka.actor.ActorCell.invoke(ActorCell.scala:495)
      3. akka.dispatch.Mailbox.processMailbox(Mailbox.scala:257)
      4. akka.dispatch.Mailbox.run(Mailbox.scala:224)
      5. akka.dispatch.Mailbox.exec(Mailbox.scala:234)
      5 frames
    8. Scala
      ForkJoinWorkerThread.run
      1. scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)
      2. scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)
      3. scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)
      4. scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)
      4 frames