java.io.IOException: Unable to resolve "edu/stanford/nlp/models/lexparser/englishPCFG.ser.gz" as either class path, filename or URL

GitHub | emhill | 4 months ago
  1. 0

    GitHub comment 14#235580670

    GitHub | 4 months ago | emhill
    java.io.IOException: Unable to resolve "edu/stanford/nlp/models/lexparser/englishPCFG.ser.gz" as either class path, filename or URL
  2. 0

    Stanford parser java error

    Stack Overflow | 2 years ago
    java.io.IOException: Unable to resolve "edu/stanford/nlp/models/lexparser/englishPCFG.ser.gz" as either class path, filename or URL
  3. 0

    How to use Stanford parser

    Stack Overflow | 4 years ago | SahelSoft
    java.io.IOException: Unable to resolve edu/stanford/nlp/models/lexparser/englishPCFG.ser.gz" as either class path, filename or URL
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    当运行BaiduDemo.java 类时,报如下错误Unable to resolve "chineseFactored.ser.gz" as either class path, filename or URL

    GitHub | 2 years ago | ghost
    java.io.IOException: Unable to resolve "chineseFactored.ser.gz" as either class path, filename or URL
  6. 0

    GitHub comment 9#23701519

    GitHub | 3 years ago | goog
    java.io.IOException: Unable to resolve "edu/stanford/nlp/models/lexparser/englishFactored.ser.gz" as either class path, filename or URL

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.io.IOException

      Unable to resolve "edu/stanford/nlp/models/lexparser/englishPCFG.ser.gz" as either class path, filename or URL

      at edu.stanford.nlp.io.IOUtils.getInputStreamFromURLOrClasspathOrFileSystem()
    2. Stanford CoreNLP
      LexicalizedParser.loadModel
      1. edu.stanford.nlp.io.IOUtils.getInputStreamFromURLOrClasspathOrFileSystem(IOUtils.java:448)
      2. edu.stanford.nlp.io.IOUtils.readStreamFromString(IOUtils.java:381)
      3. edu.stanford.nlp.parser.lexparser.LexicalizedParser.getParserFromSerializedFile(LexicalizedParser.java:628)
      4. edu.stanford.nlp.parser.lexparser.LexicalizedParser.getParserFromFile(LexicalizedParser.java:423)
      5. edu.stanford.nlp.parser.lexparser.LexicalizedParser.loadModel(LexicalizedParser.java:182)
      6. edu.stanford.nlp.parser.lexparser.LexicalizedParser.loadModel(LexicalizedParser.java:161)
      6 frames
    3. edu.purdue.cs
      TextLeak.call
      1. edu.purdue.cs.toydroid.bidtext.analysis.TextAnalysis.check(TextAnalysis.java:230)
      2. edu.purdue.cs.toydroid.bidtext.analysis.TextAnalysis.analyze(TextAnalysis.java:156)
      3. edu.purdue.cs.toydroid.bidtext.analysis.AnalysisUtil.dumpTextForSink(AnalysisUtil.java:180)
      4. edu.purdue.cs.toydroid.bidtext.analysis.AnalysisUtil.dumpTextForSinks(AnalysisUtil.java:123)
      5. edu.purdue.cs.toydroid.bidtext.TextLeak.analyze(TextLeak.java:267)
      6. edu.purdue.cs.toydroid.bidtext.TextLeak.call(TextLeak.java:165)
      7. edu.purdue.cs.toydroid.bidtext.TextLeak.call(TextLeak.java:55)
      7 frames
    4. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask.run(FutureTask.java:266)
      2. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      3. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      4. java.lang.Thread.run(Thread.java:745)
      4 frames