https://bugs.documentfoundation.org/show_bug.cgi?id=164366

            Bug ID: 164366
           Summary: invalid mongolian hunspell dictionary: easy fix
           Product: LibreOffice
           Version: 25.2.0.0 alpha0+
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Localization
          Assignee: [email protected]
          Reporter: [email protected]

Description:
commit 31bc2a1104a1cd175f900902f994c76dea35c763 to the LibreOffice/dictionaries
repository results in an invalid .aff file.

according to the hunspell manual page, the format of REP rules is:
REP number_of_replacement_definitions
REP what replacement

After this commit, the mongolian dictionary specifies 3619 replacement
definitions but then 3621 follow that.

So the fix is simple, one line change:
https://github.com/LibreOffice/dictionaries/pull/46

I apologize for being unable to figure out the gerrit setup: I'll attach a
patch file to this bug report containing the fix as well.

Steps to Reproduce:
1. Look at mn_MN.AFF file and witness the REP 3619 specifying 3619 definitions
2. Count that 3621 REP definitions follow it.

Actual Results:
REP 3619 is specified

Expected Results:
REP 3621 is specified


Reproducible: Always


User Profile Reset: Yes

Additional Info:
Problematic commit:
https://github.com/LibreOffice/dictionaries/commit/d1696029d8923ae697cb2d6d4d7d69791b1943f2

Background: We support parsers for the hunspell format in Apache Lucene, and
our CI system detected the dictionary issue.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to