Skip to content

Commit b8e8635

Browse files
committed
Fix apostrophe handling
Due to the lack of the ' character in WORDCHARS, hunspell can't properly handle words with apostrophes. $ cat test.txt I've been surprised that it doesn't work as expected! $ hunspell -l -d en_AU test.txt ve doesn $ hunspell -l -d en_CA test.txt ve doesn $ hunspell -l -d en_GB test.txt $ hunspell -l -d en_US test.txt ve doesn $ hunspell -l -d en_ZA test.txt ve doesn
1 parent e727276 commit b8e8635

File tree

6 files changed

+8
-4
lines changed

6 files changed

+8
-4
lines changed

en_AU (Kevin Atkinson)/en_AU.aff

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ ONLYINCOMPOUND c
1414
COMPOUNDRULE 2
1515
COMPOUNDRULE n*1t
1616
COMPOUNDRULE n*mp
17-
WORDCHARS 0123456789
17+
WORDCHARS 0123456789'
1818

1919
PFX A Y 1
2020
PFX A 0 re .

en_CA (Kevin Atkinson)/en_CA.aff

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ ONLYINCOMPOUND c
1414
COMPOUNDRULE 2
1515
COMPOUNDRULE n*1t
1616
COMPOUNDRULE n*mp
17-
WORDCHARS 0123456789
17+
WORDCHARS 0123456789'
1818

1919
PFX A Y 1
2020
PFX A 0 re .

en_GB (Marco Pinto)/en-GB.aff

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ ONLYINCOMPOUND _
3535
COMPOUNDRULE 2
3636
COMPOUNDRULE #*0{
3737
COMPOUNDRULE #*@}
38-
WORDCHARS 0123456789
38+
WORDCHARS 0123456789'
3939

4040
REP 27
4141
REP f ph

en_US (Kevin Atkinson)/en_US.aff

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ ONLYINCOMPOUND c
1414
COMPOUNDRULE 2
1515
COMPOUNDRULE n*1t
1616
COMPOUNDRULE n*mp
17-
WORDCHARS 0123456789
17+
WORDCHARS 0123456789'
1818

1919
PFX A Y 1
2020
PFX A 0 re .

en_ZA (Dwayne Bailey) (2012-07-10)/en_ZA.aff

+2
Original file line numberDiff line numberDiff line change
@@ -1180,6 +1180,8 @@ ICONV fl fl
11801180
OCONV 1
11811181
OCONV ' ’
11821182

1183+
WORDCHARS 0123456789'
1184+
11831185
# PHONEtic_english.h - #PHONEtic transformation rules for use with #PHONEtic.c
11841186
# Copyright (C) 2000 Björn Jacke
11851187
#

en_ZA (Dwayne Bailey)/en_ZA.aff

+2
Original file line numberDiff line numberDiff line change
@@ -1211,6 +1211,8 @@ ICONV fl fl
12111211
OCONV 1
12121212
OCONV ' ’
12131213

1214+
WORDCHARS 0123456789'
1215+
12141216
# PHONEtic_english.h - #PHONEtic transformation rules for use with #PHONEtic.c
12151217
# Copyright (C) 2000 Björn Jacke
12161218
#

0 commit comments

Comments
 (0)