JavaScript is disabled on your browser.
Skip navigation links
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
Prev
Next
Frames
No Frames
All Classes
A
B
C
D
E
F
G
H
I
L
M
N
O
P
R
S
T
U
V
W
A
absolutePositionFor(Location, String)
- Static method in class org.languagetool.dev.wikipedia.
LocationHelper
Get an absolute position (character-based) for a line/column-based location.
acceptSentence(String)
- Method in class org.languagetool.dev.dumpcheck.
SentenceSource
add(Document)
- Method in class org.languagetool.dev.index.
Indexer
AnyCharTokenizer
- Class in
org.languagetool.dev.index
A tokenizer that renders the whole input as one token.
AnyCharTokenizer()
- Constructor for class org.languagetool.dev.index.
AnyCharTokenizer
Construct a new AnyCharTokenizer.
AnyCharTokenizer(AttributeFactory)
- Constructor for class org.languagetool.dev.index.
AnyCharTokenizer
Construct a new AnyCharTokenizer using a given
AttributeFactory
.
AppliedRuleMatch
- Class in
org.languagetool.dev.wikipedia
A rule match with the application of its corrections.
AppliedRuleMatch(RuleMatch, List<RuleMatchApplication>)
- Constructor for class org.languagetool.dev.wikipedia.
AppliedRuleMatch
applySuggestionsToOriginalText(RuleMatch)
- Method in class org.languagetool.dev.wikipedia.
SuggestionReplacer
Applies the suggestions from the rule to the original text.
B
buildRelaxedQuery(AbstractPatternRule)
- Method in class org.languagetool.dev.index.
PatternRuleQueryBuilder
Iterate over all elements, ignore those not supported, add the other ones to a BooleanQuery.
C
checkPage(URL)
- Method in class org.languagetool.dev.wikipedia.
WikipediaQuickCheck
checkPage(URL, ErrorMarker)
- Method in class org.languagetool.dev.wikipedia.
WikipediaQuickCheck
checkPage(String, Language)
- Method in class org.languagetool.dev.wikipedia.
WikipediaQuickCheck
close()
- Method in class org.languagetool.dev.dumpcheck.
SentenceSourceIndexer
close()
- Method in class org.languagetool.dev.index.
Indexer
commit()
- Method in class org.languagetool.dev.index.
Indexer
create(List<String>, Language)
- Static method in class org.languagetool.dev.dumpcheck.
MixingSentenceSource
create(List<String>, Language, Pattern)
- Static method in class org.languagetool.dev.dumpcheck.
MixingSentenceSource
createComponents(String)
- Method in class org.languagetool.dev.index.
LanguageToolAnalyzer
D
DocumentLimitReachedException
- Exception in
org.languagetool.dev.dumpcheck
DocumentLimitReachedException(int)
- Constructor for exception org.languagetool.dev.dumpcheck.
DocumentLimitReachedException
E
enableMapping(boolean)
- Method in class org.languagetool.dev.wikipedia.
SwebleWikipediaTextFilter
Set this to
false
for better performance.
enableMapping(boolean)
- Method in class org.languagetool.dev.wikipedia.
TextConverter
end()
- Method in class org.languagetool.dev.index.
AnyCharTokenizer
ErrorLimitReachedException
- Exception in
org.languagetool.dev.dumpcheck
ErrorLimitReachedException(int)
- Constructor for exception org.languagetool.dev.dumpcheck.
ErrorLimitReachedException
ErrorMarker
- Class in
org.languagetool.dev.wikipedia
String to mark the start and end of an error.
ErrorMarker(String, String)
- Constructor for class org.languagetool.dev.wikipedia.
ErrorMarker
F
FIELD_NAME
- Static variable in class org.languagetool.dev.index.
Lucene
FIELD_NAME_LOWERCASE
- Static variable in class org.languagetool.dev.index.
Lucene
filter(String)
- Method in class org.languagetool.dev.wikipedia.
SwebleWikipediaTextFilter
filter(String)
- Method in interface org.languagetool.dev.wikipedia.
TextMapFilter
Filter the given text, keeping a mapping from plain text to original markup positions.
findRuleMatchesOnIndex(PatternRule, Language)
- Method in class org.languagetool.dev.index.
Searcher
findRuleMatchesOnIndex(PatternRule, Language, String)
- Method in class org.languagetool.dev.index.
Searcher
G
getAnalyzedSentence()
- Method in class org.languagetool.dev.index.
MatchingSentence
getAppliedRuleMatches()
- Method in class org.languagetool.dev.wikipedia.
MarkupAwareWikipediaResult
getCheckedSentences()
- Method in class org.languagetool.dev.index.
SearcherResult
getContent()
- Method in class org.languagetool.dev.wikipedia.
MediaWikiContent
getCorrectedErrorContext(int)
- Method in class org.languagetool.dev.wikipedia.
RuleMatchApplication
getDisabledRuleIds()
- Method in class org.languagetool.dev.wikipedia.
WikipediaQuickCheck
getDocCount()
- Method in class org.languagetool.dev.index.
Searcher
getDocCount()
- Method in class org.languagetool.dev.index.
SearcherResult
getEndMarker()
- Method in class org.languagetool.dev.wikipedia.
ErrorMarker
getErrorMarker()
- Method in class org.languagetool.dev.wikipedia.
RuleMatchApplication
getInternalErrorCount()
- Method in class org.languagetool.dev.wikipedia.
MarkupAwareWikipediaResult
Mapping the Wikipedia syntax is complicated and it sometimes fails.
getLanguage(URL)
- Method in class org.languagetool.dev.wikipedia.
WikipediaQuickCheck
getLanguageCode()
- Method in class org.languagetool.dev.wikipedia.
WikipediaQuickCheckResult
getLastEditTimestamp()
- Method in class org.languagetool.dev.wikipedia.
MarkupAwareWikipediaResult
getLimit()
- Method in exception org.languagetool.dev.dumpcheck.
DocumentLimitReachedException
getLuceneMatchCount()
- Method in class org.languagetool.dev.index.
SearcherResult
getMapping()
- Method in class org.languagetool.dev.wikipedia.
PlainTextMapping
getMapping()
- Method in class org.languagetool.dev.wikipedia.
TextConverter
Return a mapping from converted text positions to original text positions.
getMatchingSentences()
- Method in class org.languagetool.dev.index.
SearcherResult
getMaxDocChecked()
- Method in class org.languagetool.dev.index.
SearcherResult
getMaxHits()
- Method in class org.languagetool.dev.index.
Searcher
getMaxSearchTimeMillis()
- Method in class org.languagetool.dev.index.
Searcher
getMediaWikiContent(URL)
- Method in class org.languagetool.dev.wikipedia.
WikipediaQuickCheck
getMessage()
- Method in exception org.languagetool.dev.dumpcheck.
DocumentLimitReachedException
getMessage()
- Method in exception org.languagetool.dev.dumpcheck.
ErrorLimitReachedException
getNumDocs()
- Method in class org.languagetool.dev.index.
SearcherResult
getOriginalErrorContext(int)
- Method in class org.languagetool.dev.wikipedia.
RuleMatchApplication
getOriginalText()
- Method in class org.languagetool.dev.wikipedia.
RuleMatchApplication
getOriginalTextPositionFor(int)
- Method in class org.languagetool.dev.wikipedia.
PlainTextMapping
getOriginalWikiMarkup()
- Method in class org.languagetool.dev.wikipedia.
MarkupAwareWikipediaResult
getPageTitle(URL)
- Method in class org.languagetool.dev.wikipedia.
WikipediaQuickCheck
getPlainText()
- Method in class org.languagetool.dev.wikipedia.
PlainTextMapping
getPlainText(String)
- Method in class org.languagetool.dev.wikipedia.
WikipediaQuickCheck
getPlainTextMapping(String)
- Method in class org.languagetool.dev.wikipedia.
WikipediaQuickCheck
getRelaxedQuery()
- Method in class org.languagetool.dev.index.
SearcherResult
getRuleMatch()
- Method in class org.languagetool.dev.wikipedia.
AppliedRuleMatch
getRuleMatch()
- Method in class org.languagetool.dev.wikipedia.
RuleMatchApplication
getRuleMatchApplications()
- Method in class org.languagetool.dev.wikipedia.
AppliedRuleMatch
getRuleMatches()
- Method in class org.languagetool.dev.index.
MatchingSentence
getRuleMatches()
- Method in class org.languagetool.dev.wikipedia.
WikipediaQuickCheckResult
getSentence()
- Method in class org.languagetool.dev.index.
MatchingSentence
getSkipHits()
- Method in class org.languagetool.dev.index.
Searcher
getSkipHits()
- Method in class org.languagetool.dev.index.
SearcherResult
getSource()
- Method in class org.languagetool.dev.dumpcheck.
MixingSentenceSource
getSource()
- Method in class org.languagetool.dev.dumpcheck.
PlainTextSentenceSource
getSource()
- Method in class org.languagetool.dev.dumpcheck.
Sentence
getSource()
- Method in class org.languagetool.dev.dumpcheck.
SentenceSource
getSource()
- Method in class org.languagetool.dev.dumpcheck.
WikipediaSentenceSource
getSource()
- Method in class org.languagetool.dev.index.
MatchingSentence
getStartMarker()
- Method in class org.languagetool.dev.wikipedia.
ErrorMarker
getText()
- Method in class org.languagetool.dev.dumpcheck.
Sentence
getText()
- Method in class org.languagetool.dev.wikipedia.
WikipediaQuickCheckResult
getTextWithCorrection()
- Method in class org.languagetool.dev.wikipedia.
RuleMatchApplication
getTimestamp()
- Method in class org.languagetool.dev.wikipedia.
MediaWikiContent
getTitle()
- Method in class org.languagetool.dev.dumpcheck.
Sentence
getTitle()
- Method in class org.languagetool.dev.index.
MatchingSentence
H
hasNext()
- Method in class org.languagetool.dev.dumpcheck.
MixingSentenceSource
hasNext()
- Method in class org.languagetool.dev.dumpcheck.
PlainTextSentenceSource
hasNext()
- Method in class org.languagetool.dev.dumpcheck.
SentenceSource
hasNext()
- Method in class org.languagetool.dev.dumpcheck.
WikipediaSentenceSource
hasRealReplacement()
- Method in class org.languagetool.dev.wikipedia.
RuleMatchApplication
hasTooManyLuceneMatches()
- Method in class org.languagetool.dev.index.
SearcherResult
I
incrementToken()
- Method in class org.languagetool.dev.index.
AnyCharTokenizer
incrementToken()
- Method in class org.languagetool.dev.index.
LanguageToolFilter
Indexer
- Class in
org.languagetool.dev.index
A class with a main() method that takes a text file and indexes its sentences, including POS tags
Indexer(Directory, Language)
- Constructor for class org.languagetool.dev.index.
Indexer
Indexer(Directory, Language, Analyzer)
- Constructor for class org.languagetool.dev.index.
Indexer
indexSentence(Sentence, int)
- Method in class org.languagetool.dev.index.
Indexer
indexText(BufferedReader)
- Method in class org.languagetool.dev.index.
Indexer
isResultIsTimeLimited()
- Method in class org.languagetool.dev.index.
SearcherResult
isTokenChar(int)
- Method in class org.languagetool.dev.index.
AnyCharTokenizer
Collects any characters.
L
LanguageToolAnalyzer
- Class in
org.languagetool.dev.index
LanguageToolAnalyzer emits the entire input (i.e. a sentence) as a single token by AnyCharTokenizer, and then use JLanguageTool to analyze and tag the tokens by LanguageToolFilter.
LanguageToolAnalyzer(JLanguageTool, boolean)
- Constructor for class org.languagetool.dev.index.
LanguageToolAnalyzer
LanguageToolFilter
- Class in
org.languagetool.dev.index
A filter that indexes the tokens with POS tags.
LocationHelper
- Class in
org.languagetool.dev.wikipedia
Lucene
- Class in
org.languagetool.dev.index
Constants for Lucene indexes.
Lucene()
- Constructor for class org.languagetool.dev.index.
Lucene
M
main(String[])
- Static method in class org.languagetool.dev.dumpcheck.
SentenceSourceChecker
main(String...)
- Static method in class org.languagetool.dev.dumpcheck.
SentenceSourceIndexer
main(String[])
- Static method in class org.languagetool.dev.index.
Indexer
main(String[])
- Static method in class org.languagetool.dev.index.
Searcher
Main
- Class in
org.languagetool.dev.wikipedia
A class to be called from command line - dispatches to the actual implementations by calling their main method.
Main()
- Constructor for class org.languagetool.dev.wikipedia.
Main
main(String[])
- Static method in class org.languagetool.dev.wikipedia.
Main
main(String[])
- Static method in class org.languagetool.dev.wikipedia.
WikipediaQuickCheck
MarkupAwareWikipediaResult
- Class in
org.languagetool.dev.wikipedia
The result of a Wikipedia check that takes markup into account so that the suggestions can be applied to that original markup.
MarkupAwareWikipediaResult(MediaWikiContent, List<AppliedRuleMatch>, int)
- Constructor for class org.languagetool.dev.wikipedia.
MarkupAwareWikipediaResult
MatchingSentence
- Class in
org.languagetool.dev.index
A sentence with rule matches.
MAX_DOC_COUNT_FIELD
- Static variable in class org.languagetool.dev.dumpcheck.
SentenceSourceIndexer
MAX_DOC_COUNT_FIELD_VAL
- Static variable in class org.languagetool.dev.dumpcheck.
SentenceSourceIndexer
MAX_DOC_COUNT_VALUE
- Static variable in class org.languagetool.dev.dumpcheck.
SentenceSourceIndexer
MediaWikiContent
- Class in
org.languagetool.dev.wikipedia
MediaWikiContent(String, String)
- Constructor for class org.languagetool.dev.wikipedia.
MediaWikiContent
MixingSentenceSource
- Class in
org.languagetool.dev.dumpcheck
Alternately returns sentences from different sentence sources.
N
next()
- Method in class org.languagetool.dev.dumpcheck.
MixingSentenceSource
next()
- Method in class org.languagetool.dev.dumpcheck.
PlainTextSentenceSource
next()
- Method in class org.languagetool.dev.dumpcheck.
SentenceSource
Return the next sentence.
next()
- Method in class org.languagetool.dev.dumpcheck.
WikipediaSentenceSource
normalize(int)
- Method in class org.languagetool.dev.index.
AnyCharTokenizer
O
org.languagetool.dev
- package org.languagetool.dev
org.languagetool.dev.dumpcheck
- package org.languagetool.dev.dumpcheck
org.languagetool.dev.index
- package org.languagetool.dev.index
org.languagetool.dev.wikipedia
- package org.languagetool.dev.wikipedia
P
PageNotFoundException
- Exception in
org.languagetool.dev.wikipedia
Thrown when a Wikipedia page was not found and the text content of the API response was thus empty, or because it's just a redirect page.
PageNotFoundException(String)
- Constructor for exception org.languagetool.dev.wikipedia.
PageNotFoundException
PatternRuleNotFoundException
- Exception in
org.languagetool.dev.index
PatternRuleNotFoundException(String, Language)
- Constructor for exception org.languagetool.dev.index.
PatternRuleNotFoundException
PatternRuleQueryBuilder
- Class in
org.languagetool.dev.index
A factory class for building a Lucene Query from a PatternRule.
PatternRuleQueryBuilder(Language, IndexSearcher)
- Constructor for class org.languagetool.dev.index.
PatternRuleQueryBuilder
PatternRuleQueryBuilder(Language, IndexSearcher, String)
- Constructor for class org.languagetool.dev.index.
PatternRuleQueryBuilder
PlainTextMapping
- Class in
org.languagetool.dev.wikipedia
The result of a text extraction: plain text plus a mapping from plain text positions to corresponding positions in the original markup.
PlainTextMapping(String, Map<Integer, Location>)
- Constructor for class org.languagetool.dev.wikipedia.
PlainTextMapping
PlainTextSentenceSource
- Class in
org.languagetool.dev.dumpcheck
Provides access to the relevant sentences of a plain text file with one sentence per line.
PlainTextSentenceSource(InputStream, Language)
- Constructor for class org.languagetool.dev.dumpcheck.
PlainTextSentenceSource
PlainTextSentenceSource(InputStream, Language, Pattern)
- Constructor for class org.languagetool.dev.dumpcheck.
PlainTextSentenceSource
R
RANDOM_FIELD
- Static variable in class org.languagetool.dev.index.
Lucene
remove()
- Method in class org.languagetool.dev.dumpcheck.
SentenceSource
reset()
- Method in class org.languagetool.dev.index.
AnyCharTokenizer
RuleMatchApplication
- Class in
org.languagetool.dev.wikipedia
Original text with a potential error and (one of) its applied corrections.
run(String, Directory, Language)
- Static method in class org.languagetool.dev.index.
Indexer
S
Searcher
- Class in
org.languagetool.dev.index
A class with a main() method that takes a rule id and the location of the index that runs the query on that index and prints all matches.
Searcher(Directory)
- Constructor for class org.languagetool.dev.index.
Searcher
Searcher(Directory, String)
- Constructor for class org.languagetool.dev.index.
Searcher
SearcherResult
- Class in
org.languagetool.dev.index
The result of a
Searcher
.
SearcherResult(List<MatchingSentence>, int, Query)
- Constructor for class org.languagetool.dev.index.
SearcherResult
SearchTimeoutException
- Exception in
org.languagetool.dev.index
Thrown if Lucene index search takes too long.
SearchTimeoutException(String)
- Constructor for exception org.languagetool.dev.index.
SearchTimeoutException
Sentence
- Class in
org.languagetool.dev.dumpcheck
A single sentence to be indexed/checked.
SentenceSource
- Class in
org.languagetool.dev.dumpcheck
Source of sentences to be checked/indexed.
SentenceSourceChecker
- Class in
org.languagetool.dev.dumpcheck
Checks texts from one or more
SentenceSource
s.
SentenceSourceIndexer
- Class in
org.languagetool.dev.dumpcheck
Creates a Lucene index of a
SentenceSource
.
setDisabledRuleIds(List<String>)
- Method in class org.languagetool.dev.wikipedia.
WikipediaQuickCheck
setDocCount(int)
- Method in class org.languagetool.dev.index.
SearcherResult
setHasTooManyLuceneMatches(boolean)
- Method in class org.languagetool.dev.index.
SearcherResult
setLowercaseOnly(boolean)
- Method in class org.languagetool.dev.index.
Indexer
Set to true to index only a lowercase field (makes index smaller).
setLuceneMatchCount(int)
- Method in class org.languagetool.dev.index.
SearcherResult
setMaxDocChecked(int)
- Method in class org.languagetool.dev.index.
SearcherResult
setMaxHits(int)
- Method in class org.languagetool.dev.index.
Searcher
setMaxSearchTimeMillis(int)
- Method in class org.languagetool.dev.index.
Searcher
setNumDocs(int)
- Method in class org.languagetool.dev.index.
SearcherResult
setResultIsTimeLimited(boolean)
- Method in class org.languagetool.dev.index.
SearcherResult
setSkipHits(int)
- Method in class org.languagetool.dev.index.
Searcher
setSkipHits(int)
- Method in class org.languagetool.dev.index.
SearcherResult
SOURCE_FIELD_NAME
- Static variable in class org.languagetool.dev.index.
Lucene
SuggestionReplacer
- Class in
org.languagetool.dev.wikipedia
Applies the rule suggestions to a text, considering a mapping so the suggestion can be applied to the original markup of a text.
SuggestionReplacer(PlainTextMapping, String)
- Constructor for class org.languagetool.dev.wikipedia.
SuggestionReplacer
SuggestionReplacer(PlainTextMapping, String, ErrorMarker)
- Constructor for class org.languagetool.dev.wikipedia.
SuggestionReplacer
SwebleWikipediaTextFilter
- Class in
org.languagetool.dev.wikipedia
Convert Wikipedia syntax to HTML using Sweble.
SwebleWikipediaTextFilter()
- Constructor for class org.languagetool.dev.wikipedia.
SwebleWikipediaTextFilter
T
TextConverter
- Class in
org.languagetool.dev.wikipedia
A visitor to convert an article AST into a pure text representation.
TextConverter()
- Constructor for class org.languagetool.dev.wikipedia.
TextConverter
TextMapFilter
- Interface in
org.languagetool.dev.wikipedia
toString()
- Method in class org.languagetool.dev.dumpcheck.
Sentence
toString()
- Method in class org.languagetool.dev.dumpcheck.
SentenceSource
toString()
- Method in class org.languagetool.dev.index.
MatchingSentence
toString()
- Method in class org.languagetool.dev.wikipedia.
AppliedRuleMatch
toString()
- Method in class org.languagetool.dev.wikipedia.
RuleMatchApplication
U
UnsupportedPatternRuleException
- Exception in
org.languagetool.dev.index
UnsupportedPatternRuleException(String)
- Constructor for exception org.languagetool.dev.index.
UnsupportedPatternRuleException
V
validateWikipediaUrl(URL)
- Method in class org.languagetool.dev.wikipedia.
WikipediaQuickCheck
W
WikipediaQuickCheck
- Class in
org.languagetool.dev.wikipedia
Check a Wikipedia page (without spell check), fetching the page via the MediaWiki API.
WikipediaQuickCheck()
- Constructor for class org.languagetool.dev.wikipedia.
WikipediaQuickCheck
WikipediaQuickCheck(File)
- Constructor for class org.languagetool.dev.wikipedia.
WikipediaQuickCheck
WikipediaQuickCheck(File, int)
- Constructor for class org.languagetool.dev.wikipedia.
WikipediaQuickCheck
WikipediaQuickCheckResult
- Class in
org.languagetool.dev.wikipedia
WikipediaQuickCheckResult(String, List<RuleMatch>, String)
- Constructor for class org.languagetool.dev.wikipedia.
WikipediaQuickCheckResult
WikipediaSentenceSource
- Class in
org.languagetool.dev.dumpcheck
Provides access to the sentences of a Wikipedia XML dump.
A
B
C
D
E
F
G
H
I
L
M
N
O
P
R
S
T
U
V
W
Skip navigation links
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
Prev
Next
Frames
No Frames
All Classes