Class AbstractPosAnnotator

    • Constructor Detail

      • AbstractPosAnnotator

        public AbstractPosAnnotator()
    • Method Detail

      • appendTagsFromFile

        protected void appendTagsFromFile​(String fileName)
      • requires

        public Set<Class<? extends edu.stanford.nlp.ling.CoreAnnotation>> requires()
        Specified by:
        requires in interface edu.stanford.nlp.pipeline.Annotator
        Specified by:
        requires in class AbstractAnnotator
      • setTags

        public void setTags​(List<String> tags)
      • scoreToken

        public String scoreToken​(edu.stanford.nlp.ling.CoreLabel token)
      • scoreLemma

        public String scoreLemma​(edu.stanford.nlp.ling.CoreLabel token)
      • scoreTag

        public String scoreTag​(edu.stanford.nlp.ling.CoreLabel token)
      • scoreToken

        public String scoreToken​(edu.stanford.nlp.ling.CoreLabel token,
                                 List<String> tags)
      • scoreLemma

        public String scoreLemma​(edu.stanford.nlp.ling.CoreLabel token,
                                 List<String> tags)
      • scoreTag

        public String scoreTag​(edu.stanford.nlp.ling.CoreLabel token,
                               List<String> tags)