| Class | Description |
|---|---|
| AbbreviationDictionaryManager |
Provides a dictionary for looking up abbreviations.
|
| AcronymDictionaryManager |
Provides a dictionary for looking up acronyms.
|
| DefaultDictionaryManager |
Provides a default set of dictionaries based on SCOWL word lists to
80, separated by language, the SCOWL 'hacker' dictionary of technical terms
and a dictionary of technical terms derived from identifier names.
|
| Dictionary |
Represents a single spelling dictionary.
|
| DictionaryManager |
A class used to populate and configure a group of dictionaries.
|
| DictionarySet |
DictionarySet provides the spell checking functionality in
mdsc. |
| NormalisedAbbreviationDictionaryManager |
Provides a dictionary of abbreviations where the entries have been
normalised to lower case.
|
| NormalisedDictionaryManager |
Provides a default set of dictionaries with entries normalised to lower case
using SCOWL word lists to
80, separated by language, the SCOWL 'hacker' dictionary of technical terms
and a dictionary of technical terms derived from identifier names.
|
| NormalisedIso3166DictionaryManager |
Provides ISO 3166 two and three letter country codes normalised to lower
case.
|
| Result |
The result of a spell check using a single dictionary.
|
| SuggestedSpelling |
A class containing a suggested spelling, the cost of changing the given
word to the candidate spelling and the name of the dictionary used to
identify the suggestion.
|
API for spell-checking and convenience classes. Dictionaries can be
built using DictionaryManager and your own word lists or those
that are available in the jar — see the
wordlists package and the documentation for more information.
Alternatively there are
convenience classes that provide dictionaries constructed with
specific word lists.
The classes are organised so that a DictionaryManager
instantiates and collates collections of Dictionary objects
that represent an individual word list. To spell check, obtain a
DictionarySet from the DictionaryManager and provide
a single word to the DictionarySet#spellCheck(java.lang.String)
method. A list of Results are returned one for each dictionary
in the DictionarySet with an indication of correctness and suggested
alternatives if incorrect.