aspell-autobuildhash

Rebuild aspell dictionary hash files

TLDR

Rebuild all aspell hash files
$ sudo aspell-autobuildhash
Force a rebuild of every hash file
$ sudo aspell-autobuildhash --force
Preview what would be done without changing anything
$ sudo aspell-autobuildhash --dry-run

SYNOPSIS

aspell-autobuildhash [--force]

DESCRIPTION

aspell-autobuildhash manages the autobuilding of aspell hash files for dictionary packages. It is part of the dictionaries-common package and is normally invoked automatically by dpkg triggers after a dictionary is installed or upgraded.For each aspell dictionary configured to use it, the script decides whether the hash file must be rebuilt based on the aspell compatibility level, then regenerates the hash files used for fast spell checking.

PARAMETERS

--force

Rebuild the hash file for all dicts providing a compat file, regardless of the compatibility levels found.
--dry-run
Show what would be done, but make no actual changes.
--debug
Show extra info about the script's internal work; also enables aspell affix validation.
--triggered
Tell the script that it is running in the dpkg triggers stage.

INSTALL

sudo apt install aspell
sudo dnf install aspell
sudo pacman -S aspell
sudo apk add aspell
sudo zypper install aspell
brew install aspell
nix profile install nixpkgs#aspell

CAVEATS

Requires root privileges to write to system dictionary directories. Automatically run by package managers after dictionary installation.

HISTORY

aspell-autobuildhash is provided by the Debian dictionaries-common package, written by Agustin Martin, to automatically regenerate aspell hash files after dictionary updates.

SEE ALSO

aspell(1), aspell-import(1)

RESOURCES

Documentation