WORD-LIST-COMPRESS(1)
π WORD-LIST-COMPRESS π
okay bestie, so this is the abbreviated user's manual for word-list-compress, a lil utility that lives in the Aspell family. she's a word list compressor and decompressor for GNU Aspell, and she's here to help. π
β¨ NAME β¨
word-list-compress β word list compressor/decompressor for GNU Aspell. that's the whole job description. no cap. π
πΈ SYNOPSIS πΈ
word-list-compress c[ompress] | d[ecompress]
so you literally just pick one of two modes and she goes. that's it. that's the whole vibe. π¦
π«Ά DESCRIPTION π«Ά
word-list-compress compresses or decompresses sorted word lists so they can be used with the GNU Aspell spell checker. sorted is the key word here, bestie β remember it. β¨
π COMMANDS π
-c,c,compressβ compress the plain text word list read from standard input. yes, three ways to spell the same thing, she's flexible like that. π-d,d,decompressβ decompress the compressed word list read from standard input. the reverse girly. π
π EXAMPLES π
here are a few examples of how you can use word-list-compress. these are iconic, take notes. π
word-list-compress d <wordlist.cwl >wordlist.txt
Decompress file wordlist.cwl to text file wordlist.txt π
word-list-compress c <wordlist.wl >wordlist.cwl 2>errors.txt
Compress wordlist.wl to wordlist.cwl and send any error messages to a text file named errors.txt π«Ά
LC_COLLATE=C sort -u <wordlist.txt | word-list-compress c >wordlist.cwl
Sort a word list, then pipe it to word-list-compress to create a compressed binary wordlist.cwl file. the LC_COLLATE=C is doing the heavy lifting, don't skip her. β
word-list-compress d <words.cwl | aspell create master ./words.rws
Decompress a wordlist, then pipe it to aspell(1) to create a spelling list. Please check the aspell(1) info manual for proper usage and options. fr fr, go read it. π
π§ TIPS π§
word-list-compressis best used with sorted word list type files. it's her moment, let her shine. π«- she is not a general purpose compression program β since the resulting files may actually increase in size. yeah. not me discovering my file got bigger π
word-list-compressaccepts up to 255 text characters in the range of{0x21...0xFF}.- If your word list requires a larger character set for certain languages, or longer length for multi-word, scientific, medical, technical or other use, then it is recommended that you compress your word list using
prezip-bin(1)instead. π
π DIAGNOSTICS π
word-list-compress normally exits with a return code of 0. slay. β¨
If it encounters an error, a message is sent to standard error output (stderr), and word-list-compress exits with a non-zero return value. Error messages are listed below:
(display help/usage message)β Unknown command given on the command line, soword-list-compressdisplays a usage message to standard error output. she's telling you, gently. π₯ΊCorrupt Inputβ This is only for the decompression commandd. The input file is of an unknown format or the input file/stream is corrupted. You may have some valid output, butword-list-compresscould not complete the process. If the input file is a compressed wordlist but you have no output file, then it may be a newerprezip-bin(1)version of compressed file β if so, try decompressing the file withprezip-bin(1)instead. π‘Output Data Errorβ The output is full, write protected, or has an error and can no longer be written to. she's got nowhere to put it. π
π₯ SEE ALSO π₯
aspell(1), aspell-import(1), prezip-bin(1), run-with-aspell(1)
Aspell is fully documented in its Texinfo manual. See the aspell entry in info for more complete documentation. go read the lore bestie πβ¨
π REPORTING BUGS π
For help, see the Aspell homepage at <http://aspell.net> and send bug reports/comments to the Aspell user list at the above address. they want to hear from you, i promise. π«Ά
π AUTHOR π
This manual page was written by Aaron Lehmann <aaronl@vitelus.com>, Brian Nelson <pyro@debian.org> and Jose Da Silva <digital@joescat.com>. icons, all three of them. π
and that's the whole page, bestie!! πβ¨ this one's from the GNU crew, dated 2005-09-05 β vintage but still eating. stay compressed, stay sorted, and go hydrate. mwah ππ
π¦ where this page comes from
- alpine 3.22: aspell-doc 0.60.8.1-r0 Β· LGPL-2.1-or-later
- alpine 3.23: aspell-doc 0.60.8.1-r0 Β· LGPL-2.1-or-later
- 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 bookworm: aspell 0.60.8-4+b1 Β· LGPL-2.1-or-later
- 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
- opensuse-leap 16.0: aspell 0.60.8.1-160000.2.2 Β· GFDL-1.1-or-later AND LGPL-2.1-only AND HPND AND SUSE-BSD-Mark-Modifications
- opensuse-leap 16.0: aspell 0.60.8.1-160000.2.2 Β· GFDL-1.1-or-later AND LGPL-2.1-only AND HPND AND SUSE-BSD-Mark-Modifications
- opensuse-leap 16.0: aspell 0.60.8.1-160000.2.2 Β· GFDL-1.1-or-later AND LGPL-2.1-only AND HPND AND SUSE-BSD-Mark-Modifications
- opensuse-leap 16.0: aspell 0.60.8.1-160000.2.2 Β· GFDL-1.1-or-later AND LGPL-2.1-only AND HPND AND SUSE-BSD-Mark-Modifications
- ubuntu jammy: aspell 0.60.8-4build1 Β· LGPL-2.1-or-later
- ubuntu noble: aspell 0.60.8.1-1build1 Β· LGPL-2.1-or-later
- 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