Skip navigation links

Package uk.ac.open.crc.mdsc

API for spell-checking and convenience classes.

See: Description

Package uk.ac.open.crc.mdsc Description

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.

Skip navigation links