ASPELL(1)

๐Ÿ“ฆ
version 0.60.8.3 ยท 5 versions
, in alpine 3.24, arch rolling, debian trixie, nixos 26.05, nixpkgs unstable, ubuntu questing, ubuntu resolute, ubuntu stonking

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 the aspell entry in info for 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 in ispell -a compatibility 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 the LANG environmental 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.
  • --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 the variety option since it replaces jargon as a better choice. jargon will 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 of none, url, email, html, tex or nroff. The alternative shortcut options are -e for email, -H for Html/Sgml, -t for Tex or -n for 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 inside alt= 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 before data-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 โ€” The aspell utility creates a backup file by making a copy and appending .bak to file name. This only applies when the command is check <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, either aspell for the default mapping or ispell to 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