ENCHANT(1)

๐Ÿ“ฆ version 1.6.0, in centos-stream 9, epel 10, fedora 43, fedora 44

โœจ NAME โœจ

okay so bestie, meet Enchant โ€” she's a spellchecker ๐Ÿ’… and she is literally the moment.


๐ŸŒธ SYNOPSIS ๐ŸŒธ

enchant [-a] [-l] [-L] [-v]

๐Ÿฆ‹ DESCRIPTION ๐Ÿฆ‹

Enchant is an ispell-compatible spellchecker. that's it, that's the whole vibe. she plays nice with ispell, no cap ๐Ÿซถ

๐ŸŽ€ OPTIONS ๐ŸŽ€

  • -a โ€” list alternatives. like, show me the other options bestie ๐Ÿ’–
  • -l โ€” list only the misspellings. nothing else, just the wrong ones ๐Ÿ˜ญ
  • -L โ€” include the line number in the output. so you know exactly where it went down ๐Ÿ”ฅ
  • -v โ€” prints the program's version. gotta know what era of Enchant you're on โญ

๐Ÿ‘‘ ENCHANT ORDERING FILE ๐Ÿ‘‘

so Enchant has an ordering file called enchant.ordering, and there's a global one and a per-user one ๐ŸŒˆ it lets you specify which spelling backend gets used for individual languages, for when you genuinely care which backend shows up to the function ๐Ÿ’…

  • the global file lives in $(datadir)/enchant
  • the per-user file lives in ~/.enchant
  • the per-user file takes precedence, if found ๐Ÿ‘‘

the ordering file takes the form language_tag:<comma-separated list of spelling backends>. the backends I'm currently aware of are: aspell, myspell, ispell, uspell, hspell, voikko, and zemberek. '*' means "use this ordering for all languages, unless instructed otherwise." for example:

*:aspell,myspell,ispell
en:aspell,myspell,ispell
en_UK:myspell,aspell,ispell
fr:myspell,ispell:aspell

๐Ÿงš DIRECTORIES IMPORTANT TO ENCHANT ๐Ÿงš

unless configured otherwise, Enchant's Myspell, Ispell, and Uspell backends will look for dictionaries in directories specific to Enchant, and will not use your system-wide installed dictionaries ๐Ÿ™ˆ this is for pragmatic reasons, since many distributions install these dictionaries into different locations. messy, I know.

like the enchant.ordering file described above, Enchant looks in the global directory for these dictionaries and a per-user directory. the per-user directory takes precedence if it is found ๐Ÿ’–

  • Enchant looks for Myspell dictionaries in $(datadir)/enchant/myspell and ~/.enchant/myspell
  • Enchant looks for Ispell dictionaries in $(datadir)/enchant/ispell and ~/.enchant/ispell
  • Enchant looks for Uspell dictionaries in $(datadir)/enchant/uspell and ~/.enchant/uspell

packagers and users may wish to make symbolic links to the system-wide dictionary directories. or, preferably, use the --with-myspell-dir, --with-ispell-dir, and --with-uspell-dir 'configure' arguments ๐Ÿซถ


๐Ÿ’œ MORE INFORMATION ๐Ÿ’œ

http://www.abisource.com/enchant/


๐ŸŒŸ SEE ALSO ๐ŸŒŸ

aspell(1), ispell(1),


๐Ÿ’Œ AUTHOR ๐Ÿ’Œ

Dom Lachowicz


and that's the whole page bestie!! this was enchant from the Enchant Mini Help File, dated July 2006 โ€” yes she's vintage and she still ate ๐Ÿ’…โœจ bye love u ๐Ÿซถ๐ŸŽ€
๐Ÿ“ฆ where this page comes from