https://bugs.freedesktop.org/show_bug.cgi?id=68373

          Priority: medium
            Bug ID: 68373
          Assignee: [email protected]
           Summary: Handle terminating wildcard character * in
                    Autocorrection list to support agglutinative languages
          Severity: enhancement
    Classification: Unclassified
                OS: All
          Reporter: [email protected]
          Hardware: Other
            Status: UNCONFIRMED
           Version: unspecified
         Component: Writer
           Product: LibreOffice

Agglutinative languages, like Hungarian use thousands of different suffixes for
nouns. Personal abbreviations would be more usable, automatic corrections of
serious misspellings could cover all occurances with a simple pattern matching
allowing the wildcard character '*' at the end of the replaced word in the
Replace page of Autocorrection Window. For example, "word*" matches all text
starting with "word", and replaced with the "With" replacement string + the
remaining matched text segment.

Test example:

1. Add 

i18n*

in the Replace field of the Tools->Autocorrect Options...->Replace page, and
add

internationalization

to the field "With", and press OK.

With the suggested enhancement (and patch), Writer will replace the following
texts (pressing Enter space, or other word boundary characters at the end):

i18n -> internationalization
i18ns -> internationalizations
i18nxxxx -> internationalizationxxxx

Note: check also the language pop-up menu of the Autocorrect page, replacements
will work only in documents with the same language.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to