ASPELL(1)
ASPELL(1) โ Aspell Abbreviated User's Manual ๐
okay bestie, sit down, hydrate, because this is the page for aspell, and it is a whole vibe. ๐
โจ NAME โจ
aspell โ interactive spell checker ๐ฆ
๐ธ SYNOPSIS ๐ธ
aspell [options] <command>
๐ DESCRIPTION ๐
so aspell is a utility program that connects to the Aspell library, which is the whole point โ it lets it function as an ispell -a replacement, as an independent spell checker, as a test utility to test out Aspell library features, and as a utility for managing dictionaries used by the library. four jobs, one icon, no cap. โจ
The Aspell library contains an interface allowing other programs direct access to its functions and therefore reducing the complex task of spell checking to simple library calls. literally doing the most so everyone else can do the least. ๐ซถ
๐จ IMPORTANT: The default library does not contain dictionary word lists. To add language dictionaries, please check your distro first for modified dictionaries, otherwise look here for base language dictionaries <http://aspell.net>.
The following information describes the commands and options used by the Aspell Utility.
๐ full disclosure bestie: This manual page is maintained separately from the official documentation so it may be out of date or incomplete. The official documentation is maintained as a Texinfo manual. See theaspellentry ininfofor more complete documentation.
๐ COMMANDS ๐
<command> is one of:
usage,-?โ Send a brief Aspell Utility usage message to standard output. This is a short summary listing more common spell-check commands and options. the little snack version ๐helpโ Send a detailed Aspell Utility help message to standard output. This is a complete list showing all commands, options, filters and dictionaries. the full meal, no skimping ๐version,-vโ Print version number of Aspell Library and Utility to standard output.check <file>,-c <file>โ Spell-check a single file.pipe,-aโ Run Aspell inispell -acompatibility mode.listโ Produce a list of misspelled words from standard input.[dump] configโ Dump all current configuration options to standard output.config <key>โ Send the current value of<key>to standard output.soundslikeโ Output the soundslike equivalent of each word entered.munchโ Generate possible root words and affixes from an input list of words.expand [1โ4]โ Expands the affix flags of each affix compressed word entered.clean [strict]โ Cleans an input word list so that every line is a valid word.munch-list [simple] [single|multi] [keep]โ Reduce the size of a word list via affix compression.conv <from> <to> [<norm-form>]โ Converts<from>one encoding<to>another.norm (<norm-map>|<from> <norm-map> <to>) [<norm-form>]โ Perform Unicode normalization.[dump] dicts|filters|modesโ Lists available dictionaries, filters, or modes.dump|create|merge master|personal|repl <wordlist>โ dump, create, or merge a master, personal, or replacement word list.
๐ DICTIONARY OPTIONS ๐
The following options may be used to control which dictionaries to use and how they behave. yes this is the dictionary lore section, pay attention ๐
--master=<name>,-d <name>โ Base name of the dictionary to use. If this option is specified then Aspell will either use this dictionary or die. dramatic? yes. accurate? also yes. ๐--dict-dir=<directory>โ Location of the main dictionary word list.--lang=<string>,-l <string>โ Language to use. It follows the same format of theLANGenvironmental 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 theLC_MESSAGESlocale.--size=<string>โ The preferred size of the dictionary 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. the last one is giving unhinged and we love her ๐--variety=<string>โ Any extra information to distinguish this variety of dictionary from other dictionaries which may have the same lang and size.--jargon=<string>โ Please use thevarietyoption since it replacesjargonas a better choice.jargonwill be removed in the future. โ ๏ธ deprecated era, bestie, migrate.--word-list-path=<list of directories>โ Search path for word list information files.--personal=<file>,-p <file>โ Personal word list file name.--repl=<file>โ Replacements list file name.--extra-dicts=<list>โ Extra dictionaries to use.--ignore-accentsโ This option is not yet implemented. ๐ง coming soon (not soon)
๐ CHECKER OPTIONS ๐
These options control the behavior of Aspell when checking documents.
--ignore=<integer>,-W <integer>โ Ignore words<= <integer>characters in length.--ignore-case,--dont-ignore-caseโ Ignore case when checking words.--ignore-repl,--dont-ignore-replโ Ignore commands to store replacement pairs.--save-repl,--dont-save-replโ Save the replacement word list on save all.--sug-mode=<mode>โ Suggestion<mode>=ultra|fast|normal|bad-spellers. pick your fighter โ๏ธ
๐ง FILTER OPTIONS ๐ง
These options modify the behavior of the various filters. filters are the little goblins that decide which parts of your file even get spell-checked ๐
--add-filter=<list>,--rem-filter=<list>โ Add or remove a filter.--add-filter-path=<paths>,--rem-filter-path=<paths>โ Add or remove paths searched for filters.--mode=<string>,-e,-H,-t,-nโ Sets the filter mode. Mode is one ofnone,url,email,html,texornroff. The alternative shortcut options are-efor email,-Hfor Html/Sgml,-tfor Tex or-nfor Nroff.--encoding=<string>โ encoding the document is expected to be in. The default depends on the current locale.--add-email-quote=<list>,--rem-email-quote=<list>โ Add or remove a list of email quote characters.--email-margin=<integer>โ Number of chars that can appear before the quote char.--add-html-check=<list>,--rem-html-check=<list>โ Add or remove a list of HTML attributes to always check. For example, look insidealt=attributes.--add-html-skip=<list>,--rem-html-skip=<list>โ Add or remove a list of HTML tags to always skip while spell checking.--add-sgml-check=<list>,--rem-sgml-check=<list>โ Add or remove a list of SGML attributes to always check for spelling.--add-sgml-skip=<list>,--rem-sgml-skip=<list>โ Add or remove a list of SGML tags to always skip while spell checking.--sgml-extension=<list>โ SGML file extensions.--tex-check-comments,--dont-tex-check-commentsโ Check TeX comments.--add-tex-command=<list>,--rem-tex-command=<list>โ Add or remove a list of TeX commands.--add-texinfo-ignore=<list>,--rem-texinfo-ignore=<list>โ Add or remove a list of Texinfo commands.--add-texinfo-ignore-env=<list>,--rem-texinfo-ignore-env=<list>โ Add or remove a list of Texinfo environments to ignore.--context-visible-first,--dont-context-visible-firstโ Switch the context which should be visible to Aspell.--add-context-delimiters=<list>,--rem-context-delimiters=<list>โ Add or remove pairs of delimiters.
๐ฆ RUN-TOGETHER WORD OPTIONS ๐ฆ
These may be used to control the behavior of run-together words. (you know, when someones types like this and the checker has to decide if that's one word or several ๐ญ)
--run-together,--dont-run-together,-C,-Bโ Consider run-together words valid.--run-together-limit=<integer>โ Maximum number of words that can be strung together.--run-together-min=<integer>โ Minimal length of interior words.
๐ MISC OPTIONS ๐
Miscellaneous options that don't fall under any other category. the little grab bag ๐
--conf=<file name>โ Main configuration file. This file overrides Aspell's global defaults.--conf-dir=<directory>โ Location of main configuration file.--data-dir=<directory>โ Location of language data files.--keyboard=<keyboard>โ Use this keyboard layout for suggesting possible words. These spelling errors happen if a user accidentally presses a key next to the intended correct key. fat-finger theory, literally โ--local-data-dir=<directory>โ Alternative location of language data files. This directory is searched beforedata-dir.--home-dir=<directory>โ Directory Location for personal wordlist files.--per-conf=<file name>โ Personal configuration file. This file overrides options found in the global config file.
โญ ASPELL UTILITY OPTIONS โญ
These options are part of the aspell Utility and work independently of the library. solo acts, main character energy, no library needed ๐
--backup,--dont-backup,-b,-xโ Theaspellutility creates a backup file by making a copy and appending.bakto file name. This only applies when the command ischeck <file>and the backup file is only created if any spelling modifications take place. so if you changed nothing, no backup โ she's efficient like that ๐--byte-offsets,--dont-byte-offsetsโ Use byte offsets instead of character offsets.--guess,--dont-guess,-m,-Pโ Create missing root/affix combinations not in the dictionary in pipe mode.--keymapping=aspell,--keymapping=ispellโ The keymapping to use, eitheraspellfor the default mapping orispellto use the same mapping that the Ispell utility uses.--reverse,--dont-reverseโ Reverse the order of the suggestions list in pipe mode.--suggest,--dont-suggestโ Suggest possible replacements in pipe mode. If false, Aspell will simply report the misspelling and make no attempt at suggestions or possible corrections. just the callout, no advice ๐ซฅ--time,--dont-timeโ Time the load time and suggest a time in pipe mode.
In addition Aspell will try to make sense out of Ispell's command line options so that it can function as a drop in replacement for Ispell. If Aspell is run without any command line options it will display a brief help screen and quit.
๐ CONFIGURATION ๐
okay so bestie, plot twist: you do not have to type all those flags every single time like some kind of feral gremlin ๐ซถ Aspell will happily read its options from config files โ one global, one just for you โ so you can set your faves once and vibe forever.
The default global config file is /etc/aspell.conf, or whatever other file you point at with --conf, and it gets checked first. โจ
The default per-user config file is ~/.aspell.conf, chillin' in your $HOME directory (or another file you name with --per-conf), and it gets checked next โ and it overrides anything the global file said. main character energy, honestly ๐
And then โ because the hierarchy is giving very much royalty โ options you set at the command line or through an environmental variable override both of the config files. so the order is basically: global < personal < command line/env. periodt. ๐
๐ how a config line actually looks
Every single line in the config file follows this format, no cap:
option [value]
where option is any one of the standard library options we listed above โ just without the leading dashes. ๐
So like, if you want the default language to be Swiss German, you'd write:
lang de_CH
โ ๏ธ and this part is important, bestie: there can be any number of spaces between the option and the value โ but it has to be spaces only. There is no '=' between the option name and the value. not one. don't do it. the parser will not be slaying for you that day ๐ญ
You can also leave yourself little notes ๐ โ comments are made by putting a '#' in front, and literally anything from that '#' all the way to the newline gets ignored. Blank lines? also totally fine, they're just โจvibingโจ.
And if you want a real-life example of how to set all this up, the /etc/aspell.conf file is a whole mood and a great reference โ plus the Aspell Manual has the detailed info if you want to go deeper. ๐ธ
๐ SEE ALSO ๐
Aspell is fully documented in its Texinfo manual ๐ โ just go look up the aspell entry in info for the complete, deluxe, director's-cut documentation. ๐
๐ซถ SUPPORT ๐ซถ
Need a hand? Support for Aspell lives on the Aspell mailing lists. ๐ฌ Instructions for joining the various mailing lists (plus an archive of them, for the historians ๐ฆ) can be found off the Aspell home page at <http://aspell.net>.
๐จ okay heads up: bug reports should go through GitHub Issues rather than being posted to the mailing lists. so if something's broken, GitHub is the move, not the list. iykyk ๐
๐ AUTHOR ๐
This manual page was written by Brian Nelson <pyro@debian.org>, based on the Aspell User's Manual, Copyright ยฉ 2002 Kevin Atkinson.
It was updated Nov 2006 by Jose Da Silva <digital@joescat.com>, and Dec 2006 by Kevin Atkinson <kevina@gnu.org>.
and that's the whole page, bestie!! ๐ that was a <rainbow>GNU</rainbow> production, dated 2006-12-10, and you were reading ASPELL(1). go forth and spell gorgeously, you absolute icon ๐
โจ๐
๐ฆ where this page comes from
- alpine 3.24: aspell-doc 0.60.8.2-r0 ยท LGPL-2.1-or-later
- arch rolling: aspell 0.60.8.3-1 ยท LGPL-2.0-or-later AND LGPL-2.1-only AND GPL-2.0-or-later AND BSD-2-Clause
- debian trixie: aspell 0.60.8.1-4 ยท LGPL-2.1-or-later
- nixos 26.05: aspell 0.60.8.2
- nixpkgs unstable: aspell 0.60.8.2
- ubuntu questing: aspell 0.60.8.1-4
- ubuntu resolute: aspell 0.60.8.2-3 ยท LGPL-2.1-or-later
- ubuntu stonking: aspell 0.60.8.2-3 ยท LGPL-2.1-or-later
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms