public class HandlerUtils extends Object
Constructor and Description |
---|
HandlerUtils() |
Modifier and Type | Method and Description |
---|---|
static Constituent |
checkTextAnnotationRespectsSentenceLengthLimit(TextAnnotation ta,
int maxSentenceLength)
check whether sentences in TextAnnotation respect a sentence length limit.
|
static String |
getSentenceLengthError(String taId,
String sentence,
int maxSentenceLength)
generate an error message for sentence length error.
|
public static Constituent checkTextAnnotationRespectsSentenceLengthLimit(TextAnnotation ta, int maxSentenceLength)
ta
- TextAnnotation to checkCopyright © 2017. All rights reserved.