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