[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
6.1 Through the C API
The Aspell library contains two main classes and several helper
classes. The two main classes are AspellConfig
and
AspellSpeller
. The AspellConfig
class is used to set
initial defaults and to change spell checker specific options. The
AspellSpeller
class does most of the real work. The
C API
is responsible for managing the dictionaries, checking
if a word is in the dictionary, and coming up with suggestions among
other things. There are many helper classes the important ones are
AspellWordList
, AspellMutableWordList
,
Aspell*Enumeration
. The AspellWordList
classes is used
for accessing the suggestion list, as well as the personal and
suggestion word list currently in use. The
AspellMutableWordList
is used to manage the personal, and
perhaps other, word lists. The Aspell*Enumeration
classes are
used for iterating through a list.