AbiWord Spelling Information

Home > Information > Spelling

# Spell Checking and AbiWord

AbiWord supports spell checking in many languages, and allows you to have different parts of a single document in different languages.

## Supported Spell Checkers

AbiWord supports both the GNU Aspell (previously calledPspell) and Ispell spell checkers(and also a spell-check wrapper calledEnchant which in turn uses Aspell or Ispell or perhaps others).Which one is used is determined at compile-time, so if you're downloading a binary, one of these has been selected for you.GNU Aspelland Enchant areeasiest to use onUnix platforms currently, so if you're not running on Unix, you'realmost certainly using Ispell.

## Gotchas

Of course, you can only spell-check words if you have the dictionary for that particular language installed.GNU Aspell dictionaries can be found at http://aspell.net/. Currently, AbiWord's Ispell builds ship with Ispell dictionaries (commonly referred to as `hash files´) that are known to work with the AbiWord product; unfortunately not all Ispell dictionaries will be compatible with AbiWord, but a number of usable dictionaries are available fromAbiWord's SourceForge site listed under "abispell". Unless your distributor has packaged AbiWord specially, AbiWord expects its Ispell dictionaries to be in the following format:

1. 128 byte long strings
2. 52 "flags"
3. capitalization enabled
4. Proper endianness (little endian if you´re on a i386 class machine, or big endian for Alpha, PPC, MIPS)

If you are running a Unix variant, you can determine this information by typing `file <foo.hash>´ Typically, the output looks something like this:

/usr/lib/ispell/norsk.hash: little endian ispell 3.1 hash file, 8-bit, capitalization, 52 flags and 128 string characters

If you are using Ispell, AbiWord expects to find these dictionaries in a specific place. For Unix machines, this is typically /usr/local/share/AbiSuite-2.0/dictionary/. For Windows machines, this is typically C:\Program Files\AbiSuite\dictionary\

AbiWord can also use pre-installed Ispell dictionaries. You may achieve this by simply copying them to the AbiWord dictionary directory ('cp' on Unix) or by using symbolic links, should your platform support that feature('ln -s' on Unix). If the dictionary for a particular language is not installed, the words will remain un-proofed, and thus not marked as incorrect.

## How to use these features?

AbiWord automatically sets many of its default settings based on your working locale. This includes paper sizes (A4 vs. Letter), displayed units (inch vs. cm), and proofing language. Internally, the proofing language is a 4 letter country code. American English is represented by 'en-US', for example.

It's great to have a default startup language, but that in itself isn't all that impressive. AbiWord allows the user to change the language of any word inside of the document and have it automatically proofed using that new language dictionary(provided that dictionary is installed on the user's system). This functionality is achieved through the Language Dialog, accessible from Tools->Language or by right-clicking your mouse anywhere in the document. The dialog presents the user with a list of languages to choose from (or, optionally, no proofing). More information about the language dialog is available in its own help file.

## Support Matrix

What follows is the currently supported matrix for Ispell-based proofing. The Language/Country name, Country-Code, and associated Ispell dictionary are named. Currently AbiWord supports 27 different locales via Ispell:

Dictionary Locale

catala.hashca-ES

czech.hashcs-CZ

dansk.hashda-DK

deutsch.hashde-CH

deutsch.hashde-DE

deutsch.hashde-AT

ellhnika.hashel-GR

british.hashen-AU

american.hashen-CA

british.hashen-GB

british.hashen-IE

american.hashen-US

espanol.hashes-ES

francais.hashfr-BE

francais.hashfr-CA

francais.hashfr-CH

francais.hashfr-FR

italian.hashit-IT

lietuviu.hashlt-LT

dutch96.hashnl-NL

norsk.hashnb-NO

nynorsk.hashnn-NO

polish.hashpl-PL

portugues.hashpt-PT

portugues.hashpt-BR

russian.hashru-RU

svenska.hashsv-SE

Top Page Tutorial How To Information Interface Plug-ins Problems Credits Index GNU FDL