1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 |
|
---|
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">
|
---|
9 | <!ENTITY aspell-md5sum "012fa9209203ae4e5a61c2a668fd10e3">
|
---|
10 | <!ENTITY aspell-size "3.3 MB">
|
---|
11 | <!ENTITY aspell-buildsize "51 MB (Additional 8 MB for EN dictionary)">
|
---|
12 | <!ENTITY aspell-time "0.4 SBU">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="aspell" xreflabel="Aspell-&aspell-version;">
|
---|
16 | <?dbhtml filename="aspell.html"?>
|
---|
17 |
|
---|
18 | <sect1info>
|
---|
19 | <date>$Date$</date>
|
---|
20 | </sect1info>
|
---|
21 |
|
---|
22 | <title>Aspell-&aspell-version;</title>
|
---|
23 |
|
---|
24 | <indexterm zone="aspell">
|
---|
25 | <primary sortas="a-Aspell">Aspell</primary>
|
---|
26 | </indexterm>
|
---|
27 |
|
---|
28 | <sect2 role="package">
|
---|
29 | <title>Introduction to Aspell</title>
|
---|
30 |
|
---|
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>
|
---|
37 |
|
---|
38 | &lfs111_checked;
|
---|
39 |
|
---|
40 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
41 | <itemizedlist spacing="compact">
|
---|
42 | <listitem>
|
---|
43 | <para>
|
---|
44 | Download (HTTP): <ulink url="&aspell-download-http;"/>
|
---|
45 | </para>
|
---|
46 | </listitem>
|
---|
47 | <listitem>
|
---|
48 | <para>
|
---|
49 | Download (FTP): <ulink url="&aspell-download-ftp;"/>
|
---|
50 | </para>
|
---|
51 | </listitem>
|
---|
52 | <listitem>
|
---|
53 | <para>
|
---|
54 | Download MD5 sum: &aspell-md5sum;
|
---|
55 | </para>
|
---|
56 | </listitem>
|
---|
57 | <listitem>
|
---|
58 | <para>
|
---|
59 | Download size: &aspell-size;
|
---|
60 | </para>
|
---|
61 | </listitem>
|
---|
62 | <listitem>
|
---|
63 | <para>
|
---|
64 | Estimated disk space required: &aspell-buildsize;
|
---|
65 | </para>
|
---|
66 | </listitem>
|
---|
67 | <listitem>
|
---|
68 | <para>
|
---|
69 | Estimated build time: &aspell-time;
|
---|
70 | </para>
|
---|
71 | </listitem>
|
---|
72 | </itemizedlist>
|
---|
73 |
|
---|
74 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
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>
|
---|
79 |
|
---|
80 | <itemizedlist spacing="compact">
|
---|
81 | <listitem>
|
---|
82 | <para>
|
---|
83 | Aspell dictionaries: <ulink url="&gnu-http;/aspell/dict"/>
|
---|
84 | </para>
|
---|
85 | </listitem>
|
---|
86 | </itemizedlist>
|
---|
87 |
|
---|
88 | <bridgehead renderas="sect3">Aspell Dependencies</bridgehead>
|
---|
89 |
|
---|
90 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
91 | <para role="required">
|
---|
92 | <xref linkend="which"/> (for the dictionaries)
|
---|
93 | </para>
|
---|
94 |
|
---|
95 | <para condition="html" role="usernotes">
|
---|
96 | User Notes: <ulink url="&blfs-wiki;/aspell"/>
|
---|
97 | </para>
|
---|
98 | </sect2>
|
---|
99 |
|
---|
100 | <sect2 role="installation">
|
---|
101 | <title>Installation of Aspell</title>
|
---|
102 |
|
---|
103 | <para>
|
---|
104 | Install <application>Aspell</application> by running the following
|
---|
105 | commands:
|
---|
106 | </para>
|
---|
107 |
|
---|
108 | <screen><userinput>./configure --prefix=/usr &&
|
---|
109 | make</userinput></screen>
|
---|
110 |
|
---|
111 | <para>
|
---|
112 | This package does not come with a test suite.
|
---|
113 | </para>
|
---|
114 |
|
---|
115 | <para>
|
---|
116 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
117 | </para>
|
---|
118 |
|
---|
119 | <screen role="root"><userinput>make install &&
|
---|
120 | ln -svfn aspell-0.60 /usr/lib/aspell &&
|
---|
121 |
|
---|
122 | install -v -m755 -d /usr/share/doc/aspell-&aspell-version;/aspell{,-dev}.html &&
|
---|
123 |
|
---|
124 | install -v -m644 manual/aspell.html/* \
|
---|
125 | /usr/share/doc/aspell-&aspell-version;/aspell.html &&
|
---|
126 |
|
---|
127 | install -v -m644 manual/aspell-dev.html/* \
|
---|
128 | /usr/share/doc/aspell-&aspell-version;/aspell-dev.html</userinput></screen>
|
---|
129 |
|
---|
130 | <para>
|
---|
131 | If you do not plan to install <application>Ispell</application>, then copy
|
---|
132 | the wrapper script <command>ispell</command>:
|
---|
133 | </para>
|
---|
134 |
|
---|
135 | <screen role="root"><userinput>install -v -m 755 scripts/ispell /usr/bin/</userinput></screen>
|
---|
136 |
|
---|
137 | <para>
|
---|
138 | If you do not plan to install <application>Spell</application>, then copy
|
---|
139 | the wrapper script <command>spell</command>:
|
---|
140 | </para>
|
---|
141 |
|
---|
142 | <screen role="root"><userinput>install -v -m 755 scripts/spell /usr/bin/</userinput></screen>
|
---|
143 | </sect2>
|
---|
144 |
|
---|
145 | <sect2 role="commands">
|
---|
146 | <title>Command Explanations</title>
|
---|
147 |
|
---|
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 | -->
|
---|
155 | <para>
|
---|
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"/>.
|
---|
159 | </para>
|
---|
160 | </sect2>
|
---|
161 |
|
---|
162 | <sect2 role="configuration">
|
---|
163 | <title>Configuring Aspell</title>
|
---|
164 |
|
---|
165 | <sect3>
|
---|
166 | <title>Configuration Information</title>
|
---|
167 |
|
---|
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>
|
---|
173 |
|
---|
174 | <screen><userinput>./configure &&
|
---|
175 | make</userinput></screen>
|
---|
176 |
|
---|
177 | <para>
|
---|
178 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
179 | </para>
|
---|
180 |
|
---|
181 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
182 | </sect3>
|
---|
183 | </sect2>
|
---|
184 |
|
---|
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>
|
---|
192 |
|
---|
193 | <seglistitem>
|
---|
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>
|
---|
199 | <seg>libaspell.so and libpspell.so</seg>
|
---|
200 | <seg>/usr/include/pspell and /usr/lib/aspell-0.60</seg>
|
---|
201 | </seglistitem>
|
---|
202 | </segmentedlist>
|
---|
203 |
|
---|
204 | <variablelist>
|
---|
205 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
206 | <?dbfo list-presentation="list"?>
|
---|
207 | <?dbhtml list-presentation="table"?>
|
---|
208 |
|
---|
209 | <varlistentry id="aspell-prog">
|
---|
210 | <term><command>aspell</command></term>
|
---|
211 | <listitem>
|
---|
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
|
---|
216 | utility for managing dictionaries
|
---|
217 | </para>
|
---|
218 | <indexterm zone="aspell aspell-prog">
|
---|
219 | <primary sortas="b-aspell">aspell</primary>
|
---|
220 | </indexterm>
|
---|
221 | </listitem>
|
---|
222 | </varlistentry>
|
---|
223 |
|
---|
224 | <varlistentry id="aspell-ispell">
|
---|
225 | <term><command>ispell</command></term>
|
---|
226 | <listitem>
|
---|
227 | <para>
|
---|
228 | is a wrapper around <command>aspell</command> to invoke it in
|
---|
229 | <command>ispell</command> compatible mode
|
---|
230 | </para>
|
---|
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>
|
---|
240 | <para>
|
---|
241 | is a wrapper around <command>aspell</command> to invoke it in
|
---|
242 | <command>spell</command> compatible mode
|
---|
243 | </para>
|
---|
244 | <indexterm zone="aspell aspell-spell">
|
---|
245 | <primary sortas="b-spell">spell</primary>
|
---|
246 | </indexterm>
|
---|
247 | </listitem>
|
---|
248 | </varlistentry>
|
---|
249 |
|
---|
250 | <varlistentry id="aspell-import">
|
---|
251 | <term><command>aspell-import</command></term>
|
---|
252 | <listitem>
|
---|
253 | <para>
|
---|
254 | imports old personal dictionaries into
|
---|
255 | <application>Aspell</application>
|
---|
256 | </para>
|
---|
257 | <indexterm zone="aspell aspell-import">
|
---|
258 | <primary sortas="b-aspell-import">aspell-import</primary>
|
---|
259 | </indexterm>
|
---|
260 | </listitem>
|
---|
261 | </varlistentry>
|
---|
262 |
|
---|
263 | <varlistentry id="precat">
|
---|
264 | <term><command>precat</command></term>
|
---|
265 | <listitem>
|
---|
266 | <para>
|
---|
267 | decompresses a <command>prezip</command>ped file to stdout
|
---|
268 | </para>
|
---|
269 | <indexterm zone="aspell precat">
|
---|
270 | <primary sortas="b-precat">precat</primary>
|
---|
271 | </indexterm>
|
---|
272 | </listitem>
|
---|
273 | </varlistentry>
|
---|
274 |
|
---|
275 | <varlistentry id="preunzip">
|
---|
276 | <term><command>preunzip</command></term>
|
---|
277 | <listitem>
|
---|
278 | <para>
|
---|
279 | decompresses a <command>prezip</command>ped file
|
---|
280 | </para>
|
---|
281 | <indexterm zone="aspell preunzip">
|
---|
282 | <primary sortas="b-preunzip">preunzip</primary>
|
---|
283 | </indexterm>
|
---|
284 | </listitem>
|
---|
285 | </varlistentry>
|
---|
286 |
|
---|
287 | <varlistentry id="prezip">
|
---|
288 | <term><command>prezip</command></term>
|
---|
289 | <listitem>
|
---|
290 | <para>
|
---|
291 | is a prefix delta compressor, used to compress sorted word lists or
|
---|
292 | other similar text files
|
---|
293 | </para>
|
---|
294 | <indexterm zone="aspell prezip">
|
---|
295 | <primary sortas="b-prezip">prezip</primary>
|
---|
296 | </indexterm>
|
---|
297 | </listitem>
|
---|
298 | </varlistentry>
|
---|
299 |
|
---|
300 | <varlistentry id="prezip-bin">
|
---|
301 | <term><command>prezip-bin</command></term>
|
---|
302 | <listitem>
|
---|
303 | <para>
|
---|
304 | is called by the various wrapper scripts to perform the actual
|
---|
305 | compressing and decompressing
|
---|
306 | </para>
|
---|
307 | <indexterm zone="aspell prezip-bin">
|
---|
308 | <primary sortas="b-prezip-bin">prezip-bin</primary>
|
---|
309 | </indexterm>
|
---|
310 | </listitem>
|
---|
311 | </varlistentry>
|
---|
312 |
|
---|
313 | <varlistentry id="pspell-config">
|
---|
314 | <term><command>pspell-config</command></term>
|
---|
315 | <listitem>
|
---|
316 | <para>
|
---|
317 | displays information about the
|
---|
318 | <filename class="libraryfile">libpspell</filename> installation,
|
---|
319 | mostly for use in build scripts
|
---|
320 | </para>
|
---|
321 | <indexterm zone="aspell pspell-config">
|
---|
322 | <primary sortas="b-pspell-config">pspell-config</primary>
|
---|
323 | </indexterm>
|
---|
324 | </listitem>
|
---|
325 | </varlistentry>
|
---|
326 |
|
---|
327 | <varlistentry id="run-with-aspell">
|
---|
328 | <term><command>run-with-aspell</command></term>
|
---|
329 | <listitem>
|
---|
330 | <para>
|
---|
331 | is a script to help use <application>Aspell</application> as an
|
---|
332 | <command>ispell</command> replacement
|
---|
333 | </para>
|
---|
334 | <indexterm zone="aspell run-with-aspell">
|
---|
335 | <primary sortas="b-run-with-aspell">run-with-aspell</primary>
|
---|
336 | </indexterm>
|
---|
337 | </listitem>
|
---|
338 | </varlistentry>
|
---|
339 |
|
---|
340 | <varlistentry id="word-list-compress">
|
---|
341 | <term><command>word-list-compress</command></term>
|
---|
342 | <listitem>
|
---|
343 | <para>
|
---|
344 | compresses or decompresses sorted word lists for use with the
|
---|
345 | <application>Aspell</application> spell checker
|
---|
346 | </para>
|
---|
347 | <indexterm zone="aspell word-list-compress">
|
---|
348 | <primary sortas="b-word-list-compress">word-list-compress</primary>
|
---|
349 | </indexterm>
|
---|
350 | </listitem>
|
---|
351 | </varlistentry>
|
---|
352 |
|
---|
353 | <varlistentry id="libaspell">
|
---|
354 | <term><filename class="libraryfile">libaspell.so</filename></term>
|
---|
355 | <listitem>
|
---|
356 | <para>
|
---|
357 | contains spell checking API functions
|
---|
358 | </para>
|
---|
359 | <indexterm zone="aspell libaspell">
|
---|
360 | <primary sortas="c-libaspell">libaspell.so</primary>
|
---|
361 | </indexterm>
|
---|
362 | </listitem>
|
---|
363 | </varlistentry>
|
---|
364 |
|
---|
365 | <varlistentry id="libpspell">
|
---|
366 | <term><filename class="libraryfile">libpspell.so</filename></term>
|
---|
367 | <listitem>
|
---|
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
|
---|
373 | is included for backward compatibility
|
---|
374 | </para>
|
---|
375 | <indexterm zone="aspell libpspell">
|
---|
376 | <primary sortas="c-libpspell">libpspell.so</primary>
|
---|
377 | </indexterm>
|
---|
378 | </listitem>
|
---|
379 | </varlistentry>
|
---|
380 | </variablelist>
|
---|
381 | </sect2>
|
---|
382 |
|
---|
383 | </sect1>
|
---|