[Libreoffice-bugs] [Bug 138495] New: Removed duplicate lines from spelling dictionaries

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Nov 25 15:49:52 UTC 2020


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

            Bug ID: 138495
           Summary: Removed duplicate lines from spelling dictionaries
           Product: LibreOffice
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: minor
          Priority: medium
         Component: Linguistic
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: pander at users.sourceforge.net
                CC: sophi at libreoffice.org

The following command will list all duplicate lines in .dic dictionary files
for the spelling checker:

for i in $(find . -name '*.dic' -type f); do echo -n $i\ ; sort $i|uniq -c|grep
-v '      1 '; done

Please deduplicate the lines for the dictionaries maintained here and if
possible report upstream author.

Note that changes to .dic files need an update of the first line of the .dic
file in which the number of words in that dictionary is listed.

Some dictionaries have hundreds of duplicate lines. Improving dictionaries will
(marginally) increase dictionary load times and improve dictionary
maintainability.

-- 
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/20201125/21f76395/attachment.htm>


More information about the Libreoffice-bugs mailing list