[52d29f7] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[6732c094] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[52d29f7] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[60867ce] | 7 | <!ENTITY aspell-download-http "http://ftp.gnu.org/gnu/aspell/aspell-&aspell-version;.tar.gz">
|
---|
[b280fcc] | 8 | <!ENTITY aspell-download-ftp "ftp://ftp.gnu.org/gnu/aspell/aspell-&aspell-version;.tar.gz">
|
---|
[cbc7ebe3] | 9 | <!ENTITY aspell-md5sum "bc80f0198773d5c05086522be67334eb">
|
---|
[615db3f] | 10 | <!ENTITY aspell-size "1.7 MB">
|
---|
[cbc7ebe3] | 11 | <!ENTITY aspell-buildsize "34 MB (Additional 8 MB for EN dictionary)">
|
---|
| 12 | <!ENTITY aspell-time "0.6 SBU">
|
---|
[52d29f7] | 13 | ]>
|
---|
| 14 |
|
---|
[7b6e8a6] | 15 | <sect1 id="aspell" xreflabel="Aspell-&aspell-version;">
|
---|
[b280fcc] | 16 | <?dbhtml filename="aspell.html"?>
|
---|
[4e82a189] | 17 |
|
---|
[b280fcc] | 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
[4e82a189] | 22 |
|
---|
[b280fcc] | 23 | <title>Aspell-&aspell-version;</title>
|
---|
[4e82a189] | 24 |
|
---|
[b280fcc] | 25 | <indexterm zone="aspell">
|
---|
| 26 | <primary sortas="a-Aspell">Aspell</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
[4e82a189] | 29 | <sect2 role="package">
|
---|
[b280fcc] | 30 | <title>Introduction to Aspell</title>
|
---|
[4e82a189] | 31 |
|
---|
| 32 | <para>The <application>Aspell</application> package contains an interactive
|
---|
[b280fcc] | 33 | spell checking program and the <application>Aspell</application> libraries.
|
---|
| 34 | <application>Aspell</application> can either be used as a library or as an
|
---|
| 35 | independent spell checker.</para>
|
---|
[4e82a189] | 36 |
|
---|
[fd91fea] | 37 | &lfs65_checked;
|
---|
| 38 |
|
---|
[b280fcc] | 39 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 40 | <itemizedlist spacing="compact">
|
---|
| 41 | <listitem>
|
---|
| 42 | <para>Download (HTTP): <ulink url="&aspell-download-http;"/></para>
|
---|
| 43 | </listitem>
|
---|
| 44 | <listitem>
|
---|
| 45 | <para>Download (FTP): <ulink url="&aspell-download-ftp;"/></para>
|
---|
| 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
| 48 | <para>Download MD5 sum: &aspell-md5sum;</para>
|
---|
| 49 | </listitem>
|
---|
| 50 | <listitem>
|
---|
| 51 | <para>Download size: &aspell-size;</para>
|
---|
| 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
| 54 | <para>Estimated disk space required: &aspell-buildsize;</para>
|
---|
| 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
| 57 | <para>Estimated build time: &aspell-time;</para>
|
---|
| 58 | </listitem>
|
---|
| 59 | </itemizedlist>
|
---|
[4e82a189] | 60 |
|
---|
[b280fcc] | 61 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
[4e82a189] | 62 | <para>You'll need to download at least one dictionary. The link below will take
|
---|
[b280fcc] | 63 | you to a page containing links to dictionaries in many languages.</para>
|
---|
[4e82a189] | 64 |
|
---|
[b280fcc] | 65 | <itemizedlist spacing='compact'>
|
---|
| 66 | <listitem>
|
---|
[4e82a189] | 67 | <para>Aspell dictionaries: <ulink
|
---|
[b280fcc] | 68 | url="ftp://ftp.gnu.org/gnu/aspell/dict"/></para>
|
---|
| 69 | </listitem>
|
---|
| 70 | </itemizedlist>
|
---|
[4e82a189] | 71 |
|
---|
[cbc7ebe3] | 72 | <!--<bridgehead renderas="sect3">Aspell Dependencies</bridgehead>
|
---|
[4e82a189] | 73 |
|
---|
[b280fcc] | 74 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[cbc7ebe3] | 75 | <para role="required"><xref linkend="which"/></para>-->
|
---|
[4e82a189] | 76 |
|
---|
[615db3f] | 77 | <!-- <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 78 | <para role="optional"><xref linkend="tetex"/></para> -->
|
---|
[28bfba0] | 79 |
|
---|
[1039de3] | 80 | <para condition="html" role="usernotes">User Notes:
|
---|
| 81 | <ulink url="&blfs-wiki;/aspell"/></para>
|
---|
| 82 |
|
---|
[b280fcc] | 83 | </sect2>
|
---|
[4e82a189] | 84 |
|
---|
[b280fcc] | 85 | <sect2 role="installation">
|
---|
| 86 | <title>Installation of Aspell</title>
|
---|
| 87 |
|
---|
[4e82a189] | 88 | <para>Install <application>Aspell</application> by running the following
|
---|
[b280fcc] | 89 | commands:</para>
|
---|
| 90 |
|
---|
| 91 | <screen><userinput>./configure --prefix=/usr &&
|
---|
| 92 | make</userinput></screen>
|
---|
[4e82a189] | 93 |
|
---|
[615db3f] | 94 | <!-- <para>Pre-built HTML documentation is included in the package. If you have
|
---|
[520f6b4f] | 95 | <application>teTeX</application> installed and you wish to build additional
|
---|
[28bfba0] | 96 | formats of the documentation, issue any or all of the following
|
---|
| 97 | commands:</para>
|
---|
| 98 |
|
---|
| 99 | <screen><userinput>make -C manual pdf &&
|
---|
| 100 | make -C manual pdf &&
|
---|
| 101 | make -C manual ps &&
|
---|
| 102 | cd manual &&
|
---|
[615db3f] | 103 | makeinfo -plaintext -o aspell.txt aspell.texi &&
|
---|
| 104 | makeinfo -plaintext -o aspell-dev.txt aspell-dev.texi &&
|
---|
| 105 | cd ..</userinput></screen> -->
|
---|
[28bfba0] | 106 |
|
---|
| 107 | <para>This package does not come with a test suite.</para>
|
---|
| 108 |
|
---|
[b280fcc] | 109 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
[4e82a189] | 110 |
|
---|
[28bfba0] | 111 | <screen role="root"><userinput>make install &&
|
---|
| 112 | install -v -m755 -d /usr/share/doc/aspell-&aspell-version;/aspell{,-dev}.html &&
|
---|
| 113 | install -v -m644 manual/aspell.html/* \
|
---|
| 114 | /usr/share/doc/aspell-&aspell-version;/aspell.html &&
|
---|
| 115 | install -v -m644 manual/aspell-dev.html/* \
|
---|
| 116 | /usr/share/doc/aspell-&aspell-version;/aspell-dev.html</userinput></screen>
|
---|
| 117 |
|
---|
[615db3f] | 118 | <!-- <para>If you built additional formats of the documentation, install them
|
---|
[28bfba0] | 119 | by issuing the following command as the
|
---|
| 120 | <systemitem class="username">root</systemitem> user:</para>
|
---|
| 121 |
|
---|
| 122 | <screen role="root"><userinput>install -v -m644 manual/aspell{,-dev}.{ps,pdf,dvi,txt} \
|
---|
[615db3f] | 123 | /usr/share/doc/aspell-&aspell-version;</userinput></screen> -->
|
---|
[4e82a189] | 124 |
|
---|
[4f26c54] | 125 | <para>If you do not plan to install <application>Ispell</application>,
|
---|
| 126 | then copy the wrapper script <command>ispell</command>:</para>
|
---|
[f14dde87] | 127 |
|
---|
[60b430f] | 128 | <screen role="root"><userinput>install -v -m 755 scripts/ispell /usr/bin/</userinput></screen>
|
---|
[f14dde87] | 129 |
|
---|
[4f26c54] | 130 | <para>If you do not plan to install <application>Spell</application>,
|
---|
| 131 | then copy the wrapper script <command>spell</command>:</para>
|
---|
[f14dde87] | 132 |
|
---|
[60b430f] | 133 | <screen role="root"><userinput>install -v -m 755 scripts/spell /usr/bin/</userinput></screen>
|
---|
[f14dde87] | 134 |
|
---|
[28bfba0] | 135 | </sect2>
|
---|
| 136 |
|
---|
[615db3f] | 137 | <!-- <sect2 role="commands">
|
---|
[28bfba0] | 138 | <title>Command Explanations</title>
|
---|
[6473e74] | 139 |
|
---|
[28bfba0] | 140 | <para><command>make -C manual pdf</command>: This command is listed twice
|
---|
| 141 | as the first time it runs it will display an error and abort, although it
|
---|
| 142 | creates the requested file. Running the command again ensures the other
|
---|
| 143 | file is also created.</para>
|
---|
| 144 |
|
---|
[615db3f] | 145 | </sect2> -->
|
---|
[b280fcc] | 146 |
|
---|
| 147 | <sect2 role="configuration">
|
---|
| 148 | <title>Configuring Aspell</title>
|
---|
[4e82a189] | 149 |
|
---|
[b280fcc] | 150 | <sect3>
|
---|
| 151 | <title>Configuration Information</title>
|
---|
[4e82a189] | 152 |
|
---|
[28bfba0] | 153 | <para>After <application>Aspell</application> is installed, you must set
|
---|
| 154 | up at least one dictionary. Install one or more dictionaries by running
|
---|
| 155 | the following commands:</para>
|
---|
[4e82a189] | 156 |
|
---|
[b280fcc] | 157 | <screen><userinput>./configure &&
|
---|
| 158 | make</userinput></screen>
|
---|
[4e82a189] | 159 |
|
---|
[b280fcc] | 160 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
[4e82a189] | 161 |
|
---|
[b280fcc] | 162 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[4e82a189] | 163 |
|
---|
[b280fcc] | 164 | </sect3>
|
---|
[4e82a189] | 165 |
|
---|
[b280fcc] | 166 | </sect2>
|
---|
[4e82a189] | 167 |
|
---|
[b280fcc] | 168 | <sect2 role="content">
|
---|
| 169 | <title>Contents</title>
|
---|
| 170 |
|
---|
| 171 | <segmentedlist>
|
---|
| 172 | <segtitle>Installed Programs</segtitle>
|
---|
| 173 | <segtitle>Installed Libraries</segtitle>
|
---|
| 174 | <segtitle>Installed Directories</segtitle>
|
---|
[4e82a189] | 175 |
|
---|
[b280fcc] | 176 | <seglistitem>
|
---|
[60b430f] | 177 | <seg>aspell, aspell-import, precat, preunzip, prezip, prezip-bin,
|
---|
| 178 | pspell-config, run-with-aspell, word-list-compress and optionally,
|
---|
| 179 | ispell and spell</seg>
|
---|
[b280fcc] | 180 | <seg>libaspell.so and libpspell.so</seg>
|
---|
| 181 | <seg>/usr/include/pspell and /usr/lib/aspell-0.60</seg>
|
---|
| 182 | </seglistitem>
|
---|
| 183 | </segmentedlist>
|
---|
[4e82a189] | 184 |
|
---|
[b280fcc] | 185 | <variablelist>
|
---|
| 186 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 187 | <?dbfo list-presentation="list"?>
|
---|
| 188 | <?dbhtml list-presentation="table"?>
|
---|
[4e82a189] | 189 |
|
---|
[b280fcc] | 190 | <varlistentry id="aspell-prog">
|
---|
| 191 | <term><command>aspell</command></term>
|
---|
| 192 | <listitem>
|
---|
[4e82a189] | 193 | <para>is a utility that can function as an
|
---|
[28bfba0] | 194 | <command>ispell -a</command> replacement, as an independent spell
|
---|
| 195 | checker, as a test utility to test out
|
---|
| 196 | <application>Aspell</application> features, and as
|
---|
[b280fcc] | 197 | a utility for managing dictionaries.</para>
|
---|
| 198 | <indexterm zone="aspell aspell-prog">
|
---|
| 199 | <primary sortas="b-aspell">aspell</primary>
|
---|
| 200 | </indexterm>
|
---|
| 201 | </listitem>
|
---|
| 202 | </varlistentry>
|
---|
[4e82a189] | 203 |
|
---|
[0e726f8] | 204 | <varlistentry id="aspell-ispell">
|
---|
| 205 | <term><command>ispell</command></term>
|
---|
| 206 | <listitem>
|
---|
| 207 | <para>is a wrapper around <command>aspell</command> to invoke it in
|
---|
| 208 | <command>ispell</command> compatible mode.</para>
|
---|
| 209 | <indexterm zone="aspell aspell-ispell">
|
---|
| 210 | <primary sortas="b-ispell">ispell</primary>
|
---|
| 211 | </indexterm>
|
---|
| 212 | </listitem>
|
---|
| 213 | </varlistentry>
|
---|
| 214 |
|
---|
| 215 | <varlistentry id="aspell-spell">
|
---|
| 216 | <term><command>spell</command></term>
|
---|
| 217 | <listitem>
|
---|
| 218 | <para>is a wrapper around <command>aspell</command> to invoke it in
|
---|
| 219 | <command>spell</command> compatible mode.</para>
|
---|
| 220 | <indexterm zone="aspell aspell-spell">
|
---|
| 221 | <primary sortas="b-spell">spell</primary>
|
---|
| 222 | </indexterm>
|
---|
| 223 | </listitem>
|
---|
| 224 | </varlistentry>
|
---|
| 225 |
|
---|
[b280fcc] | 226 | <varlistentry id="aspell-import">
|
---|
| 227 | <term><command>aspell-import</command></term>
|
---|
| 228 | <listitem>
|
---|
| 229 | <para>imports old personal dictionaries into
|
---|
| 230 | <application>Aspell</application>.</para>
|
---|
| 231 | <indexterm zone="aspell aspell-import">
|
---|
| 232 | <primary sortas="b-aspell-import">aspell-import</primary>
|
---|
| 233 | </indexterm>
|
---|
| 234 | </listitem>
|
---|
| 235 | </varlistentry>
|
---|
[4e82a189] | 236 |
|
---|
[b280fcc] | 237 | <varlistentry id="precat">
|
---|
| 238 | <term><command>precat</command></term>
|
---|
| 239 | <listitem>
|
---|
[4e82a189] | 240 | <para>decompresses a <command>prezip</command>ped file to
|
---|
[b280fcc] | 241 | stdout.</para>
|
---|
| 242 | <indexterm zone="aspell precat">
|
---|
| 243 | <primary sortas="b-precat">precat</primary>
|
---|
| 244 | </indexterm>
|
---|
| 245 | </listitem>
|
---|
| 246 | </varlistentry>
|
---|
[4e82a189] | 247 |
|
---|
[b280fcc] | 248 | <varlistentry id="preunzip">
|
---|
| 249 | <term><command>preunzip</command></term>
|
---|
| 250 | <listitem>
|
---|
| 251 | <para>decompresses a <command>prezip</command>ped file.</para>
|
---|
| 252 | <indexterm zone="aspell preunzip">
|
---|
| 253 | <primary sortas="b-preunzip">preunzip</primary>
|
---|
| 254 | </indexterm>
|
---|
| 255 | </listitem>
|
---|
| 256 | </varlistentry>
|
---|
[4e82a189] | 257 |
|
---|
[b280fcc] | 258 | <varlistentry id="prezip">
|
---|
| 259 | <term><command>prezip</command></term>
|
---|
| 260 | <listitem>
|
---|
[4e82a189] | 261 | <para>is a prefix delta compressor, used to compress sorted word
|
---|
[b280fcc] | 262 | lists or other similar text files.</para>
|
---|
| 263 | <indexterm zone="aspell prezip">
|
---|
| 264 | <primary sortas="b-prezip">prezip</primary>
|
---|
| 265 | </indexterm>
|
---|
| 266 | </listitem>
|
---|
| 267 | </varlistentry>
|
---|
[4e82a189] | 268 |
|
---|
[b280fcc] | 269 | <varlistentry id="prezip-bin">
|
---|
| 270 | <term><command>prezip-bin</command></term>
|
---|
| 271 | <listitem>
|
---|
[4e82a189] | 272 | <para>is called by the various wrapper scripts to perform the
|
---|
[b280fcc] | 273 | actual compressing and decompressing.</para>
|
---|
| 274 | <indexterm zone="aspell prezip-bin">
|
---|
| 275 | <primary sortas="b-prezip-bin">prezip-bin</primary>
|
---|
| 276 | </indexterm>
|
---|
| 277 | </listitem>
|
---|
| 278 | </varlistentry>
|
---|
[4e82a189] | 279 |
|
---|
[b280fcc] | 280 | <varlistentry id="pspell-config">
|
---|
| 281 | <term><command>pspell-config</command></term>
|
---|
| 282 | <listitem>
|
---|
[4e82a189] | 283 | <para>displays information about the
|
---|
[28bfba0] | 284 | <filename class='libraryfile'>libpspell</filename> installation,
|
---|
| 285 | mostly for use in build scripts.</para>
|
---|
[b280fcc] | 286 | <indexterm zone="aspell pspell-config">
|
---|
| 287 | <primary sortas="b-pspell-config">pspell-config</primary>
|
---|
| 288 | </indexterm>
|
---|
| 289 | </listitem>
|
---|
| 290 | </varlistentry>
|
---|
[4e82a189] | 291 |
|
---|
[b280fcc] | 292 | <varlistentry id="run-with-aspell">
|
---|
| 293 | <term><command>run-with-aspell</command></term>
|
---|
| 294 | <listitem>
|
---|
[4e82a189] | 295 | <para>is a script to help use <application>Aspell</application>
|
---|
[b280fcc] | 296 | as an <command>ispell</command> replacement.</para>
|
---|
| 297 | <indexterm zone="aspell run-with-aspell">
|
---|
| 298 | <primary sortas="b-run-with-aspell">run-with-aspell</primary>
|
---|
| 299 | </indexterm>
|
---|
| 300 | </listitem>
|
---|
| 301 | </varlistentry>
|
---|
[4e82a189] | 302 |
|
---|
[b280fcc] | 303 | <varlistentry id="word-list-compress">
|
---|
| 304 | <term><command>word-list-compress</command></term>
|
---|
| 305 | <listitem>
|
---|
[4e82a189] | 306 | <para>compresses or decompresses sorted word lists for use with the
|
---|
[b280fcc] | 307 | <application>Aspell</application> spell checker.</para>
|
---|
| 308 | <indexterm zone="aspell word-list-compress">
|
---|
| 309 | <primary sortas="b-word-list-compress">word-list-compress</primary>
|
---|
| 310 | </indexterm>
|
---|
| 311 | </listitem>
|
---|
| 312 | </varlistentry>
|
---|
[4e82a189] | 313 |
|
---|
[b280fcc] | 314 | <varlistentry id="libaspell">
|
---|
| 315 | <term><filename class='libraryfile'>libaspell.so</filename></term>
|
---|
| 316 | <listitem>
|
---|
| 317 | <para>contains spell checking API functions.</para>
|
---|
| 318 | <indexterm zone="aspell libaspell">
|
---|
| 319 | <primary sortas="c-lib">libaspell.so</primary>
|
---|
| 320 | </indexterm>
|
---|
| 321 | </listitem>
|
---|
| 322 | </varlistentry>
|
---|
[4e82a189] | 323 |
|
---|
[b280fcc] | 324 | <varlistentry id="libpspell">
|
---|
| 325 | <term><filename class='libraryfile'>libpspell.so</filename></term>
|
---|
| 326 | <listitem>
|
---|
[4e82a189] | 327 | <para>is an interface to the
|
---|
[28bfba0] | 328 | <filename class='libraryfile'>libaspell</filename> library. All the
|
---|
| 329 | spell checking functionality is now in
|
---|
| 330 | <filename class='libraryfile'>libaspell</filename> but this library
|
---|
| 331 | is included for backward compatibility.</para>
|
---|
[b280fcc] | 332 | <indexterm zone="aspell libpspell">
|
---|
| 333 | <primary sortas="c-libpspell">libpspell.so</primary>
|
---|
| 334 | </indexterm>
|
---|
| 335 | </listitem>
|
---|
| 336 | </varlistentry>
|
---|
[4e82a189] | 337 |
|
---|
[b280fcc] | 338 | </variablelist>
|
---|
| 339 |
|
---|
| 340 | </sect2>
|
---|
[368512b3] | 341 |
|
---|
| 342 | </sect1>
|
---|