4.2 The Options
The following is a list of available options broken down by category.
Each entry has the following format:
- (type) description
Where single letter options are specified as they would appear at the
command line, ie with the preceding dash. Boolean single letter
options are specified in the following format:
-<abbreviation to enable>|-<abbreviation to disable>
option is one of the following: boolean, string,
file, dir, integer, or list.
String, file, dir, and integer types are all
value options which can only take a specific type of value.
4.2.1 Dictionary Options
The following options may be used to control which dictionaries to use
and how they behave (for more information see How Aspell Selects an Appropriate Dictionary):
Base name of the dictionary to use. If this option is specified then
Aspell will either use this dictionary or die.
Location of the main word list.
Language to use. It follows the same format of the LANG
environment variable on most systems. It consists of the two letter
ISO 639 language code and an optional two letter
ISO 3166 country code after a dash or underscore. The
default value is based on the value of the LC_MESSAGES locale.
The preferred size of the word list. This consists of a
two char digit code describing the size of the list, with typical
values of: 10=tiny, 20=really small, 30=small, 40=med-small, 50=med,
60=med-large, 70=large, 80=huge, 90=insane.
Any extra information to distinguish two different words lists that
have the same language and size.
Search path for word list information files.
Personal word list file name.
Replacements list file name.
Extra dictionaries to use.
create dictionary aliases. Each entry has the form `from
to'. Will override any system dictionaries that are present.
4.2.2 Encoding Options
These options control the encoding the document is expected to be in and
how it is displayed.
The encoding the input text is in. Valid values include, but not
limited to, `iso-8859-*', `utf-8', `ucs-2',
`ucs-4'. When using the Aspell utility the default encoding is
based on the current locale. Thus if your locale currently uses the
`utf-8' encoding than everything will be in UTF-8. The
`ucs-2' and `ucs-4' encodings are intended to be used by other
programs using the Aspell library and is not supported by the Aspell
Perform Unicode normalization. Enabled by default.
Avoid lossy conversions when normalizing. Lossy conversions includes
compatibility mappings such as splitting the letter `OE' (U+152)
into `O' and `E' (when the combined letter is not available),
and mappings which will remove accents. Disabled by default except when
The normalization form the output should be in. This option primarily
effects the normalization form of the suggestions as when spell
checkering as the actual text is unchanged unless there is an error.
Valid values are `none', `nfd' for fully decomposition
(Normalization Form D), `nfc' for Normalization Form C, or
`comp' for fully composed. `comp' is like `nfc' except
that full composition is used rather than canonical
composition. The normalize option must be enabled for this
option to be used.
Set to true when the current language requires Unicode normalization.
This is generally the case when private use characters are used
internally by Aspell or when Normalization Form C is not the same as
4.2.3 Checker Options
These options control the behavior of Aspell when checking
Ignore words with N characters or less
Ignore commands to store replacement pairs.
Save the replacement word list on save all.
The base name of the keyboard definition file to use (see Notes on Typo-Analysis)
Suggestion mode = `ultra' | `fast' | `normal' | `slow' |
`bad-spellers' (see Notes on the Different Suggestion Modes)
Ignore case when checking words.
Ignore accents when checking words – currently ignored.
4.2.4 Filter Options
These options modify the behavior of the Aspell filter interface in
general (for more information see see Notes on Various Filters and Filter Modes).
filters to use
Where to look when loading filter and filter modes.
Sets the filter mode. Possible values include, but not limited to,
`none', `url', `email', `sgml', or `tex'. (The
shortcut options -e may be used for email, -H for
HTML, or -t for TeX).
These options belong to filters packaged along with Aspell standard
distribution. These options may be prefixed by the keyword
f- in order to explicitly indicate that they are options
recognized by a filter and not by Aspell itself.
This filter hides quoting characters and email preamble and other
parts of an email which need not to be spell checked.
Email quote characters.
The number of characters that can appear before the quote character
This filter converts an HTML source file into a format which eases
spell checking of HTML texts by Aspell.
HTML attributes to always check, such as alt= (alternate text).
HTML tags to always skip the contents of, such as <script>.
This filter is identical to the HTML filter except that its options has
different default values which are currently the empty list.
This filter hides all LaTeX commands and corresponding parameters not
being readable text in LaTeX output from Aspell.
check TeX comments
- (string) The preferred form that output should be in. Either
`single' or `multi' to use TeX commands to encode
This filter hides all Texinfo commands from Aspell. It can also hide
Texinfo parameters and environments not corresponding to readable text.
- (list) Texinfo command to ignore the parameters of.
- (list) Texinfo environments to ignore.
This filter converts text from a single character encoding (such as
Unicode) to a multi character encoding (such as old ASCII encoded used
to encode accents). It can also be used to convert text the other way
The data file to use for the conversion.
- (string) The preferred form that output should be in. Currently
either `single' or `multi' to use the multi character
This filter can be used to spell check source
codes, HTML sources and other texts which consist of different
contexts. These contexts must be separated by pairs of unique
delimiters. The different contexts may not be dependent upon each
other except for initial context which is assumed if not any other
- (boolean) Switches the context which should be visible to Aspell.
Per default the initial context is assumed to be invisible as one
would expect when spell checking source files of programs where
relevant parts are contained in string constants and comments but not
in the remaining code. If set to true the initial context is visible
while the delimited ones are hidden.
- (list) Add or remove pairs of delimiters. This allows you to
specify the character, or sequences of characters, which should be
used to switch contexts and therefore have to be escaped by `\' if
they should appear literally. The two delimiting chars belonging to
one pair have to be separated by a space character. If multiple pairs
are specified by one add|rem-context-delimiters call the
different pairs have to be separated by a literal comma. Per default
the delimiters are set to C/C++ comment and string constant
delimiters. If the end of line delimits a context than this has to be
indicated by the literal `\0' string.
4.2.5 Run-together Word Options
These may be used to control the behavior of run-together words (for
more information see Controlling the Behavior of Run-together Words):
consider run-together words valid
maximum number of words that can be strung together
minimal length of interior words
4.2.6 Miscellaneous Options
Miscellaneous other options that don't fall under any other category
Main configuration file. This file overrides Aspell's global defaults.
location of main configuration file
location of language data files
alternative location of language data files. This directory is
searched before data-dir. It defaults to the same directory
the actual main word list is in (which is not necessarily
location for personal files
personal configuration file. This file overrides options found in
the global conf file
use this keyboard layout for suggesting possible words. These spelling
errors happen if a user accidently presses a key next to the intended
correct key. The default is keyboard standard. If you are creating
documents, you may want to set it according to your particular type of
keyboard. If spellchecking documents created elsewhere, you might
want to set this to the keyboard type for that locale. If you are not
sure, just leave this as standard
set the prefix based on executable location (only works on WIN32 and
when compiled with --enable-win32-relocatable)
4.2.7 Aspell Utility Options
Create a backup file by appending .bak to the file name. This
applies when the command is check and the backup file is
only created if any spelling modifications take place.
Time load time and suggest time in pipe mode.
Use byte offsets instead of character offsets in pipe mode.
Reverse the order of the suggestions list in pipe mode.
the keymapping to use. Either aspell for the default mapping
or ispell to use the same mapping that the Ispell utility
make possible root/affix combinations not in the dictionary in
Suggest possible replacements in pipe mode. If false Aspell
will simply report the misspelling and make no attempt at suggestions
or possible corrections.