From 79b662808e98cda02dc4326f32cfce28fcbba7b8 Mon Sep 17 00:00:00 2001 From: László Németh Date: Tue, 27 Feb 2018 23:41:10 +0100 Subject: tdf#116072 Improve Hungarian spell checking by better word breaking MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Tested-by: László Németh (cherry picked from commit 2b7711678410bc531e9d07b4d6f85bfb85f2116a) Reviewed-on: https://gerrit.libreoffice.org/50552 Reviewed-by: Andras Timar Tested-by: Andras Timar --- hu_HU/hu_HU.aff | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 -- cgit