[Libreoffice-bugs] [Bug 139185] "creatine" is detected as a Romanian word

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Dec 23 16:39:34 UTC 2020


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

--- Comment #4 from Mike Kaganski <mikekaganski at hotmail.com> ---
Looking into the code, OP seems to have guessed right.

The menu items are created in EditView::ExecuteSpellPopup
(editeng/source/editeng/editview.cxx). It uses a language guesser, implemented
in lingucomponent/source/languageguessing/guesslang.cxx.

When used for a single word, EditView::CheckLanguage tries four languages:
* The default document language from "Tools/Options - Language Settings -
Languages: Western";
* The one from "Tools/Options - Language Settings - Languages: User interface";
* The one from "Tools/Options - Language Settings - Languages: Locale setting";
* en-US.
If they have active dictionaries, then first of them is used further.

When checking paragraph text, the language guesser uses libexttextcat [1] to
perform a "fingerprint-based" guessing. It looks highly unreliable, based on
the evidence...

I suppose it is the same as (part of) tdf#66051. Personally I would just drop
it.

[1] https://wiki.documentfoundation.org/Libexttextcat

-- 
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/20201223/7e05c074/attachment.htm>


More information about the Libreoffice-bugs mailing list