[Libreoffice-bugs] [Bug 118601] word in Greek with all letters capitalized is correct with or without accent (diacritical marks)

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sun Jul 22 05:39:08 UTC 2018


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

--- Comment #7 from Ηλίας Ηλιάδης <apiuano-lobugs at yahoo.gr> ---
I think a small script that will remove the diacritics from dictionary words
before comparing them with the capitalized version can do the trick.

For removing of diacritics (accent) there is a working LUA table in
https://el.wiktionary.org/wiki/Module:Kleida-el used for correct dictionary
sorting.

These "maps" can easily be extracted and converted to upper case for the final
"check".

The idea is that all words in dictionary be capitalized and then apply to them
a "remove accent" script. The "full" capitalized word in LibreOffice can then
be checked against these "transformed" words.

Although in the dictionary sorting the case is irrelevant, for correct
"orthographic checking" is better to use a "to upper" approach, since final "ς"
will be correctly handled in the capitalized version.

-- 
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/20180722/7ec3290c/attachment.html>


More information about the Libreoffice-bugs mailing list