edu.stanford.nlp.ling
Class CoreAnnotations.ForcedSentenceEndAnnotation
java.lang.Object
edu.stanford.nlp.ling.CoreAnnotations.ForcedSentenceEndAnnotation
- All Implemented Interfaces:
- CoreAnnotation<Boolean>, TypesafeMap.Key<CoreMap,Boolean>
- Enclosing class:
- CoreAnnotations
public static class CoreAnnotations.ForcedSentenceEndAnnotation
- extends Object
- implements CoreAnnotation<Boolean>
This indicates the sentence should end at this token. Used to
force the ssplit annotator (eg the WordToSentenceProcessor) to
start a new sentence at the next token.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CoreAnnotations.ForcedSentenceEndAnnotation
public CoreAnnotations.ForcedSentenceEndAnnotation()
getType
public Class<Boolean> 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<Boolean>
Stanford NLP Group