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 Desktop

 
 
LinkBack Thread Tools
 
Old 08-02-2012, 04:46 PM
Ray Strode
 
Default Out-of-the-box broken spell-check with desktop spin

Hey,

> So we will have hunspell-en in the livecd, but what if someone
> changes the
> UI or input language (this is a good reason for dictionaries to be a
> special case, you need them when you add input language, not UI
> language)
> they won't get the related dictionary. Could we get the control panel
> install the relevant dictionary using PackageKit when you add a
> keyboard
> layout? eg. if I add Arabic it should install hunspell-ar so I would
> have
> spellcheck when typing in Arabic.
> This will make using Fedora (and GNOME in general) easier for
> multilingual
> beginner users.
Totally agree that's a good idea. I filed this:

https://bugzilla.gnome.org/show_bug.cgi?id=681084

so that suggestion doesn't get lost.

--Ray
--
desktop mailing list
desktop@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/desktop
 
Old 08-02-2012, 04:53 PM
Ray Strode
 
Default Out-of-the-box broken spell-check with desktop spin

Hi,

> > So we will have hunspell-en in the livecd, but what if someone
> > changes the
> > UI or input language (this is a good reason for dictionaries to be
> > a
> > special case, you need them when you add input language, not UI
> > language)
> > they won't get the related dictionary. Could we get the control
> > panel
> > install the relevant dictionary using PackageKit when you add a
> > keyboard
> > layout? eg. if I add Arabic it should install hunspell-ar so I
> > would
> > have
> > spellcheck when typing in Arabic.
> > This will make using Fedora (and GNOME in general) easier for
> > multilingual
> > beginner users.
> Totally agree that's a good idea. I filed this:
>
> https://bugzilla.gnome.org/show_bug.cgi?id=681084
Two other loftier thoughts:

1) maybe spell checking dictionaries should get install "just in time" when the library is used,
just like fonts get install when they're displayed.

2) maybe spell checking shouldn't have local dictionaries but use the internet like phones do.

--Ray
--
desktop mailing list
desktop@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/desktop
 
Old 08-02-2012, 04:59 PM
Elad Alfassa
 
Default Out-of-the-box broken spell-check with desktop spin

On Thu, Aug 2, 2012 at 7:53 PM, Ray Strode <rstrode@redhat.com> wrote:

Hi,



> > So we will have hunspell-en in the livecd, but what if someone

> > changes the

> > UI *or input language (this is a good reason for dictionaries to be

> > a

> > special case, you need them when you add input language, not *UI

> > language)

> > they won't get the related dictionary. Could we get the control

> > panel

> > install the relevant dictionary using PackageKit when you add a

> > keyboard

> > layout? eg. if I add Arabic it should install hunspell-ar so I

> > would

> > have

> > spellcheck when typing in Arabic.

> > This will make using Fedora (and GNOME in general) easier for

> > multilingual

> > beginner users.

> Totally agree that's a good idea. *I filed this:

>

> https://bugzilla.gnome.org/show_bug.cgi?id=681084

Two other loftier thoughts:



1) maybe spell checking dictionaries should get install "just in time" when the library is used,

just like fonts get install when they're displayed.
How would you detect which language of spellcheck dict you need to install for European languages, which basically share the same alphabet?**




2) maybe spell checking shouldn't have local dictionaries but use the internet like phones do.
Some phones have builtin dictionaries. Using the internet means:
1) won't work for offline/LAN only machines

2) privacy concerns
3) spellcheck might be really slow for users with very slow internet connection, for example Africa or India
4) we'll have to host it




--Ray

--

desktop mailing list

desktop@lists.fedoraproject.org

https://admin.fedoraproject.org/mailman/listinfo/desktop

--

-Elad Alfassa.


--
desktop mailing list
desktop@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/desktop
 
Old 08-02-2012, 06:48 PM
Ray Strode
 
Default Out-of-the-box broken spell-check with desktop spin

Hi,
> > > > So we will have hunspell-en in the livecd, but what if someone
> > > > changes the
> > > > UI or input language (this is a good reason for dictionaries
> > > > to be
> > > > a
> > > > special case, you need them when you add input language, not
> > > > UI
> > > > language)
> > > > they won't get the related dictionary. Could we get the control
> > > > panel
> > > > install the relevant dictionary using PackageKit when you add a
> > > > keyboard
> > > > layout? eg. if I add Arabic it should install hunspell-ar so I
> > > > would
> > > > have
> > > > spellcheck when typing in Arabic.
> > > > This will make using Fedora (and GNOME in general) easier for
> > > > multilingual
> > > > beginner users.
> > > Totally agree that's a good idea. I filed this:
> > >
> > > https://bugzilla.gnome.org/show_bug.cgi?id=681084
> > Two other loftier thoughts:
> >
> > 1) maybe spell checking dictionaries should get install "just in
> > time"
> > when the library is used,
> > just like fonts get install when they're displayed.
> >
> How would you detect which language of spellcheck dict you need to
> install
> for European languages, which basically share the same alphabet?
Well I guess there's a few ways you could approach it:

- let the user pick the language (i think a lot of our apps have menu items or a language selection in the spell check dialog already)
- guess from current locale / current input method
- do some bad heuristic like translate.google.com does

Would take work I'm probably not going to do to get this feature, so I'm mainly just brainstorming, fwiw.


> Some phones have builtin dictionaries. Using the internet means:
> 1) won't work for offline/LAN only machines
Could mitigate (but not elliminate) this problem with caching

> 2) privacy concerns
yea definitely an issue

> 3) spellcheck might be really slow for users with very slow internet
> connection, for example Africa or India
> 4) we'll have to host it
I don't think these two are a given, but certainly potentially true.

Anyway, just throwing ideas out there as food for thought.

--Ray
--
desktop mailing list
desktop@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/desktop
 
Old 08-03-2012, 07:46 AM
Caolán McNamara
 
Default Out-of-the-box broken spell-check with desktop spin

On Thu, 2012-08-02 at 12:53 -0400, Ray Strode wrote:
> Two other loftier thoughts:
>
> 1) maybe spell checking dictionaries should get install "just in time" when the library is used,
> just like fonts get install when they're displayed.

Yeah, that'd be my preferred solution, i.e.
https://bugzilla.redhat.com/show_bug.cgi?id=750986

> 2) maybe spell checking shouldn't have local dictionaries but use the internet like phones do.

It doesn't massively appeal to me, given an example of LibreOffice
auto-spellchecking a 1000 page document because you'd end up basically
sending the entire document over the wire word by word.

And the spellchecking happens paragraph by paragraph in the idle-time
callback, checking after each paragraph if there's been any user events
in order to postpone the rest of spellchecking until later, so that
section of code has to be fast.

C.

--
desktop mailing list
desktop@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/desktop
 

Thread Tools




All times are GMT. The time now is 07:23 AM.

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