java.io.IOException: Unable to resolve “taggers/left3words-distsim-wsj-0-18.tagger” as either class path, filename or URL at edu.stanford.nlp.io.IOUtils.getInputStreamFromURLOrClasspathOrFileSystem(IOUtils.java:331)

galalaly.me | 8 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Tagging text with Stanford POS Tagger in Java Applications - Galal Aly's

    galalaly.me | 8 months ago
    java.io.IOException: Unable to resolve “taggers/left3words-distsim-wsj-0-18.tagger” as either class path, filename or URL at edu.stanford.nlp.io.IOUtils.getInputStreamFromURLOrClasspathOrFileSystem(IOUtils.java:331)

    Root Cause Analysis

    1. java.io.IOException

      Unable to resolve “taggers/left3words-distsim-wsj-0-18.tagger” as either class path, filename or URL at edu.stanford.nlp.io.IOUtils.getInputStreamFromURLOrClasspathOrFileSystem(IOUtils.java:331)

      at edu.stanford.nlp.tagger.maxent.TaggerConfig.getTaggerDataInputStream()
    2. Stanford CoreNLP
      MaxentTagger.<init>
      1. edu.stanford.nlp.tagger.maxent.TaggerConfig.getTaggerDataInputStream(TaggerConfig.java:724)
      2. edu.stanford.nlp.tagger.maxent.TaggerConfig.<init>(TaggerConfig.java:186)
      3. edu.stanford.nlp.tagger.maxent.TaggerConfig.<init>(TaggerConfig.java:131)
      4. edu.stanford.nlp.tagger.maxent.MaxentTagger.<init>(MaxentTagger.java:240)
      4 frames
    3. Unknown
      TagText.main
      1. TagText.main(TagText.java:11)
      1 frame