diff --git a/.gitignore b/.gitignore index 002cd80..b2eab21 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,2 @@ -SOURCES/en_GB.zip -SOURCES/rel-2014.08.11.1.tar.gz /en_GB.zip /rel-2014.08.11.1.tar.gz diff --git a/hunspell-en-irregular-plural-possessive.patch b/hunspell-en-irregular-plural-possessive.patch new file mode 100644 index 0000000..f6f030d --- /dev/null +++ b/hunspell-en-irregular-plural-possessive.patch @@ -0,0 +1,18 @@ +--- wordlist.orig/scowl/src/add-affixes 2012-10-11 13:05:58.864864580 +0100 ++++ wordlist/scowl/src/add-affixes 2012-10-11 14:11:05.144908897 +0100 +@@ -74,6 +74,15 @@ + @a = grep {not $remove{"$w:$p:$_"}} @a; + next unless @a; + $lookup{$w} .= join("\n",@a)."\n"; ++ next unless $p eq 'N'; ++ ++ # For irregular nouns that have plurals that do not end in s ++ # then add the possessive form of the plural as well ++ foreach (@a) { ++ next unless (substr($_,-1,1) ne 's'); ++ $possessive{$_} = "$_\'s\n"; ++ $lookup{$w} .= $possessive{$_}; ++ } + } + + unless ($no_possessive) {