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

            Bug ID: 143763
           Summary: Aragonese (an_ES) spellchecking dictionary has extra
                    unneeded slashed
           Product: LibreOffice
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Localization
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: dm...@hotmail.com

Description:
Here is the dictionary
https://cgit.freedesktop.org/libreoffice/dictionaries/tree/an_ES/an_ES.dic

If we do run:

grep -P '/\s*$' an_ES.dic

we can find the problematic lines. There are 2315 problematic lines. A short
example:

doi/
voi/
vas/
va/
vamos/
vatz/
van/
iba/
ibas/
ibanos/

Those slashes should be removed. That will reduce the files size and speedup
the loading of the dictionary. The fix can be done with sed to replace the
slashes and then with uniq to remove some adjacent duplicate lines.

This bug should be fixed here as this dictionary has no author's upstream, this
is its best upstream. 

Steps to Reproduce:
1. cd to this directory
https://cgit.freedesktop.org/libreoffice/dictionaries/tree/an_ES
2. run grep -P '/\s*$' an_ES.dic

Actual Results:
Grep returns 2315 lines.

Expected Results:
Grep should return nothing.


Reproducible: Always


User Profile Reset: No



Additional Info:
No other information.

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

Reply via email to