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 intoemacsen-ispell-dicts.el. feeding the emacsen their lil snack πbuild_jed_supportβ puts info from the dicts info files intojed-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, inphpformat. 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.dbfile 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.dbfile 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
- ubuntu resolute: dictionaries-common 1.31.4
- ubuntu stonking: dictionaries-common 1.31.4
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms