Bram Moolenaar | 8cc5b55 | 2022-06-23 13:04:20 +0100 | [diff] [blame] | 1 | The location of source files for Serbian spelling dictionary were downloaded |
| 2 | from |
| 3 | https://github.com/LibreOffice/dictionaries/tree/master/sr |
| 4 | (Serbian Spelling and Hyphenation for LibreOffice). |
| 5 | |
| 6 | Here is the content of original README file from the repository: |
| 7 | |
| 8 | "LibreOffice Spelling and Hyphenation |
| 9 | extension package for Serbian (Cyrillic and Latin) |
| 10 | |
| 11 | This extension package includes the Hunspell dictionary and Hyphen |
| 12 | hyphenation patterns for the Serbian language adapted for usage in |
| 13 | LibreOffice. |
| 14 | |
| 15 | Serbian spelling dictionary is developed by Milutin Smiljanic |
| 16 | <msmiljanic.gm@gmail.com> and is released under GNU LGPL version 3 or |
| 17 | later / MPL version 2 or later / GNU GPL version 3 or later, giving |
| 18 | you the choice of one of the three sets of free software licensing |
| 19 | terms. |
| 20 | |
| 21 | Serbian hyphenation patterns are derived from the official TeX |
| 22 | patterns for Serbocroatian language (Cyrillic and Latin) created by |
| 23 | Dejan Muhamedagić, version 2.02 from 22 June 2008 adopted for usage |
| 24 | with Hyphen hyphenation library and released under GNU LGPL version |
| 25 | 2.1 or later." |
| 26 | |
| 27 | |
| 28 | This dictionary used to create Vim spl file is the result of merging the two |
| 29 | LibreOffice dictionaries, for cyrillic and latin script. |
| 30 | |
| 31 | The merge was accomplished by concatenating two .dic files, removing 1061 |
| 32 | duplicates using the fixdup Vim script and updating the word count. |
| 33 | |
| 34 | In both affix files each SFX (and two PFX) directive had to be appended with |
| 35 | the . at the end of the line. KEY and WORDCHAR directives were removed, and |
| 36 | MIDWORD was added. Each SFX block is the union of corresponding blocks from |
| 37 | sr.aff and sr-Latn.aff. Header line of each block was updated to the new |
| 38 | count (2 times the value from the corresponding block in the input affix |
| 39 | file). |
| 40 | |
| 41 | |
| 42 | Ivan Pešić |
| 43 | 23.06.2022. |