[Libreoffice-bugs] [Bug 143763] New: Aragonese (an_ES) spellchecking dictionary has extra unneeded slashed

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Aug 6 19:54:43 UTC 2021


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 at lists.freedesktop.org
          Reporter: dmjpp at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210806/b18a0def/attachment.htm>


More information about the Libreoffice-bugs mailing list