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