Control: tags -1 +patch El vie, 25 feb 2022 a las 8:51, Lionel Élie Mamane (<lio...@mamane.lu>) escribió: > > On Fri, Feb 25, 2022 at 12:51:32AM +0100, Agustin Martin wrote: > > El jue, 24 feb 2022 a las 16:09, Lionel Élie Mamane > > (<lio...@mamane.lu>) escribió: > > > I have been looking at popcons and seems that regarding ispell dicts > > ifrench-gut is way more popular than ifrench, but on the hunspell side > > the winner is hunspell-fr (which pulls hunspell-fr-classical) > > > I do not know about the merits of the different ispell dicts, but > > keeping ifrench-gut ispell dict seems reasonable. On the other hand, > > unless it provides something better, dropping myspell-fr-gut as a real > > dict seems also reasonable, but this really requires more feedback > > from french users. > > If the -gut variant has a "better" word list, then I expect it is > better for both ispell and myspell?
Hi, Lionel, myspell is gone, only hunspell is available and supports old myspell dictionaries like this one. Usually hunspell specific dicts are better than old myspell and ispell dicts, but sometimes they are just different and each one has its merits. Note that hunspell-fr-*dicts come from different source (https://grammalecte.net/home.php?prj=fr) than both ispell french dicts. If you think is useful to keep a myspell/hunspell version of gutenberg dict I am attaching a patch with a possible migration to ispellaff2myspell. In my limited tests it works better than old dict since it includes ' and - as wordchars. Whether to remove it or not in favour of hunspell-fr-* is something that can be decided later by french dicts maintainers (and will require some coordination). I have also noticed that while package contains a couple of patches with dpatch extension it does nor really use dpatch, so that would not be a problem, The mismatch in ispell hash format should be fixed by the new build (although I suggest to migrate to ispell-autobuildhash), so this patch should be enough if no side effects are found, I would also suggest some cleanup of ancient stuff and other improvements, but what needs quick action is the myspell-tools build-dep, which I think should be addressed by attached patch. Regards, -- Agustin
diff -u ifrench-gut-1.0/debian/changelog ifrench-gut-1.0/debian/changelog diff -u ifrench-gut-1.0/debian/control ifrench-gut-1.0/debian/control --- ifrench-gut-1.0/debian/control +++ ifrench-gut-1.0/debian/control @@ -3,7 +3,7 @@ Section: text Priority: optional Standards-Version: 3.9.8 -Build-Depends: debhelper (>> 10), ispell (>= 3.3.02), dictionaries-common-dev (>= 1.10.5), myspell-tools +Build-Depends: debhelper (>> 10), ispell (>= 3.3.02), dictionaries-common-dev (>= 1.10.5), hunspell-tools #Homepage: http://www.gutenberg.eu.org/distributions/rubrique9.html Package: ifrench-gut diff -u ifrench-gut-1.0/debian/rules ifrench-gut-1.0/debian/rules --- ifrench-gut-1.0/debian/rules +++ ifrench-gut-1.0/debian/rules @@ -25,10 +25,10 @@ # Add here commands to compile the package. ./makehash - is2my-spell.pl francais.aff > fr-pre.aff - LC_ALL=C sed -e 's/^SET.*/SET ISO8859-15/;s/^TRY.*/TRY aeioàéèêîâsinrtlcdugmphbyfvkwôûëöïù½/' \ - -e 's/^\([PS]FX[[:space:]]\+.[[:space:]]\+[^[:space:]]\+[[:space:]]\+[^[:space:]]\+[[:space:]]\+\)\([^[:space:]]\+\)$$/\1 \2/' \ - fr-pre.aff > fr.aff + ispellaff2myspell \ + --charset=latin0 \ + --myheader=debian/fr_FR@GUT.header \ + francais.aff > fr.aff wc -l < francais.dico > francais.dico.cnt cat francais.dico.cnt francais.dico > fr.dic only in patch2: unchanged: --- ifrench-gut-1.0.orig/debian/fr_FR@GUT.header +++ ifrench-gut-1.0/debian/fr_FR@GUT.header @@ -0,0 +1,19 @@ +# -*- coding: iso-8859-15 -*- +# ------------------------------------------------ +# Converted from ifrench-gut francais.aff affix file by +# ispellaff2myspell +# +# From ifrench-gut francais.aff affix file: +# +# Francais-GUTenberg v1.0 +# Fichier d'affixes pour le français +# Copyright 1999, Christophe Pythoud et GUTenberg +# ------------------------------------------------- + +SET ISO8859-15 + +TRY aeioàéèêîâsinrtlcdugmphbyfvkwôûëöïù½ + +WORDCHARS -' + +# -------------------------------------------------