java.io.IOException: Unable to open “edu/stanford/nlp/models/lexparser/englishPCFG.ser.gz” as class path, filename or URL

chaoticity.com | 4 months ago
  1. 0

    DependenSee: A Dependency Parse Visualisation/Visualization Tool – chaoticity

    chaoticity.com | 4 months ago
    java.io.IOException: Unable to open “edu/stanford/nlp/models/lexparser/englishPCFG.ser.gz” as class path, filename or URL
  2. 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
  3. 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
  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 open “edu/stanford/nlp/models/lexparser/englishPCFG.ser.gz” as 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:485)
      2. edu.stanford.nlp.io.IOUtils.readStreamFromString(IOUtils.java:407)
      3. edu.stanford.nlp.parser.lexparser.LexicalizedParser.getParserFromSerializedFile(LexicalizedParser.java:610)
      4. edu.stanford.nlp.parser.lexparser.LexicalizedParser.getParserFromFile(LexicalizedParser.java:404)
      5. edu.stanford.nlp.parser.lexparser.LexicalizedParser.loadModel(LexicalizedParser.java:186)
      6. edu.stanford.nlp.parser.lexparser.LexicalizedParser.loadModel(LexicalizedParser.java:165)
      6 frames
    3. com.chaoticity.dependensee
      Main.main
      1. com.chaoticity.dependensee.Main.writeImage(Main.java:172)
      2. com.chaoticity.dependensee.Main.writeImage(Main.java:165)
      3. com.chaoticity.dependensee.Main.main(Main.java:55)
      3 frames