FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Development

 
 
LinkBack Thread Tools
 
Old 12-29-2007, 09:28 AM
Ville-Pekka Vainio
 
Default Help with packaging tmispell-voikko (Ispell compatible Finnish spellchecking )

Kevin Kofler kirjoitti:
> For the legacy KSpell interface which uses command-line spellcheckers, we
> could just add support for tmispell like I added support for hunspell:
> http://cvs.fedoraproject.org/viewcvs/rpms/kdelibs3/devel/kdelibs-3.5.8-kspe
>ll-hunspell.patch?rev=1.1&view=markup As you can see from the above patch,
> it isn't that hard to patch in support for an additional executable

OK, this sounds good. What should I do with the fake dictionary files then,
see <http://vpv.fedorapeople.org/packages/README.tmispell-voikko>. Basically
the README says to do "touch /usr/lib/ispell/suomi.{hash,aff}" to fake ispell
compatible programs to see that there is Finnish spell checking available.

If I add these files, the current KDE in F-8 will see them and show Finnish as
an ispell language, but of course it won't work, if /usr/bin/ispell is not a
link to /usr/bin/tmispell.

Could you hack rawhide's KSpell so that it would see if tmispell is available
and then offer Finnish spell checking, without any fake dictionary files? If
this was possible, then I could package tmispell similarly for all branches,
basically as a command line application without any dictionary hacks.

--
Ville-Pekka Vainio

--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 
Old 01-08-2008, 06:03 PM
Ville-Pekka Vainio
 
Default Help with packaging tmispell-voikko (Ispell compatible Finnish spellchecking )

Kevin Kofler kirjoitti:
> Ville-Pekka Vainio <vpivaini <at> cs.helsinki.fi> writes:
> > To get the ball rolling regarding tmispell-voikko, I have submitted a
> > review request here:
> > <https://bugzilla.redhat.com/show_bug.cgi?id=427824>.
> >
> > This Spec/SRPM doesn't try to do any ispell integration yet, hopefully
> > I'll get some help on that later.
>
> I attached a patch which adds support for tmispell to kdelibs3 (KSpell) to
> the bug report. KDE 4 and KSpell2 in kdelibs3 (with my FeatureDictionary
> patch) don't need any patching nor ispell hackery as they use enchant. Most
> GNOME stuff these days also uses enchant, partly thanks to the
> FeatureDictionary work. Any app which tries to call ispell, hunspell,
> aspell or whatever directly will need some patching though if we use that
> approach.

Thanks! Now I'm just waiting for a review

As far as I know, Voikko has no aspell or hunspell support. As the Voikko main
developer suggested, we could add ispell support to Fedora in the following
way: /usr/bin/ispell in Fedora is a shell script, so we could make it call
tmispell whenever it's called with the Finnish language.

The ispell script is in the aspell package, which is maintained by Ivana
Varekova. What's generally the best approach here, contacting her directly or
submitting a feature request against aspell in Bugzilla?

If we can get this change into the ispell script, then the KDE patch wouldn't
necessarily be needed, I guess that depends on how well the ispell thing
would work.

> Oh, in case somebody asks why Finnish isn't using hunspell (which is what
> we're trying to standardize on in Fedora): I don't believe there is any
> working Finnish dictionary for hunspell. The one on the OO.o dictionary
> page is a dummy empty dictionary. And given that Finnish has complex
> agglutinative grammar, a simple word list definitely won't cut it. So I
> trust the folks who actually speak Finnish to know what they're doing in
> this context. ;-)

Actually, the Voikko project initially started as Hunspell-fi, but the
developers decided to switch to a Malaga/Suomi-malaga based approach, mostly
because it works better and was less work for them. Those who are interested
in Voikko may want to read this:
<http://voikko.sourceforge.net/architecture.html>.

As you mentioned OpenOffice, there is also a Voikko extension for OpenOffice
and I'm interested in packaging that too. I'll probably discuss that in it's
own thread once I'll have atleast a preliminary spec file done.

--
Ville-Pekka Vainio

--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 

Thread Tools




All times are GMT. The time now is 04:00 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org