summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLászló Németh <nemeth@numbertext.org>2018-02-27 23:41:10 +0100
committerLászló Németh <nemeth@numbertext.org>2018-02-28 08:44:03 +0100
commit2b7711678410bc531e9d07b4d6f85bfb85f2116a (patch)
tree51ef9c82f6c44e8928d2307e9887a95ab34a67c2
parented6a0c24ca0c76b21375f73c29cc73e9974142ea (diff)
tdf#116072 Improve Hungarian spell checking by better word breaking
and ignore the special characters of the word forms, or break at the special character and check the word stem and affix (with a starting hyphen) separately: vár(hat)nak -> várhatnak „Tisza”-ban -> Tisza, -ban [Note: this removes false alarms in Writer, but extra grammar checking can help to check matching of the stem and the affix.] Change-Id: Icb810ccc1ecb84fea3ee5093100e2fdc874edb6c Reviewed-on: https://gerrit.libreoffice.org/50475 Reviewed-by: László Németh <nemeth@numbertext.org> Tested-by: László Németh <nemeth@numbertext.org>
-rw-r--r--hu_HU/hu_HU.aff7
1 files changed, 6 insertions, 1 deletions
diff --git a/hu_HU/hu_HU.aff b/hu_HU/hu_HU.aff
index 4bd393f..235f785 100644
--- a/hu_HU/hu_HU.aff
+++ b/hu_HU/hu_HU.aff
@@ -111,13 +111,16 @@ MAP ií
MAP oóöő
MAP uúüű
-BREAK 6
+BREAK 9
BREAK –
BREAK -
BREAK ^-
BREAK -$
BREAK -beli$
BREAK -féle$
+BREAK "
+BREAK ?
+BREAK !
# szmok
# 0. osztly: szmjegyek
@@ -128,6 +131,8 @@ COMPOUNDRULE 2
COMPOUNDRULE 0*1
COMPOUNDRULE 00*20*1
+IGNORE ()]
+
# f-ligatrk
ICONV 5