public class WeakExpressionValidator extends Validator
KEY_VALUE, RULE, WORD_LIST, WORD_LIST_LOWERCASED
Constructor and Description |
---|
WeakExpressionValidator() |
Modifier and Type | Method and Description |
---|---|
protected void |
init()
Validation initialization, called after the configuration and symbol tables have been assigned
|
void |
validate(Sentence sentence)
Build up sequences of tokens and see if that sequence exists in the weak-expression dictionary
|
addError, addErrorWithPosition, addLocalizedError, addLocalizedError, addLocalizedErrorFromToken, addLocalizedErrorWithPosition, addLocalizedErrorWithPosition, addValidationError, addValidationError, addValidationErrorFromToken, addValidationErrorWithPosition, addValidationErrorWithPosition, getConfigAttribute, getConfigAttribute, getConfigAttributeAsBoolean, getConfigAttributeAsDouble, getConfigAttributeAsInt, getConfigAttributes, getLocalizedErrorMessage, getSupportedLanguages, getSymbolTable, preValidate, preValidate, setErrorList, validate, validate
protected void init() throws RedPenException
Validator
init
in class Validator
RedPenException
Copyright © 2015. All rights reserved.