- addAttribute(String, String) - Method in class cc.redpen.config.ValidatorConfiguration
-
Add an attribute.
- addAttribute(String, boolean) - Method in class cc.redpen.config.ValidatorConfiguration
-
Add an attribute.
- addElement(TokenElement) - Method in class cc.redpen.validator.ExpressionRule
-
- addError(String, Sentence) - Method in class cc.redpen.validator.JavaScriptValidator
-
- addError(String, Sentence) - Method in class cc.redpen.validator.Validator
-
create a ValidationError for the specified position with specified message
- addErrorWithPosition(String, Sentence, int, int) - Method in class cc.redpen.validator.JavaScriptValidator
-
- addErrorWithPosition(String, Sentence, int, int) - Method in class cc.redpen.validator.Validator
-
create a ValidationError for the specified position with specified message
- addLink(String) - Method in class cc.redpen.model.Sentence
-
Add a link to Sentence
- addListBlock() - Method in class cc.redpen.model.Document.DocumentBuilder
-
Add a new list block.
- addListElement(int, List<Sentence>) - Method in class cc.redpen.model.Document.DocumentBuilder
-
Add list element to the last list block.
- addListElement(int, String) - Method in class cc.redpen.model.Document.DocumentBuilder
-
Add list element to the last list block.
- addLocalizedError(Sentence, Object...) - Method in class cc.redpen.validator.JavaScriptValidator
-
- addLocalizedError(String, Sentence, Object...) - Method in class cc.redpen.validator.JavaScriptValidator
-
- addLocalizedError(Sentence, Object...) - Method in class cc.redpen.validator.Validator
-
create a ValidationError for the specified position with localized default error message
- addLocalizedError(String, Sentence, Object...) - Method in class cc.redpen.validator.Validator
-
create a ValidationError for the specified position with localized message with specified message key
- addLocalizedErrorFromToken(Sentence, TokenElement) - Method in class cc.redpen.validator.JavaScriptValidator
-
- addLocalizedErrorFromToken(Sentence, TokenElement) - Method in class cc.redpen.validator.Validator
-
create a ValidationError using the details within the given token & localized message
- addLocalizedErrorWithPosition(Sentence, int, int, Object...) - Method in class cc.redpen.validator.JavaScriptValidator
-
- addLocalizedErrorWithPosition(Sentence, int, int, Object...) - Method in class cc.redpen.validator.Validator
-
create a ValidationError for the specified position with default localized error message
- addLocalizedErrorWithPosition(String, Sentence, int, int, Object...) - Method in class cc.redpen.validator.Validator
-
create a ValidationError for the specified position with specified message key
- addParagraph() - Method in class cc.redpen.model.Document.DocumentBuilder
-
Add paragraph to document.
- addSection(int, List<Sentence>) - Method in class cc.redpen.model.Document.DocumentBuilder
-
Add a section to the document.
- addSection(int) - Method in class cc.redpen.model.Document.DocumentBuilder
-
Add a section without header content.
- addSectionHeader(String) - Method in class cc.redpen.model.Document.DocumentBuilder
-
Add section header content to the last section.
- addSentence(Sentence) - Method in class cc.redpen.model.Document.DocumentBuilder
-
Add a sentence.
- addSentence(String, int) - Method in class cc.redpen.model.Document.DocumentBuilder
-
Add sentence to document.
- addSentence(LineOffset, String, SentenceExtractor, Document.DocumentBuilder) - Static method in class cc.redpen.parser.PlainTextParser
-
- addSentence(LineOffset, String, String, SentenceExtractor, List<Sentence>) - Method in class org.asciidoctor.RedPenTreeProcessor
-
Add a processed AsciiDoc sentence, using the raw source sentence to guide the character offsets.
- addSymbol(Symbol) - Method in class cc.redpen.config.Configuration.ConfigurationBuilder
-
- addValidationError(Sentence, Object...) - Method in class cc.redpen.validator.Validator
-
- addValidationError(String, Sentence, Object...) - Method in class cc.redpen.validator.Validator
-
- addValidationErrorFromToken(Sentence, TokenElement) - Method in class cc.redpen.validator.Validator
-
- addValidationErrorWithPosition(Sentence, Optional<LineOffset>, Optional<LineOffset>, Object...) - Method in class cc.redpen.validator.Validator
-
- addValidationErrorWithPosition(String, Sentence, Optional<LineOffset>, Optional<LineOffset>, Object...) - Method in class cc.redpen.validator.Validator
-
- addValidatorConfig(ValidatorConfiguration) - Method in class cc.redpen.config.Configuration.ConfigurationBuilder
-
- appendElement(int, List<Sentence>) - Method in class cc.redpen.model.ListBlock
-
Append ListElement.
- appendListBlock() - Method in class cc.redpen.model.Section
-
Append List.
- appendListElement(int, List<Sentence>) - Method in class cc.redpen.model.Section
-
Append List element.
- appendParagraph(Paragraph) - Method in class cc.redpen.model.Section
-
Add a paragraph.
- appendSection(Section) - Method in class cc.redpen.model.Document.DocumentBuilder
-
Add a section.
- appendSentence(String, int) - Method in class cc.redpen.model.Paragraph
-
Append a sentence to a paragraph.
- appendSentence(Sentence) - Method in class cc.redpen.model.Paragraph
-
Append a sentence.
- appendSubSection(Section) - Method in class cc.redpen.model.Section
-
Add a subsection.
- ASCIIDOC - Static variable in interface cc.redpen.parser.DocumentParser
-
- AsciiDocParser - Class in cc.redpen.parser
-
Parser for AsciiDoc format, utilizing AsciiDoctorJ.
AsciiDoc's syntax and grammar is documented at @see http://asciidoc.org/
- AsciiDocParser() - Constructor for class cc.redpen.parser.AsciiDocParser
-
- asJSON(ValidationError) - Method in class cc.redpen.formatter.JSONBySentenceFormatter
-
Render a single redpen error as JSON
- asJSON(Document, List<ValidationError>) - Method in class cc.redpen.formatter.JSONBySentenceFormatter
-
Render as a JSON object a list of errors for a given document
- asJSON(ValidationError) - Method in class cc.redpen.formatter.JSONFormatter
-
Render a single redpen error as JSON
- asJSON(LineOffset) - Method in class cc.redpen.formatter.JSONFormatter
-
Render a line offset as JSON
- asJSON(LineOffset, LineOffset) - Method in class cc.redpen.formatter.JSONFormatter
-
Render a start and end line offset as a 'position'
- asJSON(int, int, int, int) - Method in class cc.redpen.formatter.JSONFormatter
-
Render a start and end coordinates as a 'position'
- asJSON(Sentence, LineOffset, LineOffset) - Method in class cc.redpen.formatter.JSONFormatter
-
Render a start and end line offsets (ie: source text coordinates) as a description of a section of the sentence.getContent() string
- asJSON(Document, List<ValidationError>) - Method in class cc.redpen.formatter.JSONFormatter
-
Render as a JSON object a list of errors for a given document
- asTextile() - Method in class cc.redpen.parser.latex.Token
-
- asVerbatim() - Method in class cc.redpen.parser.latex.Token
-
- CandidateSentence - Class in cc.redpen.parser.markdown
-
Buffer list of to candidate content.
- CandidateSentence(int, String, String) - Constructor for class cc.redpen.parser.markdown.CandidateSentence
-
- CandidateSentence(int, String, String, int) - Constructor for class cc.redpen.parser.markdown.CandidateSentence
-
- cc.redpen - package cc.redpen
-
contains
RedPen
Main class and some important classes used thought
the project.
- cc.redpen.config - package cc.redpen.config
-
Configuration and SymbolTable are provided.
- cc.redpen.formatter - package cc.redpen.formatter
-
Formatter and the implementations are provided.
- cc.redpen.model - package cc.redpen.model
-
Elements of Documents such as List, Sentence are provided.
- cc.redpen.parser - package cc.redpen.parser
-
Parser and the implementations are provided.
- cc.redpen.parser.latex - package cc.redpen.parser.latex
-
- cc.redpen.parser.markdown - package cc.redpen.parser.markdown
-
Markdown Parser are provided.
- cc.redpen.tokenizer - package cc.redpen.tokenizer
-
Provides tokenizers for each languages.
- cc.redpen.util - package cc.redpen.util
-
Utility classes are provided.
- cc.redpen.validator - package cc.redpen.validator
-
Validators and the factory classes are provided.
- cc.redpen.validator.section - package cc.redpen.validator.section
-
SectionValidators are provided.
- cc.redpen.validator.sentence - package cc.redpen.validator.sentence
-
SentenceValidators are provided.
- col - Variable in class cc.redpen.parser.latex.Position
-
- CommaNumberValidator - Class in cc.redpen.validator.sentence
-
Validate the number of commas in one sentence.
- CommaNumberValidator() - Constructor for class cc.redpen.validator.sentence.CommaNumberValidator
-
- compareTo(Object) - Method in class cc.redpen.parser.LineOffset
-
- Configuration - Class in cc.redpen.config
-
Contains Settings used throughout
RedPen
.
- Configuration.ConfigurationBuilder - Class in cc.redpen.config
-
Builder class of Configuration.
- ConfigurationBuilder() - Constructor for class cc.redpen.config.Configuration.ConfigurationBuilder
-
- ConfigurationLoader - Class in cc.redpen
-
Load the central configuration of
RedPen
.
- ConfigurationLoader() - Constructor for class cc.redpen.ConfigurationLoader
-
- containsSymbolByValue(char) - Method in class cc.redpen.config.SymbolTable
-
Detect the specified character is exit in the dictionary.
- ContractionValidator - Class in cc.redpen.validator.sentence
-
Validate English contraction in the input document.
- ContractionValidator() - Constructor for class cc.redpen.validator.sentence.ContractionValidator
-
- createReader(InputStream) - Method in class cc.redpen.parser.BaseDocumentParser
-
create BufferedReader from InputStream is.
- getAttribute(String) - Method in class cc.redpen.config.ValidatorConfiguration
-
Get attribute value.
- getAttributes() - Method in class cc.redpen.config.ValidatorConfiguration
-
Return the attributes map
- getBrokenLineSeparator() - Method in class cc.redpen.parser.SentenceExtractor
-
Return the string that should be used to re-join lines broken with \n in
For English, this is a space.
- getConfigAttribute(String) - Method in class cc.redpen.validator.Validator
-
- getConfigAttribute(String, String) - Method in class cc.redpen.validator.Validator
-
- getConfigAttributeAsBoolean(String, boolean) - Method in class cc.redpen.validator.Validator
-
- getConfigAttributeAsDouble(String, double) - Method in class cc.redpen.validator.Validator
-
- getConfigAttributeAsInt(String, int) - Method in class cc.redpen.validator.Validator
-
- getConfigAttributes() - Method in class cc.redpen.validator.Validator
-
Return the configuration attributes
- getConfiguration() - Method in class cc.redpen.RedPen
-
Get the configuration object for this RedPen
- getConfigurationName() - Method in class cc.redpen.config.ValidatorConfiguration
-
Get configuration name.
- getContent() - Method in class cc.redpen.model.Sentence
-
Get content of sentence.
- getContent() - Method in class cc.redpen.parser.markdown.CandidateSentence
-
- getContents() - Method in class cc.redpen.parser.markdown.MergedCandidateSentence
-
- getDeletionCost() - Static method in class cc.redpen.util.LevenshteinDistance
-
Get the cost for "deletion".
- getDictionary(String) - Static method in class cc.redpen.util.SpellingUtils
-
Get the default dictionary entries for the specified language
- getDistance(CharSequence, CharSequence) - Static method in class cc.redpen.util.LevenshteinDistance
-
Get the Levenshtein distance for given two strings.
- getEndPosition() - Method in class cc.redpen.validator.ValidationError
-
Get error end position.
- getFileName() - Method in class cc.redpen.model.Document
-
Get file name.
- getFormatterByName(String) - Static method in class cc.redpen.util.FormatterUtils
-
Return a new formatter instance from its simple (command line) name
- getHeaderContent(int) - Method in class cc.redpen.model.Section
-
Get iterator of header sentences.
- getHeaderContents() - Method in class cc.redpen.model.Section
-
Get iterator of header sentences.
- getHeaderContentsListSize() - Method in class cc.redpen.model.Section
-
Get the number of sentences in header.
- getIndent() - Method in class org.asciidoctor.RedPenTreeProcessor.BlockAccessor
-
If the underlying JRuby object is a list item, then this variable is the
indent of that list item.
- getInsertionCost() - Static method in class cc.redpen.util.LevenshteinDistance
-
Get the cost for "insertion".
- getInstance(String) - Static method in class cc.redpen.validator.ValidatorFactory
-
- getInstance(ValidatorConfiguration, SymbolTable) - Static method in class cc.redpen.validator.ValidatorFactory
-
- getInvalidChars() - Method in class cc.redpen.config.Symbol
-
Get invalid characters.
- getJoinedHeaderContents() - Method in class cc.redpen.model.Section
-
Get iterator of header sentences.
- getLang() - Method in class cc.redpen.config.Configuration
-
returns language targeted by this configuration
- getLang() - Method in class cc.redpen.config.SymbolTable
-
- getLastSection() - Method in class cc.redpen.model.Document.DocumentBuilder
-
Get last Section.
- getLastSection() - Method in class cc.redpen.model.Document
-
Get last Section.
- getLevel() - Method in class cc.redpen.model.ListElement
-
Get indentation level.
- getLevel() - Method in class cc.redpen.model.Section
-
Get level of section.
- getLineNo() - Method in class org.asciidoctor.RedPenTreeProcessor.BlockAccessor
-
This returned the line number stored inside the JRuby object.
- getLineNum() - Method in class cc.redpen.parser.markdown.CandidateSentence
-
- getLineNum() - Method in class cc.redpen.parser.markdown.MergedCandidateSentence
-
- getLineNumber() - Method in class cc.redpen.model.Sentence
-
Get line number where the sentence starts.
- getLineNumber() - Method in class cc.redpen.validator.ValidationError
-
Get line number in which the error occurs.
- getLink() - Method in class cc.redpen.parser.markdown.CandidateSentence
-
- getLinks() - Method in class cc.redpen.model.Sentence
-
Return links the sentence contains.
- getLinks() - Method in class cc.redpen.parser.markdown.MergedCandidateSentence
-
- getListBlock(int) - Method in class cc.redpen.model.Section
-
Get specified list block.
- getListBlocks() - Method in class cc.redpen.model.Section
-
Get specified list block.
- getListElement(int) - Method in class cc.redpen.model.ListBlock
-
Get iterator of list elements.
- getListElements() - Method in class cc.redpen.model.ListBlock
-
Get iterator of list elements.
- getLocalizedErrorMessage(String, Object...) - Method in class cc.redpen.validator.JavaScriptValidator
-
- getLocalizedErrorMessage(String, Object...) - Method in class cc.redpen.validator.Validator
-
returns localized error message for the given key formatted with argument
- getMessage() - Method in class cc.redpen.validator.ValidationError
-
Get error message.
- getNames() - Method in class cc.redpen.config.SymbolTable
-
Get the character names in the dictionary.
- getNumberOfListElements() - Method in class cc.redpen.model.ListBlock
-
Get the number of list elements.
- getNumberOfLists() - Method in class cc.redpen.model.Section
-
Get size of list.
- getNumberOfParagraphs() - Method in class cc.redpen.model.Section
-
Get the number of paragraphs in the section.
- getNumberOfSentences() - Method in class cc.redpen.model.ListElement
-
Get the number of content sentence.
- getNumberOfSentences() - Method in class cc.redpen.model.Paragraph
-
Get the number of sentences in the paragraph.
- getNumberOfSubsections() - Method in class cc.redpen.model.Section
-
Get the size of subsections.
- getOffset(int) - Method in class cc.redpen.model.Sentence
-
Get offset position for specified character position.
- getOffset() - Method in class cc.redpen.tokenizer.TokenElement
-
- getOffsetMap() - Method in class cc.redpen.parser.markdown.CandidateSentence
-
- getOffsetMap() - Method in class cc.redpen.parser.markdown.MergedCandidateSentence
-
- getOffsetMapSize() - Method in class cc.redpen.model.Sentence
-
Get size of offset mapping table (the size should be same as the content length).
- getOffsetPosition(LineOffset) - Method in class cc.redpen.model.Sentence
-
Get the position of the supplied offset (ie: the position in the source text) in this sentence's normalized content
- getParagraph(int) - Method in class cc.redpen.model.Section
-
Get the specified paragraph.
- getParagraphs() - Method in class cc.redpen.model.Section
-
Get the iterator of paragraphs of section.
- getParentSection() - Method in class cc.redpen.model.Section
-
Get super section.
- getRangedLinks(int, int) - Method in class cc.redpen.parser.markdown.MergedCandidateSentence
-
- getSection(int) - Method in class cc.redpen.model.Document.DocumentBuilder
-
Get the specified section.
- getSection(int) - Method in class cc.redpen.model.Document
-
Get the specified section.
- getSentence(int) - Method in class cc.redpen.model.ListElement
-
Given sentence id, return the content of sentence.
- getSentence(int) - Method in class cc.redpen.model.Paragraph
-
Get the specified sentence.
- getSentence() - Method in class cc.redpen.validator.ValidationError
-
Get sentence containing the error.
- getSentenceEndPosition(String) - Method in class cc.redpen.parser.SentenceExtractor
-
Given string, return sentence end position.
- getSentenceEndPosition(String) - Method in class cc.redpen.util.EndOfSentenceDetector
-
Get sentence end position.
- getSentenceEndPosition(String, int) - Method in class cc.redpen.util.EndOfSentenceDetector
-
Get sentence end position.
- getSentences() - Method in class cc.redpen.model.ListElement
-
Get content of list element.
- getSentences() - Method in class cc.redpen.model.Paragraph
-
Get the iterator of sentences.
- getSourceText() - Method in class org.asciidoctor.RedPenTreeProcessor.BlockAccessor
-
The source text is a new block element inserted into the JRuby object by
the Ruby code in redpen's AsciiDocParser.java.
- getStartColumnNumber() - Method in class cc.redpen.validator.ValidationError
-
Get column number in which the error occurs.
- getStartPosition() - Method in class cc.redpen.validator.ValidationError
-
Get error start position.
- getStartPositionOffset() - Method in class cc.redpen.model.Sentence
-
Get start column offset where the sentence starts.
- getStartPositionOffset() - Method in class cc.redpen.parser.markdown.CandidateSentence
-
- getSubSection(int) - Method in class cc.redpen.model.Section
-
Get the iterator of subsections.
- getSubstitutionCost() - Static method in class cc.redpen.util.LevenshteinDistance
-
Get the cost for "substitution".
- getSupportedLanguages() - Method in class cc.redpen.validator.sentence.ContractionValidator
-
- getSupportedLanguages() - Method in class cc.redpen.validator.sentence.DoubledJoshiValidator
-
- getSupportedLanguages() - Method in class cc.redpen.validator.sentence.DoubleNegativeValidator
-
- getSupportedLanguages() - Method in class cc.redpen.validator.sentence.EndOfSentenceValidator
-
- getSupportedLanguages() - Method in class cc.redpen.validator.sentence.HankakuKanaValidator
-
- getSupportedLanguages() - Method in class cc.redpen.validator.sentence.InvalidWordValidator
-
- getSupportedLanguages() - Method in class cc.redpen.validator.sentence.JapaneseStyleValidator
-
- getSupportedLanguages() - Method in class cc.redpen.validator.sentence.KatakanaEndHyphenValidator
-
- getSupportedLanguages() - Method in class cc.redpen.validator.sentence.KatakanaSpellCheckValidator
-
- getSupportedLanguages() - Method in class cc.redpen.validator.sentence.OkuriganaValidator
-
- getSupportedLanguages() - Method in class cc.redpen.validator.sentence.QuotationValidator
-
- getSupportedLanguages() - Method in class cc.redpen.validator.sentence.StartWithCapitalLetterValidator
-
- getSupportedLanguages() - Method in class cc.redpen.validator.Validator
-
Return an array of languages supported by this validator
Validator
provides empty implementation.
- getSurface() - Method in class cc.redpen.tokenizer.TokenElement
-
- getSymbol(SymbolType) - Method in class cc.redpen.config.SymbolTable
-
Get the character specified with the name.
- getSymbolByValue(char) - Method in class cc.redpen.config.SymbolTable
-
Get the character specified with the value.
- getSymbolTable() - Method in class cc.redpen.config.Configuration
-
Get SymbolTable.
- getSymbolTable() - Method in class cc.redpen.validator.Validator
-
- getTags() - Method in class cc.redpen.tokenizer.TokenElement
-
- getTokenizer() - Method in class cc.redpen.config.Configuration
-
returns Tokenizer aasociated with this configuration
- getTokens() - Method in class cc.redpen.model.Sentence
-
Get a set of tokenized words in the sentence.
- getType() - Method in class cc.redpen.config.Symbol
-
Get name of character.
- getType() - Method in class org.asciidoctor.RedPenTreeProcessor.BlockAccessor
-
The type element of the var table returns the type of this block, for example
'ulist' or 'list_time'
- getValidatorClassName() - Method in class cc.redpen.config.ValidatorConfiguration
-
Get validator class name
- getValidatorConfigs() - Method in class cc.redpen.config.Configuration
-
Get validator configurations.
- getValidatorName() - Method in class cc.redpen.validator.ValidationError
-
Get validator name.
- getValidators() - Method in class cc.redpen.RedPen
-
Get validators associated with this RedPen instance
- getValue() - Method in class cc.redpen.config.Symbol
-
Get value of character.
- getValue() - Method in class org.asciidoctor.RedPenTreeProcessor.BlockAccessor
-
The block's value is usually its processed or converted text form
- getValueOrFallbackToDefault(SymbolType) - Method in class cc.redpen.config.SymbolTable
-
Detect the specified character is exit in the dictionary.
- p - Variable in class cc.redpen.parser.latex.Token
-
- Pair<A,B> - Class in cc.redpen.util
-
- Pair(A, B) - Constructor for class cc.redpen.util.Pair
-
- Paragraph - Class in cc.redpen.model
-
Represent a paragraph of text.
- Paragraph() - Constructor for class cc.redpen.model.Paragraph
-
Constructor.
- ParagraphNumberValidator - Class in cc.redpen.validator.section
-
Validate paragraph number.
- ParagraphNumberValidator() - Constructor for class cc.redpen.validator.section.ParagraphNumberValidator
-
- ParagraphStartWithValidator - Class in cc.redpen.validator.section
-
Validate whether paragraph start as specified.
- ParagraphStartWithValidator() - Constructor for class cc.redpen.validator.section.ParagraphStartWithValidator
-
- ParenthesizedSentenceValidator - Class in cc.redpen.validator.sentence
-
Warn if too many (or overly long (or nested parenthesized sentences (where you do this))) are used in a sentence
- ParenthesizedSentenceValidator() - Constructor for class cc.redpen.validator.sentence.ParenthesizedSentenceValidator
-
- parse(InputStream, Optional<String>, SentenceExtractor, RedPenTokenizer) - Method in class cc.redpen.parser.AsciiDocParser
-
- parse(String, SentenceExtractor, RedPenTokenizer) - Method in class cc.redpen.parser.BaseDocumentParser
-
- parse(File, SentenceExtractor, RedPenTokenizer) - Method in class cc.redpen.parser.BaseDocumentParser
-
- parse(InputStream, SentenceExtractor, RedPenTokenizer) - Method in interface cc.redpen.parser.DocumentParser
-
Given input stream, return Document instance from a stream.
- parse(InputStream, Optional<String>, SentenceExtractor, RedPenTokenizer) - Method in interface cc.redpen.parser.DocumentParser
-
Given input stream, return Document instance from a stream.
- parse(String, SentenceExtractor, RedPenTokenizer) - Method in interface cc.redpen.parser.DocumentParser
-
Given content, return Document instance for the specified file.
- parse(File, SentenceExtractor, RedPenTokenizer) - Method in interface cc.redpen.parser.DocumentParser
-
Given input file name, return Document instance for the specified file.
- parse(char[], Document.DocumentBuilder, SentenceExtractor) - Method in class cc.redpen.parser.latex.LaTeXProcessor
-
- parse() - Method in class cc.redpen.parser.latex.Lexer
-
- parse() - Method in class cc.redpen.parser.latex.StreamParser
-
- parse(InputStream, Optional<String>, SentenceExtractor, RedPenTokenizer) - Method in class cc.redpen.parser.PlainTextParser
-
- parse(DocumentParser, InputStream) - Method in class cc.redpen.RedPen
-
parse given input stream.
- parse(DocumentParser, String) - Method in class cc.redpen.RedPen
-
parse given content.
- parse(DocumentParser, File[]) - Method in class cc.redpen.RedPen
-
parse given files.
- PARSER_MAP - Static variable in interface cc.redpen.parser.DocumentParser
-
- PLAIN - Static variable in interface cc.redpen.parser.DocumentParser
-
- PlainBySentenceFormatter - Class in cc.redpen.formatter
-
Format errors as string messages, collated by sentence
- PlainBySentenceFormatter() - Constructor for class cc.redpen.formatter.PlainBySentenceFormatter
-
- PlainFormatter - Class in cc.redpen.formatter
-
Format errors as string messages.
- PlainFormatter() - Constructor for class cc.redpen.formatter.PlainFormatter
-
- PlainTextParser - Class in cc.redpen.parser
-
Parser for plain text file.
- pos - Variable in class cc.redpen.parser.latex.Token
-
- Position - Class in cc.redpen.parser.latex
-
Position data type.
- Position(int, int) - Constructor for class cc.redpen.parser.latex.Position
-
- Position(Position) - Constructor for class cc.redpen.parser.latex.Position
-
- preValidate(Sentence) - Method in class cc.redpen.validator.JavaScriptValidator
-
- preValidate(Section) - Method in class cc.redpen.validator.JavaScriptValidator
-
- preValidate(Section) - Method in class cc.redpen.validator.section.DuplicatedSectionValidator
-
- preValidate(Sentence) - Method in class cc.redpen.validator.sentence.ContractionValidator
-
- preValidate(Sentence) - Method in class cc.redpen.validator.sentence.JapaneseStyleValidator
-
- preValidate(Sentence) - Method in class cc.redpen.validator.sentence.KatakanaSpellCheckValidator
-
- preValidate(Sentence) - Method in class cc.redpen.validator.sentence.SpaceBeginningOfSentenceValidator
-
- preValidate(Sentence) - Method in class cc.redpen.validator.Validator
-
Process input blocks before run validation.
- preValidate(Section) - Method in class cc.redpen.validator.Validator
-
Process input blocks before run validation.
- process(Document) - Method in class org.asciidoctor.RedPenTreeProcessor
-
Process a AsciiDoctorJ document
- processParagraph(String, String, List<Sentence>) - Method in class org.asciidoctor.RedPenTreeProcessor
-
Process a paragraph of processed text.
- SAXErrorHandler - Class in cc.redpen.util
-
Error handler class of SAX parser.
- SAXErrorHandler() - Constructor for class cc.redpen.util.SAXErrorHandler
-
- second - Variable in class cc.redpen.util.Pair
-
- Section - Class in cc.redpen.model
-
Represent a section in semi-structured text format such as wiki.
- Section(int) - Constructor for class cc.redpen.model.Section
-
Constructor.
- Section(int, List<Sentence>) - Constructor for class cc.redpen.model.Section
-
Constructor.
- Section(int, String) - Constructor for class cc.redpen.model.Section
-
Constructor.
- SectionLengthValidator - Class in cc.redpen.validator.section
-
Validate the length of one section.
- SectionLengthValidator() - Constructor for class cc.redpen.validator.section.SectionLengthValidator
-
- Sentence - Class in cc.redpen.model
-
Sentence block in a Document.
- Sentence(String, int) - Constructor for class cc.redpen.model.Sentence
-
Constructor.
- Sentence(String, int, int) - Constructor for class cc.redpen.model.Sentence
-
Constructor.
- Sentence(String, List<LineOffset>, List<String>) - Constructor for class cc.redpen.model.Sentence
-
- SentenceExtractor - Class in cc.redpen.parser
-
Utility Class to extract a Sentence list from given String.
- SentenceExtractor(SymbolTable) - Constructor for class cc.redpen.parser.SentenceExtractor
-
Constructor.
- SentenceLengthValidator - Class in cc.redpen.validator.sentence
-
Validate input sentences contain more characters more than specified.
- SentenceLengthValidator() - Constructor for class cc.redpen.validator.sentence.SentenceLengthValidator
-
- setContent(String) - Method in class cc.redpen.model.Sentence
-
Set content of sentence.
- setContent(String) - Method in class cc.redpen.parser.markdown.CandidateSentence
-
- setDeletionCost(int) - Static method in class cc.redpen.util.LevenshteinDistance
-
Set the cost for "deletion".
- setErrorList(List<ValidationError>) - Method in class cc.redpen.validator.Validator
-
- setFileName(String) - Method in class cc.redpen.model.Document.DocumentBuilder
-
Set file name.
- setInsertionCost(int) - Static method in class cc.redpen.util.LevenshteinDistance
-
Set the cost for "insertion".
- setIsFirstSentence(boolean) - Method in class cc.redpen.model.Sentence
-
Set a flag to detect if the sentence is a first sentence of a paragraph.
- setLanguage(String) - Method in class cc.redpen.config.Configuration.ConfigurationBuilder
-
- setLengthLimit(int) - Method in class cc.redpen.validator.sentence.SentenceLengthValidator
-
Set maximum length of sentence.
- setLevel(int) - Method in class cc.redpen.model.Section
-
Set level of section.
- setLineNumber(int) - Method in class cc.redpen.model.Sentence
-
Set line number where the sentence starts.
- setLink(String) - Method in class cc.redpen.parser.markdown.CandidateSentence
-
- setMaxLength(int) - Method in class cc.redpen.validator.sentence.SentenceLengthValidator
-
- setMaxParagraphNumber(int) - Method in class cc.redpen.validator.section.ParagraphNumberValidator
-
- setMaxSectionLength(int) - Method in class cc.redpen.validator.section.SectionLengthValidator
-
- setOffsetMap(List<LineOffset>) - Method in class cc.redpen.model.Sentence
-
Set the offset mapping table which contains character position to column offset in line.
- setParentSection(Section) - Method in class cc.redpen.model.Section
-
Set super section.
- setSubstitutionCost(int) - Static method in class cc.redpen.util.LevenshteinDistance
-
Set the cost for "substitution".
- setSynonyms(Map<String, String>) - Method in class cc.redpen.validator.sentence.SuggestExpressionValidator
-
- setTokens(List<TokenElement>) - Method in class cc.redpen.model.Sentence
-
Set a set of tokenized words.
- setType(String) - Method in class cc.redpen.config.Configuration.ConfigurationBuilder
-
- size() - Method in class cc.redpen.model.Document
-
Get the size of sections in the file.
- SpaceBeginningOfSentenceValidator - Class in cc.redpen.validator.sentence
-
Validate input sentences except for first sentence of a paragraph start with
a space.
- SpaceBeginningOfSentenceValidator() - Constructor for class cc.redpen.validator.sentence.SpaceBeginningOfSentenceValidator
-
- SpaceBetweenAlphabeticalWordValidator - Class in cc.redpen.validator.sentence
-
- SpaceBetweenAlphabeticalWordValidator() - Constructor for class cc.redpen.validator.sentence.SpaceBetweenAlphabeticalWordValidator
-
- SpellingUtils - Class in cc.redpen.util
-
Spelling utility
- SpellingUtils() - Constructor for class cc.redpen.util.SpellingUtils
-
- SpellingValidator - Class in cc.redpen.validator.sentence
-
- SpellingValidator() - Constructor for class cc.redpen.validator.sentence.SpellingValidator
-
- StartWithCapitalLetterValidator - Class in cc.redpen.validator.sentence
-
Check if the input sentence start with a capital letter.
- StartWithCapitalLetterValidator() - Constructor for class cc.redpen.validator.sentence.StartWithCapitalLetterValidator
-
- StreamParser - Class in cc.redpen.parser.latex
-
Experimental stream mode LaTeX parser prototype.
- StreamParser(char[], StreamParser.Listener) - Constructor for class cc.redpen.parser.latex.StreamParser
-
- StreamParser(String, StreamParser.Listener) - Constructor for class cc.redpen.parser.latex.StreamParser
-
- StreamParser.Listener - Interface in cc.redpen.parser.latex
-
- StringUtils - Class in cc.redpen.util
-
- StringUtils() - Constructor for class cc.redpen.util.StringUtils
-
- SuccessiveWordValidator - Class in cc.redpen.validator.sentence
-
- SuccessiveWordValidator() - Constructor for class cc.redpen.validator.sentence.SuccessiveWordValidator
-
- SuggestExpressionValidator - Class in cc.redpen.validator.sentence
-
If input sentences contain invalid expressions, this validator
returns the errors with corrected expressions.
- SuggestExpressionValidator() - Constructor for class cc.redpen.validator.sentence.SuggestExpressionValidator
-
- Symbol - Class in cc.redpen.config
-
Represent a character settings.
- Symbol(SymbolType, char) - Constructor for class cc.redpen.config.Symbol
-
Constructor.
- Symbol(SymbolType, char, String) - Constructor for class cc.redpen.config.Symbol
-
Constructor.
- Symbol(SymbolType, char, String, boolean, boolean) - Constructor for class cc.redpen.config.Symbol
-
Constructor.
- SymbolTable - Class in cc.redpen.config
-
Configuration table of characters used in
RedPen
.
- SymbolType - Enum in cc.redpen.config
-
- SymbolWithSpaceValidator - Class in cc.redpen.validator.sentence
-
Validate symbol has before and after symbols.
- SymbolWithSpaceValidator() - Constructor for class cc.redpen.validator.sentence.SymbolWithSpaceValidator
-