Class HeidelTimeAnnotator

    • Constructor Detail

      • HeidelTimeAnnotator

        public HeidelTimeAnnotator()
      • HeidelTimeAnnotator

        public HeidelTimeAnnotator​(File heideltimePath)
      • HeidelTimeAnnotator

        public HeidelTimeAnnotator​(File heideltimePath,
                                   String language,
                                   boolean outputResults)
      • HeidelTimeAnnotator

        public HeidelTimeAnnotator​(String name,
                                   Properties props)
    • Method Detail

      • annotate

        public void annotate​(Annotation annotation)
        Description copied from interface: Annotator
        Given an Annotation, perform a task on this Annotation.
        Specified by:
        annotate in interface Annotator
      • requires

        public Set<Class<? extends CoreAnnotation>> requires()
        Description copied from interface: Annotator
        Returns the set of tasks which this annotator requires in order to perform. For example, the POS annotator will return "tokenize", "ssplit".
        Specified by:
        requires in interface Annotator
      • requirementsSatisfied

        public Set<Class<? extends CoreAnnotation>> requirementsSatisfied()
        Description copied from interface: Annotator
        Returns a set of requirements for which tasks this annotator can provide. For example, the POS annotator will return "pos".
        Specified by:
        requirementsSatisfied in interface Annotator