Class | Description |
---|---|
AnyCharTokenizer |
A tokenizer that renders the whole input as one token.
|
Indexer |
A class with a main() method that takes a text file and indexes its sentences, including POS tags
|
LanguageToolAnalyzer |
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.
|
LanguageToolFilter |
A filter that indexes the tokens with POS tags.
|
Lucene |
Constants for Lucene indexes.
|
MatchingSentence |
A sentence with rule matches.
|
PatternRuleQueryBuilder |
A factory class for building a Lucene Query from a PatternRule.
|
Searcher |
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.
|
SearcherResult |
The result of a
Searcher . |
Exception | Description |
---|---|
PatternRuleNotFoundException | |
SearchTimeoutException |
Thrown if Lucene index search takes too long.
|
UnsupportedPatternRuleException |