Difference between revisions of "Aspell"
From CBLFS
Jump to navigationJump to search (I added the "Contents" section from BLFS.) |
|||
(14 intermediate revisions by 7 users not shown) | |||
Line 2: | Line 2: | ||
|- | |- | ||
!Download Source: | !Download Source: | ||
− | | http://ftp.gnu.org/gnu/aspell/aspell- | + | | http://ftp.gnu.org/gnu/aspell/aspell-{{Aspell-Version}}.tar.gz |
− | |||
− | |||
− | |||
|- | |- | ||
!Download Dictionary: | !Download Dictionary: | ||
Line 12: | Line 9: | ||
---- | ---- | ||
+ | {{Package-Introduction|This package checks text for spelling errors; according to the project's site "Aspell is a Free and Open Source spell checker designed to eventually replace Ispell. It can either be used as a library or as an independent spell checker. Its main feature is that it does a superior job of suggesting possible replacements for a misspelled word than just about any other spell checker out there for the English language"|http://aspell.net/}} | ||
− | |||
− | |||
− | |||
== Dependencies == | == Dependencies == | ||
Line 28: | Line 23: | ||
Compile the package: | Compile the package: | ||
− | |||
./configure --prefix=/usr \ | ./configure --prefix=/usr \ | ||
--enable-{pkgdatadir,dict-dir}=/usr/share/aspell && | --enable-{pkgdatadir,dict-dir}=/usr/share/aspell && | ||
Line 43: | Line 37: | ||
Compile the package: | Compile the package: | ||
− | |||
CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" ./configure --prefix=/usr \ | CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" ./configure --prefix=/usr \ | ||
--enable-{pkgdatadir,dict-dir}=/usr/share/aspell && | --enable-{pkgdatadir,dict-dir}=/usr/share/aspell && | ||
Line 57: | Line 50: | ||
Compile the package: | Compile the package: | ||
− | |||
CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" ./configure --prefix=/usr --libdir=/usr/lib32 \ | CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" ./configure --prefix=/usr --libdir=/usr/lib32 \ | ||
--enable-{pkgdatadir,dict-dir}=/usr/share/aspell && | --enable-{pkgdatadir,dict-dir}=/usr/share/aspell && | ||
Line 71: | Line 63: | ||
Compile the package: | Compile the package: | ||
− | |||
CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" ./configure --prefix=/usr --libdir=/usr/lib64 \ | CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" ./configure --prefix=/usr --libdir=/usr/lib64 \ | ||
--enable-{pkgdatadir,dict-dir}=/usr/share/aspell && | --enable-{pkgdatadir,dict-dir}=/usr/share/aspell && | ||
Line 96: | Line 87: | ||
{| style="text-align: left;" | {| style="text-align: left;" | ||
− | |- | + | |-valign="top" |
! Installed Programs: | ! Installed Programs: | ||
| aspell, aspell-import, precat, preunzip, prezip, prezip-bin, pspell-config, run-with-aspell, word-list-compress and optionally, ispell and spell | | aspell, aspell-import, precat, preunzip, prezip, prezip-bin, pspell-config, run-with-aspell, word-list-compress and optionally, ispell and spell | ||
− | |- | + | |-valign="top" |
! Installed Libraries: | ! Installed Libraries: | ||
| libaspell.so and libpspell.so | | libaspell.so and libpspell.so | ||
− | |- | + | |-valign="top" |
! Installed Directory: | ! Installed Directory: | ||
| /usr/include/pspell and /usr/lib/aspell-0.60 | | /usr/include/pspell and /usr/lib/aspell-0.60 | ||
Line 110: | Line 101: | ||
{| style="text-align: left;" | {| style="text-align: left;" | ||
− | |- | + | |-valign="top" |
! aspell | ! aspell | ||
| is a utility that can function as an ispell -a replacement, as an independent spell checker, as a test utility to test out Aspell features, and as a utility for managing dictionaries. | | is a utility that can function as an ispell -a replacement, as an independent spell checker, as a test utility to test out Aspell features, and as a utility for managing dictionaries. | ||
− | |- | + | |-valign="top" |
! ispell | ! ispell | ||
| is a wrapper around aspell to invoke it in ispell compatible mode. | | is a wrapper around aspell to invoke it in ispell compatible mode. | ||
− | |- | + | |-valign="top" |
! spell | ! spell | ||
| is a wrapper around aspell to invoke it in spell compatible mode. | | is a wrapper around aspell to invoke it in spell compatible mode. | ||
− | |- | + | |-valign="top" |
! aspell-import | ! aspell-import | ||
| imports old personal dictionaries into Aspell. | | imports old personal dictionaries into Aspell. | ||
− | |- | + | |-valign="top" |
! precat | ! precat | ||
| decompresses a prezipped file to stdout. | | decompresses a prezipped file to stdout. | ||
− | |- | + | |-valign="top" |
! preunzip | ! preunzip | ||
| decompresses a prezipped file. | | decompresses a prezipped file. | ||
− | |- | + | |-valign="top" |
! prezip | ! prezip | ||
| is a prefix delta compressor, used to compress sorted word lists or other similar text files. | | is a prefix delta compressor, used to compress sorted word lists or other similar text files. | ||
− | |- | + | |-valign="top" |
! prezip-bin | ! prezip-bin | ||
| is called by the various wrapper scripts to perform the actual compressing and decompressing. | | is called by the various wrapper scripts to perform the actual compressing and decompressing. | ||
− | |- | + | |-valign="top" |
! pspell-config | ! pspell-config | ||
| displays information about the libpspell installation, mostly for use in build scripts. | | displays information about the libpspell installation, mostly for use in build scripts. | ||
− | |- | + | |-valign="top" |
! run-with-aspell | ! run-with-aspell | ||
| is a script to help use Aspell as an ispell replacement. | | is a script to help use Aspell as an ispell replacement. | ||
− | |- | + | |-valign="top" |
! word-list-compress | ! word-list-compress | ||
| compresses or decompresses sorted word lists for use with the Aspell spell checker. | | compresses or decompresses sorted word lists for use with the Aspell spell checker. | ||
− | |- | + | |-valign="top" |
! libaspell.so | ! libaspell.so | ||
| contains spell checking API functions. | | contains spell checking API functions. | ||
− | |- | + | |-valign="top" |
! libpspell.so | ! libpspell.so | ||
| is an interface to the libaspell library. All the spell checking functionality is now in libaspell but this library is included for backward compatibility. | | is an interface to the libaspell library. All the spell checking functionality is now in libaspell but this library is included for backward compatibility. | ||
|} | |} | ||
+ | |||
+ | [[Category:General Libs]] |
Latest revision as of 08:50, 20 September 2009
Download Source: | http://ftp.gnu.org/gnu/aspell/aspell-0.60.6.1.tar.gz |
---|---|
Download Dictionary: | ftp://ftp.gnu.org/gnu/aspell/dict |
Contents
Introduction to Aspell
This package checks text for spelling errors; according to the project's site "Aspell is a Free and Open Source spell checker designed to eventually replace Ispell. It can either be used as a library or as an independent spell checker. Its main feature is that it does a superior job of suggesting possible replacements for a misspelled word than just about any other spell checker out there for the English language"
Project Homepage: http://aspell.net/
Dependencies
Required
Optional
Non-Multilib
Compile the package:
./configure --prefix=/usr \ --enable-{pkgdatadir,dict-dir}=/usr/share/aspell && make
Install the package
make install
Multilib
32Bit
Compile the package:
CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" ./configure --prefix=/usr \ --enable-{pkgdatadir,dict-dir}=/usr/share/aspell && make
Install the package
make install && mv -v /usr/bin/pspell-config{,-32}
N32
Compile the package:
CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" ./configure --prefix=/usr --libdir=/usr/lib32 \ --enable-{pkgdatadir,dict-dir}=/usr/share/aspell && make
Install the package
make install && mv -v /usr/bin/pspell-config{,-n32}
64Bit
Compile the package:
CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" ./configure --prefix=/usr --libdir=/usr/lib64 \ --enable-{pkgdatadir,dict-dir}=/usr/share/aspell && make
Install the package
make install && mv -v /usr/bin/pspell-config{,-64} && ln -sfv multiarch_wrapper /usr/bin/pspell-config
Dictionary
Configure and compile the dictionary:
./configure && make
Install the dictionary:
make install
Contents
Installed Programs: | aspell, aspell-import, precat, preunzip, prezip, prezip-bin, pspell-config, run-with-aspell, word-list-compress and optionally, ispell and spell |
---|---|
Installed Libraries: | libaspell.so and libpspell.so |
Installed Directory: | /usr/include/pspell and /usr/lib/aspell-0.60 |
Short Descriptions
aspell | is a utility that can function as an ispell -a replacement, as an independent spell checker, as a test utility to test out Aspell features, and as a utility for managing dictionaries. |
---|---|
ispell | is a wrapper around aspell to invoke it in ispell compatible mode. |
spell | is a wrapper around aspell to invoke it in spell compatible mode. |
aspell-import | imports old personal dictionaries into Aspell. |
precat | decompresses a prezipped file to stdout. |
preunzip | decompresses a prezipped file. |
prezip | is a prefix delta compressor, used to compress sorted word lists or other similar text files. |
prezip-bin | is called by the various wrapper scripts to perform the actual compressing and decompressing. |
pspell-config | displays information about the libpspell installation, mostly for use in build scripts. |
run-with-aspell | is a script to help use Aspell as an ispell replacement. |
word-list-compress | compresses or decompresses sorted word lists for use with the Aspell spell checker. |
libaspell.so | contains spell checking API functions. |
libpspell.so | is an interface to the libaspell library. All the spell checking functionality is now in libaspell but this library is included for backward compatibility. |