Description: Some forms that need correcting can be corrected to different correct forms. Auto-correction may lead to a form that is not the one desired and needs correction. Steps to Reproduce: In Romanian: type a wrong form (e.g., "razbunata", "rasfatata", "neastamparata" etc) Actual Results: These are automatically corrected to proper forms ("răzbunată"=revenged, fem., "răsfățată"=spoiled/pampered, fem., "neastâmpărată"=naughty/unruly, fem.), but which are not the only ones possible (notably, the definite forms may also be expected in these examples: "răzbunată"=the revenged one, fem., "răsfățată"=the spoiled/pampered one, fem., "neastâmpărată"= the naughty/unruly, fem.). Expected Results: Auto-correction should provide a word unambiguosly expected relatively to the incorrect form to which the automated action is applied. Reproducible: Always User Profile Reset: No Additional Info: I have noticed this while trying to fix the bug on auto-correction being applied to correct Romanian words (https://bugs.documentfoundation.org/show_bug.cgi?id=155087). I am only aware of this problem with the Romanian auto-correction, but I would like to know if this could be identified as a rule: forms that might support multiple correct forms should not be auto-corrected. If this is true, I could apply some adjustments to the Romanian auto-correction while I work for the linked bug report. As said here (https://bugs.documentfoundation.org/show_bug.cgi?id=155087#c21): `The autocorrection tool for any language must be prepared to require the least possible effort from user: the replacements that the tool makes must be correct on 100% cases`. That is not the case if supplementary actions may be required from the user. Auto-correction should not operate when ulterior intervention is not excluded.
(In reply to cipricus from comment #0) > ...but which are not the only ones possible (notably, the definite forms > may also be expected in these examples: "răzbunată"=the revenged one, fem., > "răsfățată"=the spoiled/pampered one, fem., "neastâmpărată"= the > naughty/unruly, fem.). I made a copy/paste error. The above should read: the definite forms may also be expected (are also correct): "răzbunata"=the revenged one, fem.,"răsfățata"=the spoiled/pampered one, fem., "neastâmpărat"= the naughty/unruly, fem. That is, the definite form (ending in `a`) could be expected too, instead of the definite one (ending in `ă`). This structure may trigger this problem with Romanian, but it's not the only possible pattern, while other languages may have their own favorable patterns leading to the same problem. I haven't studied other language auto-correctors and am mentioning Romanian because it's here that I could intervene. The main aspect here is whether a rule like the one aforementioned could be specified: forms that might support multiple correct forms should not be auto-corrected.
e.g. "tacuta" means nothing and should be corrected, but "tăcută"="silent", fem. and "tăcuta"="the silent one" are both correct) For English that would be something like auto-correcting "bleack" to "black" or "bleak", where either (the other one) may be expected.
Thank you for the report. So isn't the solution to remove the entries that are ambiguous from the corresponding DocumentList.xml, so the erroneous form then falls back onto the spellcheck? I assume autocorrect relies exclusively on unambiguous 1-to-1 rules, and a DocumentList.xml can't contain several replacements for the same string. Maybe this report needs to be renamed to "Remove ambiguous Romanian autocorrect entries" so it is more focused and has a chance to be resolved. Are you planning to work on it?
(In reply to Stéphane Guillou (stragu) from comment #3) > Thank you for the report. > So isn't the solution to remove the entries that are ambiguous from the > corresponding DocumentList.xml, so the erroneous form then falls back onto > the spellcheck? I assume autocorrect relies exclusively on unambiguous > 1-to-1 rules, and a DocumentList.xml can't contain several replacements for > the same string. > > Maybe this report needs to be renamed to "Remove ambiguous Romanian > autocorrect entries" so it is more focused and has a chance to be resolved. > Are you planning to work on it? Yes, I would like to work on it, although I don't know how systematically I can do it, but I would like to be able to propose changes when I notice the need at https://gerrit.libreoffice.org/c/core/+/151770 Is that ok?
(In reply to Stéphane Guillou (stragu) from comment #3) > Maybe this report needs to be renamed to "Remove ambiguous Romanian > autocorrect entries" so it is more focused and has a chance to be resolved. I have renamed it.
(In reply to cipricus from comment #4) > Yes, I would like to work on it, although I don't know how systematically I > can do it, but I would like to be able to propose changes when I notice the > need at https://gerrit.libreoffice.org/c/core/+/151770 > > Is that ok? In fact I understand now from another exchange (https://ask.libreoffice.org/t/where-and-how-to-report-errors-in-defaults-of-autocorrection/91034/18?u=cipricus) that once the merge is made changes cannot be made at that address and a new session of changes has to be initiated. Thanks.
Dear cipricus, To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year. There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present. If you have time, please do the following: Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/ If the bug is present, please leave a comment that includes the information from Help - About LibreOffice. If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice. Please DO NOT Update the version field Reply via email (please reply directly on the bug tracker) Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case) If you want to do more to help you can test to see if your issue is a REGRESSION. To do so: 1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/ 2. Test your bug 3. Leave a comment with your results. 4a. If the bug was present with 3.3 - set version to 'inherited from OOo'; 4b. If the bug was not present in 3.3 - add 'regression' to keyword Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug
@Bogdan, I thought you might be interested in this issue
cipricus, I started to work on this, for the beginning I started with letter A, B and C. It is ok what I did, or not? To not spent time and to do something wrong... https://gerrit.libreoffice.org/c/core/+/187665
Cipricus, please take a look for 5 minutes on my patch. If it is ok until now, I will continue, if not I will give up.