java.lang.IllegalArgumentException: Unknown annotator: sentiment

GitHub | hassanz | 9 months 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

    Stanford NLP Server:: Unknown annotator: sentiment

    GitHub | 9 months ago | hassanz
    java.lang.IllegalArgumentException: Unknown annotator: sentiment
  2. 0

    Stanford NLP Server:: Unknown annotator: sentiment

    Stack Overflow | 9 months ago | AR_HZ
    java.lang.IllegalArgumentException: Unknown annotator: sentiment
  3. 0

    annotator "coref" requires annotation "TreeAnnotation".

    GitHub | 6 months ago | prathameshk
    java.lang.IllegalArgumentException: annotator "coref" requires annotation "TreeA nnotation". The usual requirements for this annotator are: tokenize,ssplit,pos,l emma,ner,mention
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    How to use a custom TokensRegex rules annotator with Stanford CoreNLP Server?

    Stack Overflow | 6 months ago | mercnet
    java.lang.IllegalArgumentException: Unknown annotator: color
  6. 0

    Annotators dependency bug for englishSR.ser.gz parse model

    GitHub | 3 weeks ago | dandelionred
    java.lang.IllegalArgumentException: annotator "parse" requires annotation "PartOfSpeechAnnotation". The usual requirements for this annotator are: tokenize,ssplit

    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.lang.IllegalArgumentException

      Unknown annotator: sentiment

      at edu.stanford.nlp.pipeline.StanfordCoreNLP.ensurePrerequisiteAnnotators()
    2. Stanford CoreNLP
      StanfordCoreNLPServer$CoreNLPHandler.handle
      1. edu.stanford.nlp.pipeline.StanfordCoreNLP.ensurePrerequisiteAnnotators(StanfordCoreNLP.java:281)
      2. edu.stanford.nlp.pipeline.StanfordCoreNLPServer$CoreNLPHandler.getProperties(StanfordCoreNLPServer.java:476)
      3. edu.stanford.nlp.pipeline.StanfordCoreNLPServer$CoreNLPHandler.handle(StanfordCoreNLPServer.java:350)
      3 frames
    3. Java RT
      Thread.run
      1. com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:79)
      2. sun.net.httpserver.AuthFilter.doFilter(AuthFilter.java:83)
      3. com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:82)
      4. sun.net.httpserver.ServerImpl$Exchange$LinkHandler.handle(ServerImpl.java:675)
      5. com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:79)
      6. sun.net.httpserver.ServerImpl$Exchange.run(ServerImpl.java:647)
      7. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      8. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      9. java.lang.Thread.run(Thread.java:745)
      9 frames