Package edu.stanford.nlp.naturalli
Class NaturalLogicAnnotations.EntailedSentencesAnnotation
- java.lang.Object
-
- edu.stanford.nlp.naturalli.NaturalLogicAnnotations.EntailedSentencesAnnotation
-
- All Implemented Interfaces:
CoreAnnotation<Collection<SentenceFragment>>,TypesafeMap.Key<Collection<SentenceFragment>>
- Enclosing class:
- NaturalLogicAnnotations
public static final class NaturalLogicAnnotations.EntailedSentencesAnnotation extends Object implements CoreAnnotation<Collection<SentenceFragment>>
The set of sentences which are entailed by the original sentence, according to Natural Logic semantics.
-
-
Constructor Summary
Constructors Constructor Description EntailedSentencesAnnotation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<Collection<SentenceFragment>>getType()Returns the type associated with this annotation.
-
-
-
Method Detail
-
getType
public Class<Collection<SentenceFragment>> getType()
Description copied from interface:CoreAnnotationReturns 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:
getTypein interfaceCoreAnnotation<Collection<SentenceFragment>>
-
-