Localized autocorrect options

Hi,

How can one add new (language specific) autocorrect rules?
(Tools->Autocorrect options.../Localized options)

Different languages have different rules (for example, single letter
words in Slovak must not stay at the end of a line, which seems to be OK
in English) and it would be nice to have an option to specify them.
Currently, just two such rules exist, one for English and One for French.

Milos

Hi Milos,

2011.08.14. 10:32 keltezéssel, Milos Sramek írta:

Hi,

How can one add new (language specific) autocorrect rules?
(Tools->Autocorrect options.../Localized options)

Different languages have different rules (for example, single letter
words in Slovak must not stay at the end of a line, which seems to be OK
in English) and it would be nice to have an option to specify them.
Currently, just two such rules exist, one for English and One for French.

AutoCorrect rules are implemented in
http://opengrok.libreoffice.org/xref/core/editeng/source/misc/svxacorr.cxx
I doubt however, that your problem (single letter
words in Slovak must not stay at the end of a line) can be solved by
AutoCorrect rules.

Best regards,
Andras

Hi Milos,

2011.08.14. 10:32 keltezéssel, Milos Sramek írta:

Hi,

How can one add new (language specific) autocorrect rules?
(Tools->Autocorrect options.../Localized options)

Different languages have different rules (for example, single letter
words in Slovak must not stay at the end of a line, which seems to be OK
in English) and it would be nice to have an option to specify them.
Currently, just two such rules exist, one for English and One for French.

AutoCorrect rules are implemented in
http://opengrok.libreoffice.org/xref/core/editeng/source/misc/svxacorr.cxx
I doubt however, that your problem (single letter
words in Slovak must not stay at the end of a line) can be solved by
AutoCorrect rules.

We maintain our Afrikaans autocorrect rules as part of our spell checkers:
http://zaf.svn.sourceforge.net/viewvc/zaf/trunk/dict/af/acor/

Then use this script to process the CSV files into the XML:
http://zaf.svn.sourceforge.net/viewvc/zaf/trunk/dict/utils/csv2acor.py?revision=10098&view=markup

Again, this won't solve your specific problem, but it might be a guide to others wanting to make AutoCorrect files for their languages.

Hi Milos,

2011.08.14. 10:32 keltezéssel, Milos Sramek írta:
> Hi,
>
> How can one add new (language specific) autocorrect rules?
> (Tools->Autocorrect options.../Localized options)
>
> Different languages have different rules (for example, single letter
> words in Slovak must not stay at the end of a line, which seems to be OK
> in English) and it would be nice to have an option to specify them.
> Currently, just two such rules exist, one for English and One for French.

AutoCorrect rules are implemented in
http://opengrok.libreoffice.org/xref/core/editeng/source/misc/svxacorr.cxx
I doubt however, that your problem (single letter
words in Slovak must not stay at the end of a line) can be solved by
AutoCorrect rules.

It could if autocorrect for "<a single letter><space>" -> "<the same

<non-breaking space>" worked... Althought that's not exactly

"autocorrect rule" as such...

Regards,
Mihkel

Dňa 22.08.2011 18:30, Mihkel Tõnnov wrote / napísal(a):

Hi Milos,

2011.08.14. 10:32 keltezéssel, Milos Sramek írta:

Hi,

How can one add new (language specific) autocorrect rules?
(Tools->Autocorrect options.../Localized options)

Different languages have different rules (for example, single letter
words in Slovak must not stay at the end of a line, which seems to be OK
in English) and it would be nice to have an option to specify them.
Currently, just two such rules exist, one for English and One for French.

AutoCorrect rules are implemented in
http://opengrok.libreoffice.org/xref/core/editeng/source/misc/svxacorr.cxx
I doubt however, that your problem (single letter
words in Slovak must not stay at the end of a line) can be solved by
AutoCorrect rules.

It could if autocorrect for "<a single letter><space>" -> "<the same
><non-breaking space>" worked... Althought that's not exactly
"autocorrect rule" as such...

Thank you!

The required rule is similar to the existing French rule, so I'll give
it a try. Now I know where it is.

best,
Milos