169 lines
3.1 KiB
HTML
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"> </A>
|
|
<H2>NAME</H2>
|
|
|
|
Debian::DictionariesCommon.pm - dictionaries-common library
|
|
<A NAME="lbAC"> </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"> </A>
|
|
<H2>DESCRIPTION</H2>
|
|
|
|
|
|
|
|
Common functions for use from the dictionaries-common system.
|
|
<A NAME="lbAE"> </A>
|
|
<H2>CALLING FUNCTIONS</H2>
|
|
|
|
|
|
|
|
<DL COMPACT>
|
|
<DT id="1">"dico_checkroot"<DD>
|
|
|
|
|
|
|
|
|
|
Check for rootness and fail if not.
|
|
<DT id="2">"build_emacsen_support"<DD>
|
|
|
|
|
|
|
|
|
|
Put info from dicts info files into emacsen-ispell-dicts.el
|
|
<DT id="3">"build_jed_support"<DD>
|
|
|
|
|
|
|
|
|
|
Put info from dicts info files into jed-ispell-dicts.sl
|
|
<DT id="4">"build_squirrelmail_support"<DD>
|
|
|
|
|
|
|
|
|
|
Build support file for squirrelmail with a list of available
|
|
dictionaries and associated spellchecker calls, in php format.
|
|
<DT id="5">"$libdir = getlibdir($class)"<DD>
|
|
|
|
|
|
|
|
|
|
Return info dir for given class.
|
|
<DT id="6">"$default = dico_getsysdefault($class)"<DD>
|
|
|
|
|
|
|
|
|
|
Return system default value for given class.
|
|
<DT id="7">"$libdir = getuserdefault"<DD>
|
|
|
|
|
|
|
|
|
|
Return value for user default ispell dictionary.
|
|
<DT id="8">"dico_get_spellchecker_params($class,\%language)"<DD>
|
|
|
|
|
|
|
|
|
|
Get right params for <TT>$class</TT> (currently unused) and <TT>$language</TT>
|
|
<DT id="9">"\%dictionaries = loaddb($class)"<DD>
|
|
|
|
|
|
|
|
|
|
Read class .db file and return a reference to a hash
|
|
with its contents.
|
|
<DT id="10">"\%result = parseinfo($file)"<DD>
|
|
|
|
|
|
|
|
|
|
Parse given info file and return a reference to a hash with
|
|
the relevant data.
|
|
<DT id="11">"setsysdefault($value)"<DD>
|
|
|
|
|
|
|
|
|
|
Set value for system default ispell dictionary.
|
|
<DT id="12">"setuserdefault"<DD>
|
|
|
|
|
|
|
|
|
|
Set value for user default ispell dictionary, after asking
|
|
to select it from the available values.
|
|
<DT id="13">"updatedb($class)"<DD>
|
|
|
|
|
|
|
|
|
|
Parse info files for given class and update class .db
|
|
file under dictionaries-common cache dir.
|
|
</DL>
|
|
<A NAME="lbAF"> </A>
|
|
<H2>SEE ALSO</H2>
|
|
|
|
|
|
|
|
Debian dictionaries-common policy.
|
|
<A NAME="lbAG"> </A>
|
|
<H2>AUTHORS</H2>
|
|
|
|
|
|
|
|
|
|
|
|
<PRE>
|
|
Rafael Laboissiere
|
|
Agustin Martin
|
|
|
|
</PRE>
|
|
|
|
|
|
<P>
|
|
|
|
<HR>
|
|
<A NAME="index"> </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>
|