SPELLDUMP(1)

πŸ“¦ version 2.2.11, in nixos 26.05, nixpkgs unstable

πŸ’– SPELLDUMP πŸ’–

okay bestie, so spelldump is a Sphinxsearch tool and its whole thing is extracting the contents of a dictionary file. that's it. that's the job. and it slays at it ✨


🌸 SYNOPSIS 🌸

spelldump [OPTIONS] dictionary affix [result] [locale-name]

πŸ¦‹ DESCRIPTION πŸ¦‹

so like, Sphinx is a whole collection of programs that are all trying to do one gorgeous thing: give you high quality fulltext search. main character energy fr fr πŸ’…

and spelldump? it's the one that pulls the contents out of a dictionary file that's using the ispell or MySpell format. and why do we care?? because it helps you build word lists for wordforms β€” like, all of the possible forms are pre-built for you. you don't have to do it yourself. iconic behaviour honestly πŸŽ€

the two main parameters are:

  • the dictionary's main file
  • its affix file

usually these are named [language-prefix].dict and [language-prefix].aff β€” and no cap, they come with most common Linux distributions, and you can find them in various places online too. so convenient of them 🫢

then you've got the extras:

  • [result] β€” this is where the dictionary data should be output to πŸ“
  • [locale-name] β€” this additionally specifies the locale details you wish to use 🌈

examples of its usage are:

spelldump en.dict en.aff
spelldump ru.dict ru.aff ru.txt ru_RU.CP1251
spelldump ru.dict ru.aff ru.txt .1251

the results file is gonna contain a list of all the words in the dictionary, in alphabetical order, output in the format of a wordforms file β€” and then you can customise it for your specific circumstances. it's giving "starter pack but make it yours" 😌

an example of the result file:

zone > zone
zoned > zoned
zoning > zoning

see?? the vibes are immaculate πŸ’œ


✨ OPTIONS ✨

  • -c [FILE] β€” specifies a file for case conversion details. like, the file that tells it how to handle casing. lowercase, uppercase, the whole situation πŸ’…

πŸ‘‘ AUTHOR πŸ‘‘

Andrey Aksenoff (shodan@sphinxsearch.com). and this manual page is written by Alexey Vinogradov (klirichek@sphinxsearch.com).

permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 any later version published by the Free Software Foundation. so like, go off, but legally 🫢

on Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL.


πŸ”₯ SEE ALSO πŸ”₯

Sphinx and it's programs are documented fully by the Sphinx reference manual available in /usr/share/doc/sphinxsearch.


ok that's the whole page bestie, you're officially a spelldump girlie now πŸ’– no notes, periodt ✨

and for the little sign-off moment: this was 2.2.11-release, dated 07/19/2016. oldie but a goodie, and it still eats πŸŽ€πŸ¦‹πŸ’…

πŸ“¦ where this page comes from