03.08.2018 u 08:51, Krunose je napisao/la:
02.08.2018 u 22:54, Séamas Ó Brógáin je napisao/la:
I was dismayed to discover recently (and surprised that I never noticed
before) that Libre Office disregards the difference between, say, á and
a in spelling checks, and in find and replace. (Dismayed also to
imagine that someone thinks this is a good idea.)
I wonder if anyone knows how (or whether) I could fix this. Or perhaps
it’s not in Libre Office at all but in Hunspell, or otherwise deep down
in the system. I’ve done some searching but can’t find any relevant
information.
In case it matters, I’m using Libre Office 6.0.5.2 on Ubuntu Mate 18.04.
Many thanks for any help.
Well, there's a Hunspell's feature triggered by ICONV replacement
table but caveats exists.
For entry
ICONV á a
Hunspell - and LO as it uses Hunepll - will treat aáa the same as aaa
and it will not flag it as misspelled.
Letter á should be added into TRY section of Hunspell dictionary file
and words with á should make to wordlist so (possibly misspelled) aaa
could be corrected to aáa.
You can't get perfect recognition as that mean that every word in your
language should be added accented to your dictionary and that's
unbearable in terms of maintaining dictionary.
What you could to is add that ICONV replacement table into you
dictionary so accented words get ignored and aáa would not be flagged,
but for aáb you'll still get suggestion aaa when what you really wont
is aáa.
If words in your language in writing are not generally accented, than
you need to find a workaround. Accented letter is still a different
letter then regular (a ~ á) and Hunspell can't tell if it's a accent
or a letter. In Croatian c ~ č ~ ć and non of last two are accented
and are legit (potential) spelling mistakes.
Don't know if this helped.
Kruno
Most reasonable solution is to locate dictionary on your system and add
ICONV replacement table as in
https://github.com/krunose/hr-hunspell/blob/master/hr_HR.aff
so at least you don't get aáa flaged (gets ignored), but again, you
still get suggestion aaa if you misspell accented word: aáb > aaa when
you'd expect aáa.
Spelling checker is for writing regular texts and not designed for
highly technical linguistic text with lot of accents and other special
symbols.
Fell free to ask if you have any further questions, but this is best
possible solution (but workaround actually).
Kruno
--
To unsubscribe e-mail to: users+unsubscribe@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.