DictionariesCommon(3pm)

πŸ’– DictionariesCommon β€” the manual page, but make it cute

okay bestie, welcome to DictionariesCommon(3pm) ✨ this is the tea on Debian::DictionariesCommon.pm, aka the dictionaries-common library. she's a Perl module, she's 3pm, and she's here to run the whole dictionary situation. let's get into it 🫢


✨ NAME ✨

Debian::DictionariesCommon.pm β€” the dictionaries-common library. that's her. that's the name. iconic behavior honestly πŸ‘‘


πŸŽ€ SYNOPSIS πŸŽ€

here's how you summon her, verbatim, no edits, no notes:

use Debian::DictionariesCommon q(:all)
$dictionaries = parseinfo ('/var/lib/dictionaries-common/ispell/iwolof');
loaddb ('ispell')
updatedb ('wordlist')

like. look at that. three little lines and suddenly you're managing dictionaries. the range πŸ˜­πŸ’…


🌸 DESCRIPTION 🌸

common functions for use from the dictionaries-common system. that's the whole vibe β€” shared helpers so all the dictionary-adjacent stuff doesn't have to reinvent the wheel every single time. periodt πŸ’–


πŸ’… CALLING FUNCTIONS πŸ’…

every single one, in order, no skips, because we don't do that here:

  • dico_checkroot β€” checks for rootness and fails if you're not root. so like, no root, no entry. sorry bestie, that's the door policy πŸ”₯
  • build_emacsen_support β€” puts info from the dicts info files into emacsen-ispell-dicts.el. feeding the emacsen their lil snack πŸ“
  • build_jed_support β€” puts info from the dicts info files into jed-ispell-dicts.sl. jed gets one too, we don't play favorites πŸŽ€
  • build_squirrelmail_support β€” builds the support file for squirrelmail, with a list of available dictionaries and the associated spellchecker calls, in php format. squirrelmail stays fed 🐿️✨
  • $libdir = getlibdir($class) β€” returns the info dir for the given class. where the info lives, basically 🏠
  • $default = dico_getsysdefault($class) β€” returns the system default value for the given class. the default-default πŸ’œ
  • $libdir = getuserdefault β€” returns the value for the user default ispell dictionary. your default, main character energy πŸ’…
  • dico_get_spellchecker_params($class,\%language) β€” gets the right params for $class (currently unused, noted, no cap) and $language. πŸ¦‹
  • \%dictionaries = loaddb($class) β€” reads the class .db file and returns a reference to a hash with its contents. hash ref, as promised 🌈
  • \%result = parseinfo($file) β€” parses the given info file and returns a reference to a hash with the relevant data. relevant data only, we're not nosy 😌
  • setsysdefault($value) β€” sets the value for the system default ispell dictionary. setting it, system-wide ⭐
  • setuserdefault β€” sets the value for the user default ispell dictionary, after asking to select it from the available values. so polite, so interactive πŸ₯Ί
  • updatedb($class) β€” parses the info files for the given class and updates the class .db file under the dictionaries-common cache dir. refresh, reorganize, slay πŸ”₯

🫢 SEE ALSO 🫢

Debian dictionaries-common policy. go read it, it's giving structure πŸ“œπŸ’–


πŸ‘‘ AUTHORS πŸ‘‘

  • Rafael Laboissiere
  • Agustin Martin

legends. both of them. bow πŸ™‡β€β™€οΈβœ¨


and that's the whole page bestie, nothing skipped, nothing fudged, every flag and function accounted for πŸ’―

version 1.31.4, dated 2026-3-22 β€” that's the footer tea, and honestly? she ate. mwah, bye πŸŽ€πŸ’–πŸ¦‹

πŸ“¦ where this page comes from