[lingu-dev] Re: dictionaries for upcoming spellcheck engine hunspell

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

[lingu-dev] Re: dictionaries for upcoming spellcheck engine hunspell

Bjoern JACKE-3
On 2005-11-13 at 15:46 +0100 Laurent Godard sent off:

>>Daniel Naber and me where thinking about how to proceed with the
>>dictionary downloads when one of the upcoming OOo versions will make
>>hunspell the default spellcheck engine. This will also result in new
>>dictionary formats for those which are optimized for the new hunspell
>>features. People using older OOo versions with myspell being the
>>default spellcheck engine will have problems if they download hunspell
>>dictionaries ;-)
>>
>>My idea was to have a different download location for hunspell
>>dictionaries. The best thing would be if DicOOo would be able to figure
>>out what spellchecker is being used (also now people are able to use
>>hunspell as an UNO component). Do you think this is possible to do, so
>>that the download URL could be changed for the hunspell dictionaries?
>>
>
>yes i think it is feasable
>as Hunspel is an UNo service, i can use a CreateUnoService and check if
>the result isNull or not
>
>Btw, there should be some things to do with .xcu file
>I'll have a look
>
>So, yes i think it is possible
>
>but, we should think on the "inverse problem"
>people used huspell format and revrt back to the myspell one ?
>
>Let me know

yes, I also see a problem here and another problem I see is that I am
not sure if hunspell will still be UNO component when it is the
default spellcheck engine, so I'm not sure about the recognicion
method here. I pull this on the lingucomponent list, maybe someone
here has ideas about the problem.

I guess to be able to be switch between myspell and hunspell back and
foth it is a wise thing to keep hunspell and myspell dictionaries at
differents locations on the filesystem and track different
dictionary.lst entries for both of them.

Bjoern

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: [lingu-dev] Re: dictionaries for upcoming spellcheck engine hunspell

Laurent Godard-3
Hi Bjoern

>
> yes, I also see a problem here and another problem I see is that I am
> not sure if hunspell will still be UNO component when it is the default
> spellcheck engine, so I'm not sure about the recognicion method here. I
> pull this on the lingucomponent list, maybe someone here has ideas about
> the problem.
>

why would it not be an UNO component
It is a different thing than being provided as an addon

btw, i Looked a linguistic.xcu fiel that contains interresting things

    <prop oor:name="fr-FR" oor:op="replace" oor:type="oor:string-list">
     <value>org.openoffice.lingu.MySpellSpellChecker</value>
    </prop>
    <prop oor:name="sw-KE" oor:op="replace" oor:type="oor:string-list">
     <value>org.openoffice.lingu.MySpellSpellChecker</value>
    </prop>

seems something can be done


> I guess to be able to be switch between myspell and hunspell back and
> foth it is a wise thing to keep hunspell and myspell dictionaries at
> differents locations on the filesystem and track different
> dictionary.lst entries for both of them.
>

need to be discussed with the hunspell authors

Laurent

--
Laurent Godard <[hidden email]> - Ing?nierie OpenOffice.org
Indesko >> http://www.indesko.com
Nuxeo CPS >> http://www.nuxeo.com - http://www.cps-project.org
Livre "Programmation OpenOffice.org", Eyrolles 2004

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: [lingu-dev] Re: dictionaries for upcoming spellcheck engine hunspell

Daniel Naber-4
In reply to this post by Bjoern JACKE-3
On Sonntag 13 November 2005 16:07, Bjoern JACKE wrote:

> I guess to be able to be switch between myspell and hunspell back and
> foth it is a wise thing to keep hunspell and myspell dictionaries at
> differents locations on the filesystem and track different
> dictionary.lst entries for both of them.

On the other hand, why keep myspell at all if hunspell is like myspell +
additional features?

Regards
 Daniel

--
http://www.danielnaber.de

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: [lingu-dev] Re: dictionaries for upcoming spellcheck engine hunspell

Simon Brouwer
Hi,

At 18:55 13-11-2005, you wrote:
>On Sonntag 13 November 2005 16:07, Bjoern JACKE wrote:
>
> > I guess to be able to be switch between myspell and hunspell back and
> > foth it is a wise thing to keep hunspell and myspell dictionaries at
> > differents locations on the filesystem and track different
> > dictionary.lst entries for both of them.
>
>On the other hand, why keep myspell at all if hunspell is like myspell +
>additional features?

Is hunspell compatible with myspell dictionaries?

If not, you have to keep myspell so that you can use dictionaries that
haven't been converted to hunspell format.


Vriendelijke groet,
Simon Brouwer.

 >>> nl.openoffice.org <<<


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: [lingu-dev] Re: dictionaries for upcoming spellcheck engine hunspell

Laurent Godard-3
In reply to this post by Daniel Naber-4
Hi daniel

> On the other hand, why keep myspell at all if hunspell is like myspell +
> additional features?
>

+1

btw, DicOOo will have to handle old myspell users ...

Laurent


--
Laurent Godard <[hidden email]> - Ing?nierie OpenOffice.org
Indesko >> http://www.indesko.com
Nuxeo CPS >> http://www.nuxeo.com - http://www.cps-project.org
Livre "Programmation OpenOffice.org", Eyrolles 2004

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: [lingu-dev] Re: dictionaries for upcoming spellcheck engine hunspell

Bjoern JACKE-3
In reply to this post by Daniel Naber-4
On 2005-11-13 at 18:55 +0100 Daniel Naber sent off:
>On the other hand, why keep myspell at all if hunspell is like myspell +
>additional features?

well, there might arise problems with hunspell (e.g. some backward
compatibility issues) and one might want to fall back to myspell. Or
You might want to use hunspell and myspell side by side (I would like
to, but maybe I'm a special case ;-) ). Anyway - I would like to see
hunspell not use the dictionaries defined by "DICT" as default but
those defined by something like "DICT_HUNSPELL". There might come
other spellcheck engines in the future and having a not so generic
name like "DICT" which doesn't say *which* spellcheck engine's DICT
this is, is not very clean.

How about this: as "DICT" is from the beginning a "variable" for
myspell dictionaries and hunspell should also be able to use this
ones, hunspell should first look for "DICT_HUNSPELL" entries and if it
doesn't find any, it should use "DICT" entries.

This way, we have no naming problem in dictionary.lst when there comes
a "foospell" engine. It's dictinoaries can be named with
"DICT_FOOSPELL".

Bjoern

PS: I would propose the same engine-specific dictionary.lst entries
for thesauri and hyphenators too as there may be more than one and
people might want to switch without editing the dictionary.lst file.

attachment0 (196 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [lingu-dev] Re: dictionaries for upcoming spellcheck engine hunspell

Bjoern JACKE-3
Hi all,

I just filed an issue for this proposal:
http://www.openoffice.org/issues/show_bug.cgi?id=58531

Bjoern

attachment0 (196 bytes) Download Attachment