]> git.donarmstrong.com Git - deb_pkgs/scowl.git/commitdiff
fix hunspell affix to include apostrophe in wordlist
authorDon Armstrong <don@donarmstrong.com>
Mon, 3 May 2021 23:47:14 +0000 (16:47 -0700)
committerDon Armstrong <don@donarmstrong.com>
Mon, 3 May 2021 23:48:24 +0000 (16:48 -0700)
debian/changelog
debian/patches/fix_hunspell_affix [new file with mode: 0644]
debian/patches/series

index 4b723aa5a93f32d93c076ca4720ea97ce288860c..bea3e9be125f53df19c2272605d23113ffb38a2f 100644 (file)
@@ -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 <don@debian.org>  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 (file)
index 0000000..b31f39d
--- /dev/null
@@ -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         .
index 2330f78773e610b5835339a113158653fde514f2..6c3365e7c169924ddb60e79ae3a644ec8dec35d2 100644 (file)
@@ -3,3 +3,4 @@ no-zips.diff
 move_sangs_to_insane
 deprecate_reprized
 hunspell_size_70
+fix_hunspell_affix