Bug#1006131: rus-ispell: please stop build-depending on myspell-tools

2022-02-22 Thread Agustin Martin
Control: tags -1 +pending

El mar, 22 feb 2022 a las 8:05, Mikhail Gusarov
() escribió:
>
> Hello Agustin,
>
> On 21 Feb 2022, at 23:46, Agustin Martin wrote:
>
> >> Could you show me the difference?
>
> > Find attached diff. SInce flags are sorted differently by i2myspell
> > and ispellaff2myspell , I made some magic for easier check of result,
> > actually diffing sorted affix files. This is what leads to that file
>
> Thanks. Looks fine for me.
> Actually, new file has the Cyrillic letters sorted in the right order :)

Thanks a lot,

-- 
Agustin



Bug#1006131: rus-ispell: please stop build-depending on myspell-tools

2022-02-21 Thread Mikhail Gusarov
Hello Agustin,

On 21 Feb 2022, at 23:46, Agustin Martin wrote:

>> Could you show me the difference?

> Find attached diff. SInce flags are sorted differently by i2myspell
> and ispellaff2myspell , I made some magic for easier check of result,
> actually diffing sorted affix files. This is what leads to that file

Thanks. Looks fine for me.
Actually, new file has the Cyrillic letters sorted in the right order :)

Best,
Mikhail.



Bug#1006131: rus-ispell: please stop build-depending on myspell-tools

2022-02-21 Thread Agustin Martin
El lun, 21 feb 2022 a las 23:26, Mikhail Gusarov
() escribió:
>
> Hello Agustin,
>
> On 21 Feb 2022, at 23:12, Agustin Martin wrote:
>
> I am thinking about using ispellaff2myspell --bylocale flag with
> russian koi8-r locale set. This should only require an extra¡
> build-dep on locales-all and change myspell-tools to hunspell-tools. I
> am checking the result and only have noticed some sorting differences
> in characters inside regexp groups, nothing that should be a problem.
>
> Could you show me the difference?

Hi, Mikhail, thanks for your help.

Find attached diff. SInce flags are sorted differently by i2myspell
and ispellaff2myspell , I made some magic for easier check of result,
actually diffing sorted affix files. This is what leads to that file

LC_ALL=ru_RU.KOI8-R sort /usr/lib/aspell/ru_affix.dat > ru_fromaspell.sorted
LC_ALL=ru_RU.KOI8-R ispellaff2myspell --bylocale
/usr/lib/ispell/russian.aff > ru_fromispell
LC_ALL=ru_RU.KOI8-R sort ru_fromispell > ru_fromispell.sorted
diff -uw ru_fromaspell.sorted ru_fromispell.sorted > aspell_vs_ispell.diff

/usr/lib/aspell/ru_affix.dat is original affix file created by
i2myspell (and shipped by aspell-ru).

Regards,

-- 
Agustin
--- ru_fromaspell.sorted	2022-02-21 23:32:23.980184050 +0100
+++ ru_fromispell.sorted	2022-02-21 23:32:24.020184326 +0100
@@ -23,7 +23,6 @@
 
 
 
-SET KOI8-R
 SFX A   0ав
 SFX A   0аин
 SFX A   0ов
@@ -48,20 +47,20 @@
 SFX A   еми   [иы]е
 SFX A   ем[иы]е
 SFX A   ех[иы]е
-SFX A   ий   ая   [гхк]ий
+SFX A   ийая  [гкх]ий
 SFX A   ий   ая   [жшщч]ий
-SFX A   ий   его  [енржшщч]ий
-SFX A   ий   ее   [енжшщч]ий
-SFX A   ий   ей   [енжшщч]ий
-SFX A   ий   ем   [енржшщч]ий
-SFX A   ий   ему  [енржшщч]ий
-SFX A   ий   ею   [енжшщч]ий
-SFX A   ий   ого  [гхк]ий
-SFX A   ий   ое   [гхк]ий
-SFX A   ий   ой   [гхк]ий
-SFX A   ий   ом   [гхк]ий
-SFX A   ий   ому  [гхк]ий
-SFX A   ий   ою   [гхк]ий
+SFX A   ийего [ежнршщч]ий
+SFX A   ийее  [ежншщч]ий
+SFX A   ийей  [ежншщч]ий
+SFX A   ийем  [ежнршщч]ий
+SFX A   ийему [ежнршщч]ий
+SFX A   ийею  [ежншщч]ий
+SFX A   ийого [гкх]ий
+SFX A   ийое  [гкх]ий
+SFX A   ийой  [гкх]ий
+SFX A   ийом  [гкх]ий
+SFX A   ийому [гкх]ий
+SFX A   ийою  [гкх]ий
 SFX A   ийся аяся [шщ]ийся
 SFX A   ийся егося[шщ]ийся
 SFX A   ийся ееся [шщ]ийся
@@ -74,37 +73,37 @@
 SFX A   ийся имся [шщ]ийся
 SFX A   ийся ихся [шщ]ийся
 SFX A   ийся уюся [шщ]ийся
-SFX A   ий   ую   [гхк]ий
+SFX A   ийую  [гкх]ий
 SFX A   ий   ую   [жшщч]ий
 SFX A   ий   юю   [ен]ий
 SFX A   ий   яя   [ен]ий
-SFX A   йе[гхк]ий
-SFX A   йе[енржшщч]ий
+SFX A   й е   [гкх]ий
+SFX A   й е   [ежнршщч]ий
 SFX A   йеый
-SFX A   йм[гхк]ий
-SFX A   йм[енржшщч]ий
-SFX A   йми   [гхк]ий
-SFX A   йми   [енржшщч]ий
+SFX A   й м   [гкх]ий
+SFX A   й м   [ежнршщч]ий
+SFX A   й ми  [гкх]ий
+SFX A   й ми  [ежнршщч]ий
 SFX A   йми   ый
 SFX A   ймый
-SFX A   йх[гхк]ий
-SFX A   йх[енржшщч]ий
+SFX A   й х   [гкх]ий
+SFX A   й х   [ежнршщч]ий
 SFX A   йхый
 SFX A   йюой
 SFX A   ой   ая   ой
-SFX A   ой   ие   [гхкжшщч]ой
-SFX A   ой   им   [гхкжшщч]ой
-SFX A   ой   ими  [гхкжшщч]ой
-SFX A   ой   их   [гхкжшщч]ой
+SFX A   ойие  [гжкхшщч]ой
+SFX A   ойим  [гжкхшщч]ой
+SFX A   ойими [гжкхшщч]ой
+SFX A   ойих  [гжкхшщч]ой
 SFX A   ой   ого  ой
 SFX A   ой   ое   ой
 SFX A   ой   ом   ой
 SFX A   ой   ому  ой
 SFX A   ой   ую   ой
-SFX A   ой   ые   [^гхкжшщч]ой
-SFX A   ой   ым   [^гхкжшщч]ой
-SFX A   ой   ыми  [^гхкжшщч]ой
-SFX A   ой   ых   [^гхкжшщч]ой
+SFX A   ойые  [^гжкхшщч]ой
+SFX A   ойым  [^гжкхшщч]ой
+SFX A   ойыми [^гжкхшщч]ой
+SFX A   ойых  [^гжкхшщч]ой
 SFX A   ый   ая   ый
 SFX A   ый   его  цый
 SFX A   ый   ее   цый
@@ -145,8 +144,8 @@
 SFX B   ыться ойтесь   ыться
 SFX B   ьеить
 SFX D Y 5
-SFX D   иться атся [жшщч]иться
-SFX D   иться ятся [^жшщч]иться
+SFX D   иться атся[жчшщ]иться
+SFX D   иться ятся[^жчшщ]иться
 SFX D   ться ется [ая]ться
 SFX D   ться ются [ая]ться
 SFX D   ься  ся   иться
@@ -192,13 +191,13 @@
 SFX F   

Bug#1006131: rus-ispell: please stop build-depending on myspell-tools

2022-02-21 Thread Mikhail Gusarov
Hello Agustin,

On 21 Feb 2022, at 23:12, Agustin Martin wrote:

> I am thinking about using ispellaff2myspell --bylocale flag with
> russian koi8-r locale set. This should only require an extra¡
> build-dep on locales-all and change myspell-tools to hunspell-tools. I
> am checking the result and only have noticed some sorting differences
> in characters inside regexp groups, nothing that should be a problem.

Could you show me the difference?

> Other approach would be to borrow i2myspell, which is unmaintained.
>
> I do not speak russian, but I think this is nearly ready for release,
> hope Mikhail does not find problems with this.

---
Best,
Mikhail.


Bug#1006131: rus-ispell: please stop build-depending on myspell-tools

2022-02-21 Thread Agustin Martin
El sáb, 19 feb 2022 a las 17:39, Mattia Rizzolo () escribió:
>
> Source: rus-ispell
> Version: 0.99g5-27
> Severity: serious
>
> Dear maintainer,
>
> we plan to remove src:myspell really soon, and together with it also
> the package "myspell-tools".
> Your package still depends on it.

Hi, thanks for reminding,

I am thinking about using ispellaff2myspell --bylocale flag with
russian koi8-r locale set. This should only require an extra¡
build-dep on locales-all and change myspell-tools to hunspell-tools. I
am checking the result and only have noticed some sorting differences
in characters inside regexp groups, nothing that should be a problem.
Other approach would be to borrow i2myspell, which is unmaintained.

I do not speak russian, but I think this is nearly ready for release,
hope Mikhail does not find problems with this.

Unless problems appear, expect an upload soon.

Regards,

-- 
Agustin



Bug#1006131: rus-ispell: please stop build-depending on myspell-tools

2022-02-19 Thread Mattia Rizzolo
Source: rus-ispell
Version: 0.99g5-27
Severity: serious

Dear maintainer,

we plan to remove src:myspell really soon, and together with it also
the package "myspell-tools".
Your package still depends on it.

Please see whether you can move whatever the package is doing to
hunspell-tools, or otherwise please tell us src:hunspell maintainers how
that is not possible for you.

Thank you for maintaining rus-ispell.

-- 
regards,
Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540  .''`.
More about me:  https://mapreri.org : :'  :
Launchpad user: https://launchpad.net/~mapreri  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-


signature.asc
Description: PGP signature