From 0dc4b0ee61ee27daabeb77e79158b47155263511 Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Mon, 3 May 2021 16:47:14 -0700 Subject: [PATCH] fix hunspell affix to include apostrophe in wordlist --- debian/changelog | 2 ++ debian/patches/fix_hunspell_affix | 18 ++++++++++++++++++ debian/patches/series | 1 + 3 files changed, 21 insertions(+) create mode 100644 debian/patches/fix_hunspell_affix diff --git a/debian/changelog b/debian/changelog index 4b723aa..bea3e9b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -6,6 +6,8 @@ scowl (2020.12.07-1) unstable; urgency=medium #987857) * Switch to using mk-list instead of custom code for identifying files to include + * Include apostrophe in hunspell affix wordlist; hunspell now supports + contractions (Closes: #491638) -- Don Armstrong Mon, 03 May 2021 16:24:53 -0700 diff --git a/debian/patches/fix_hunspell_affix b/debian/patches/fix_hunspell_affix new file mode 100644 index 0000000..b31f39d --- /dev/null +++ b/debian/patches/fix_hunspell_affix @@ -0,0 +1,18 @@ +--- a/speller/en.aff ++++ b/speller/en.aff +@@ -1,5 +1,5 @@ + SET UTF-8 +-TRY esianrtolcdugmphbyfvkwzESIANRTOLCDUGMPHBYFVKWZ' ++TRY esiaénrtolcdugmfphbyvkw-'.zqjxSNRTLCGDMFPHBEAUYOIVKWóöâôZQJXÅçèîêàïüäñ + ICONV 1 + ICONV ’ ' + NOSUGGEST ! +@@ -14,7 +14,7 @@ + COMPOUNDRULE 2 + COMPOUNDRULE n*1t + COMPOUNDRULE n*mp +-WORDCHARS 0123456789 ++WORDCHARS 0123456789’ + + PFX A Y 1 + PFX A 0 re . diff --git a/debian/patches/series b/debian/patches/series index 2330f78..6c3365e 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -3,3 +3,4 @@ no-zips.diff move_sangs_to_insane deprecate_reprized hunspell_size_70 +fix_hunspell_affix -- 2.39.2