allow non-typographical apostrophes
This commit is contained in:
parent
575afcba8d
commit
fed5b4804d
21
hunspell-en-allow-non-typographical.marks.patch
Normal file
21
hunspell-en-allow-non-typographical.marks.patch
Normal file
@ -0,0 +1,21 @@
|
||||
--- wordlist/en_GB.aff 2010-04-15 14:51:13.000000000 +0100
|
||||
+++ wordlist/en_GB.aff 2010-04-15 14:52:07.000000000 +0100
|
||||
@@ -6,6 +6,7 @@
|
||||
# R 1.18, 11/04/05
|
||||
SET ISO8859-1
|
||||
TRY esiaénrtolcdugmfphbyvkw-'.zqjxSNRTLCGDMFPHBEAUYOIVKWóöâôZQJXÅçèîêàïüäñ
|
||||
+WORDCHARS 0123456789'.-¿
|
||||
REP 27
|
||||
REP f ph
|
||||
REP ph f
|
||||
--- wordlist/scowl/speller/en.aff.orig 2010-04-15 14:56:37.000000000 +0100
|
||||
+++ wordlist/scowl/speller/en.aff 2010-04-15 14:57:08.000000000 +0100
|
||||
@@ -12,7 +12,7 @@
|
||||
COMPOUNDRULE 2
|
||||
COMPOUNDRULE n*1t
|
||||
COMPOUNDRULE n*mp
|
||||
-WORDCHARS 0123456789
|
||||
+WORDCHARS 0123456789'.-¿
|
||||
|
||||
PFX A Y 1
|
||||
PFX A 0 re .
|
@ -2,7 +2,7 @@ Name: hunspell-en
|
||||
Summary: English hunspell dictionaries
|
||||
%define upstreamid 20100322
|
||||
Version: 0.%{upstreamid}
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
#svn co https://wordlist.svn.sourceforge.net/svnroot/wordlist/trunk wordlist
|
||||
Source0: wordlist-%{upstreamid}.tar.bz2
|
||||
Source1: http://en-gb.pyxidium.co.uk/dictionary/en_GB.zip
|
||||
@ -11,6 +11,9 @@ Patch0: mozilla_words.patch
|
||||
Patch1: en_GB-singleletters.patch
|
||||
Patch2: en_GB.two_initial_caps.patch
|
||||
Patch3: en_US-strippedabbrevs.patch
|
||||
#See https://sourceforge.net/tracker/?func=detail&aid=2987192&group_id=143754&atid=756397
|
||||
#to allow "didn't" instead of suggesting change to typographical apostrophe
|
||||
Patch4: hunspell-en-allow-non-typographical.marks.patch
|
||||
Group: Applications/Text
|
||||
URL: http://wordlist.sourceforge.net/
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
@ -29,6 +32,7 @@ English (US, UK, etc.) hunspell dictionaries
|
||||
%patch1 -p1 -b .singleletters
|
||||
%patch2 -p1 -b .two_initial_cap
|
||||
%patch3 -p1 -b .strippedabbrevs
|
||||
%patch4 -p1 -b .allow-non-typographical
|
||||
|
||||
%build
|
||||
make
|
||||
@ -74,6 +78,9 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_datadir}/myspell/*
|
||||
|
||||
%changelog
|
||||
* Thu Apr 15 2010 Caolan McNamara <caolanm@redhat.com> - 0.20100322-2
|
||||
- allow non-typographical apostrophes
|
||||
|
||||
* Wed Mar 31 2010 Caolan McNamara <caolanm@redhat.com> - 0.20100322-1
|
||||
- latest version
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user