Class SentimentCoreAnnotations.SentimentClass

    • Constructor Detail

      • SentimentClass

        public SentimentClass()
    • Method Detail

      • getType

        public Class<String> getType()
        Description copied from interface: CoreAnnotation
        Returns the type associated with this annotation. This method must return the same class type as its value type parameter. It feels like one should be able to get away without this method, but because Java erases the generic type signature, that info disappears at runtime.
        Specified by:
        getType in interface CoreAnnotation<String>