edu.stanford.nlp.io.RuntimeIOException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • GitHub comment 238#237346875
    via GitHub by hassanz
    ,
  • GitHub comment 238#237349700
    via GitHub by gangeli
    ,
  • How to use Stanford parser
    via Stack Overflow by SahelSoft
    ,
  • Stanford parser java error
    via by Unknown author,
  • Training Stanford NER failed
    via Stack Overflow by user3246661
    ,
  • Error when using StanfordCoreNLP
    via Stack Overflow by user3928256
    ,
  • Getting locations in standford core nlp
    via by Unknown author,
    • edu.stanford.nlp.io.RuntimeIOException: java.io.IOException: Unable to open "edu/stanford
    • lp/models/srparser/englishSR.ser.gz" as class path, filename or URL at edu.stanford.nlp.parser.common.ParserGrammar.loadModel(ParserGrammar.java:187) at edu.stanford.nlp.pipeline.ParserAnnotator.loadModel(ParserAnnotator.java:217) at edu.stanford.nlp.pipeline.ParserAnnotator.<init>(ParserAnnotator.java:119) at edu.stanford.nlp.pipeline.AnnotatorImplementations.parse(AnnotatorImplementations.java:154) at edu.stanford.nlp.pipeline.AnnotatorFactories$11.create(AnnotatorFactories.java:357) at edu.stanford.nlp.pipeline.AnnotatorPool.get(AnnotatorPool.java:120) at edu.stanford.nlp.pipeline.StanfordCoreNLP.construct(StanfordCoreNLP.java:452) at edu.stanford.nlp.pipeline.StanfordCoreNLP.<init>(StanfordCoreNLP.java:155) at edu.stanford.nlp.pipeline.StanfordCoreNLP.<init>(StanfordCoreNLP.java:146) at edu.stanford.nlp.pipeline.StanfordCoreNLPServer.mkStanfordCoreNLP(StanfordCoreNLPServer.java:231) at edu.stanford.nlp.pipeline.StanfordCoreNLPServer.access$500(StanfordCoreNLPServer.java:41) at edu.stanford.nlp.pipeline.StanfordCoreNLPServer$CoreNLPHandler.handle(StanfordCoreNLPServer.java:477) at com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:79) at sun.net.httpserver.AuthFilter.doFilter(AuthFilter.java:83) at com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:82) at sun.net.httpserver.ServerImpl$Exchange$LinkHandler.handle(ServerImpl.java:675) at com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:79) at sun.net.httpserver.ServerImpl$Exchange.run(ServerImpl.java:647) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: java.io.IOException: Unable to open "edu/stanford
    • lp/models/srparser/englishSR.ser.gz" as class path, filename or URL at edu.stanford.nlp.io.IOUtils.getInputStreamFromURLOrClasspathOrFileSystem(IOUtils.java:478) at edu.stanford.nlp.io.IOUtils.readObjectFromURLOrClasspathOrFileSystem(IOUtils.java:317) at edu.stanford.nlp.parser.common.ParserGrammar.loadModel(ParserGrammar.java:184) ... 20 more

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,