[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[be] [ bibledit-Feature Requests-1675668 ] spell check
From: |
SourceForge.net |
Subject: |
[be] [ bibledit-Feature Requests-1675668 ] spell check |
Date: |
Thu, 17 Apr 2008 09:30:36 -0700 |
Feature Requests item #1675668, was opened at 2007-03-07 14:37
Message generated for change (Settings changed) made by teus
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=658624&aid=1675668&group_id=111189
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
>Status: Pending
Resolution: None
Priority: 5
Private: No
Submitted By: Teus Benschop (teus)
Assigned to: Nobody/Anonymous (nobody)
Summary: spell check
Initial Comment:
This is better postponed till libabiword becomes stable.
Spelling. Aspell can be used.
Gnome-spell. This also allows for live spell checking.
Use suffix and affix files.
A program can be written that transfers the currently available data to
the new format.
Gtranslator also has a spell checker, and gedit (?), look into how they do
it.
Look into the affix files with OpenOffice, or GtkSpell.
Look into GtkSpell.
What about enchant?
UniSpell, program for Windows, its source might give insight how to tackle
problems.
This is an explanation on how to use Myspell/Hunspell dictionaries on GTK+
applications like AbiWord, Tomboy, Inkscape, Evolution etc. The motivation
was that
Brazilian Portuguese dictionaries for Ispell and Aspell are unmantained
for a long time,
while OpenOffice.org's counterpart is increasingly comprehensive. Next
version of
BrOffice.org's spellchecker is expected to have two and a half million
words!
The first step is setting Enchant (app-text/enchant), a libraries that
allows
applications to use any spell checker.
Enchant knows how to use Myspell/Hunspell, Aspell, Ispell and others
out-of-the-box,
but it doesn't know where the dictionaries are! (Except for Aspell dicts.)
To have Enchant using a Myspell dictionary, it is necessary to create the
~/.enchant/myspell
folder (or /usr/share/enchant/myspell), and put the .dic and .aff files
there.
Those files may be obtained from OpenOffice.org's site, or your local
installation
of Openoffice.org (in example, in /usr/lib/openoffice/share/dict/ooo);
in Gentoo systems, the dictionaries are also available through the
app-dicts/myspell-*
ebuilds (in /usr/share/myspell). If the dictionary files are already
installed,
you can create a symbolic link between their folder and any one Enchant
knows about.
As Enchant's manual page suggests, distributions can compile it with an
configuration
to know where the dictionary files are located; Gentoo doesn't do that yet
but
maybe Debian does that because its manual page for Enchant omits this
subject.
If your distribution follows Enchant's suggestion, you won't need the step
above.
The second step is installing Hunspell (app-text/hunspell).
Enchant depends on (a) any Aspell dictionary, (b) Ispell, (c) Hspell, or
(d) Hunspell,
in that order; hence, Hunspell won't be installed by default. (Please
remember
that dependencies may vary a little between distributions.) It would be
even
better to install Hunspell before an Enchant-aware application is
installed,
to avoid installing an unnecessary Aspell dictionary.
The extent of the usefulness of this HOW TO will depend on whether
GtkSpell and
GnomeSpell were patched to use Enchant instead of using Aspell directly.
Theses patches are provided by AbiSource, and my guess is that they are
widely
employed. If your GtkSpell or GnomeSpell package depends on Enchant, then
they
are probably patched. Libsexy uses Enchant without need for any patch.
Notes
* This tip was first posted in the Gentoo forums, first in Portuguese
then in English.
* Hunspell is an extended version of Myspell; it is fully compatible
with Myspell dictionaries and is shipped with recent versions of
OpenOffice.org.
* GEdit merged GtkSpell source code without the patch that makes this
library use Enchant; therefore, GEdit depends directly on Aspell. Gedit
2.18 should come spell checking via Enchant.
* Enchant is used only in GTK+ applications because KDE has its own
library for this purpose. It was considered using Enchant in KDE, but
developers seamed to prefer improving KSpell2.
* Besides OpenOffice.org, Mozilla applications support Myspell
(Firefox, Thunderbird, Seamonkey etc.).
* Examples of applications using Enchant direct or indirectly:
o Misc: AbiWord, Screem, Inkscape, Tomboy.
o E-mail, news and blog: Evolution, Sylpheed, Balsa, Pan,
LogJam, Drivel.
o IM: GAIM, Gajim, Gabber, GNU Gadu, GnomeICU, kf,
XChat(-GNOME).
o Translation: poEdit, gtranslator.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=658624&aid=1675668&group_id=111189
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [be] [ bibledit-Feature Requests-1675668 ] spell check,
SourceForge.net <=