Package | Description |
---|---|
cc.redpen.model |
Elements of Documents such as List, Sentence are provided.
|
cc.redpen.tokenizer |
Provides tokenizers for each languages.
|
cc.redpen.validator |
Validators and the factory classes are provided.
|
Modifier and Type | Method and Description |
---|---|
List<TokenElement> |
Sentence.getTokens()
Get a set of tokenized words in the sentence.
|
Modifier and Type | Method and Description |
---|---|
void |
Sentence.setTokens(List<TokenElement> tokens)
Set a set of tokenized words.
|
Modifier and Type | Method and Description |
---|---|
List<TokenElement> |
WhiteSpaceTokenizer.tokenize(String content) |
List<TokenElement> |
RedPenTokenizer.tokenize(String sentence)
Tokenize input sentence into tokens.
|
List<TokenElement> |
JapaneseTokenizer.tokenize(String content) |
Modifier and Type | Method and Description |
---|---|
void |
ExpressionRule.addElement(TokenElement element) |
protected void |
Validator.addLocalizedErrorFromToken(Sentence sentenceWithError,
TokenElement token)
create a ValidationError using the details within the given token & localized message
|
void |
JavaScriptValidator.addLocalizedErrorFromToken(Sentence sentenceWithError,
TokenElement token) |
protected void |
Validator.addValidationErrorFromToken(Sentence sentenceWithError,
TokenElement token)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
ExpressionRule.match(List<TokenElement> tokens) |
Copyright © 2015. All rights reserved.