man-pages/man3/Debian::DictionariesCommon.3pm.html
2021-03-31 01:06:50 +01:00

169 lines
3.1 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of DictionariesCommon</TITLE>
</HEAD><BODY>
<H1>DictionariesCommon</H1>
Section: (3pm)<BR>Updated: 2018-11-15<BR><A HREF="#index">Index</A>
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>
Debian::DictionariesCommon.pm - dictionaries-common library
<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>
<PRE>
use Debian::DictionariesCommon q(:all)
$dictionaries = parseinfo ('/var/lib/dictionaries-common/ispell/iwolof');
loaddb ('ispell')
updatedb ('wordlist')
</PRE>
<A NAME="lbAD">&nbsp;</A>
<H2>DESCRIPTION</H2>
Common functions for use from the dictionaries-common system.
<A NAME="lbAE">&nbsp;</A>
<H2>CALLING FUNCTIONS</H2>
<DL COMPACT>
<DT id="1">&quot;dico_checkroot&quot;<DD>
Check for rootness and fail if not.
<DT id="2">&quot;build_emacsen_support&quot;<DD>
Put info from dicts info files into emacsen-ispell-dicts.el
<DT id="3">&quot;build_jed_support&quot;<DD>
Put info from dicts info files into jed-ispell-dicts.sl
<DT id="4">&quot;build_squirrelmail_support&quot;<DD>
Build support file for squirrelmail with a list of available
dictionaries and associated spellchecker calls, in php format.
<DT id="5">&quot;$libdir = getlibdir($class)&quot;<DD>
Return info dir for given class.
<DT id="6">&quot;$default = dico_getsysdefault($class)&quot;<DD>
Return system default value for given class.
<DT id="7">&quot;$libdir = getuserdefault&quot;<DD>
Return value for user default ispell dictionary.
<DT id="8">&quot;dico_get_spellchecker_params($class,\%language)&quot;<DD>
Get right params for <TT>$class</TT> (currently unused) and <TT>$language</TT>
<DT id="9">&quot;\%dictionaries = loaddb($class)&quot;<DD>
Read class .db file and return a reference to a hash
with its contents.
<DT id="10">&quot;\%result = parseinfo($file)&quot;<DD>
Parse given info file and return a reference to a hash with
the relevant data.
<DT id="11">&quot;setsysdefault($value)&quot;<DD>
Set value for system default ispell dictionary.
<DT id="12">&quot;setuserdefault&quot;<DD>
Set value for user default ispell dictionary, after asking
to select it from the available values.
<DT id="13">&quot;updatedb($class)&quot;<DD>
Parse info files for given class and update class .db
file under dictionaries-common cache dir.
</DL>
<A NAME="lbAF">&nbsp;</A>
<H2>SEE ALSO</H2>
Debian dictionaries-common policy.
<A NAME="lbAG">&nbsp;</A>
<H2>AUTHORS</H2>
<PRE>
Rafael Laboissiere
Agustin Martin
</PRE>
<P>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="14"><A HREF="#lbAB">NAME</A><DD>
<DT id="15"><A HREF="#lbAC">SYNOPSIS</A><DD>
<DT id="16"><A HREF="#lbAD">DESCRIPTION</A><DD>
<DT id="17"><A HREF="#lbAE">CALLING FUNCTIONS</A><DD>
<DT id="18"><A HREF="#lbAF">SEE ALSO</A><DD>
<DT id="19"><A HREF="#lbAG">AUTHORS</A><DD>
</DL>
<HR>
This document was created by
<A HREF="/cgi-bin/man/man2html">man2html</A>,
using the manual pages.<BR>
Time: 00:05:38 GMT, March 31, 2021
</BODY>
</HTML>