Author Topic: Aspell 0.60.4 And English Dictionary  (Read 1111 times)

desertrat

  • Hero Member
  • *****
  • Posts: 743
    • View Profile
    • http://
Aspell 0.60.4 And English Dictionary
« on: March 14, 2006, 04:37:31 am »
aspell 0.60.4

http://aspell.sourceforge.net/

GNU 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. Unlike Ispell, Aspell can also easily check documents in UTF-8 without having to use a special dictionary. Aspell will also do its best to respect the current locale setting. Other advantages over Ispell include support for using multiple dictionaries at once and intelligently handling personal dictionaries when more than one Aspell process is open at once.



aspell6 English disctionary 6.0-0

http://aspell.sourceforge.net/


Works nicely with sylpheed-claws  


Here are instructions for building the English dictionary and installing it directly into the default directory /usr/local/lib/aspell-0.60, you can adapt it to build for other languages:

Code: [Select]
wget ftp://ftp.gnu.org/gnu/aspell/dict/en/aspell6-en-6.0-0.tar.bz2
tar jxf aspell6-en-6.0-0.tar.bz2
cd aspell6-en-6.0-0
./configure
make install

If you want to create a package (for ease of installation/uninstallation/distribution) use these instructions:

0) best read this making ipkg howto first

1) download this script and place it somewhere convenient - mkipkg

3) what the following does is download the raw dictionary data, create a temporary directory to hold the package, install dictionary to package directory

Code: [Select]
wget ftp://ftp.gnu.org/gnu/aspell/dict/en/aspell6-en-6.0-0.tar.bz2
tar jxf aspell6-en-6.0-0.tar.bz2
cd aspell6-en-6.0-0
./configure
mkdir -p /mnt/hd/ipkg-aspell-dict-en/CONTROL
make DESTDIR="/mnt/hd/ipkg-aspell-dict-en/" install
cp -a Copyright /mnt/hd/ipkg-aspell-dict-en/CONTROL/

4) now create the file /mnt/hd/ipkg-aspell-dict-en/CONTROL/control and populate it (obviously change the contents as necessary)
Code: [Select]
Package: aspell-dict-en
Maintainer: Desert Rat desertrat_blog @ yahoo.co.uk
Architecture: armv5tel
Version: 6.0-0
License: Various, see file 'Copyright'
Description: English language dictionary for aspell
Source: http://aspell.sourceforge.net/ ftp://ftp.gnu.org/gnu/aspell/dict/en/aspell6-en-6.0-0.tar.bz2

5) finally
Code: [Select]
mkipkg /mnt/hd/ipkg-aspell-dict-en/
will create (in this example) aspell-dict-en_6.0-0_armv5tel.ipk which can then be installed in the usual manner.

6) Once you've ironed out any problems and your ipk installs correctly you can remove the working directories:

Code: [Select]
rm -rf aspell6-en-6.0-0
rm -rf /mnt/hd/ipkg-aspell-dict-en/


-- cheers
SL-C3100 / Ambicon WL1100C-CF / pdaXrom 1.1.0beta3 / IceWM