add mozilla words

This commit is contained in:
Caolan McNamara 2008-02-07 15:31:53 +00:00
parent 2866615b85
commit 92a37ff51e
2 changed files with 152 additions and 1 deletions

View File

@ -2,10 +2,12 @@ Name: hunspell-en
Summary: English hunspell dictionaries
%define upstreamid 20061130
Version: 0.%{upstreamid}
Release: 4%{?dist}
Release: 5%{?dist}
Source0: http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries/en_US.zip
Source1: http://en-gb.pyxidium.co.uk/dictionary/en_GB.zip
Source2: http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries/en_CA.zip
#See http://mxr.mozilla.org/mozilla/source/extensions/spellcheck/locales/en-US/hunspell/mozilla_words.diff?raw=1
Patch0: mozilla_words.patch
Group: Applications/Text
URL: http://en-gb.pyxidium.co.uk/dictionary
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@ -21,6 +23,7 @@ English (US, UK, etc.) hunspell dictionaries
%setup -q -c -n %{name}
%setup -q -T -D -a 1 -n %{name}
%setup -q -T -D -a 2 -n %{name}
%patch -p0 -b mozilla
%build
@ -52,6 +55,9 @@ rm -rf $RPM_BUILD_ROOT
%{_datadir}/myspell/*
%changelog
* Thu Feb 07 2008 Caolan McNamara <caolanm@redhat.com> - 0.20061130-5
- apply mozilla word diff
* Tue Jan 15 2008 Caolan McNamara <caolanm@redhat.com> - 0.20061130-4
- clean up spec

145
mozilla_words.patch Normal file
View File

@ -0,0 +1,145 @@
diff -up4 en_US.dic en_US.dic
--- en_US.dic Sat Nov 24 21:50:56 2007
+++ en_US.dic Sat Dec 8 10:05:34 2007
@@ -7507,6 +7507,7 @@
Buford/M
bugaboo/SM
Bugatti/M
+Bugzilla/M
bugbear/SM
bug/CS
bugeyed
@@ -8166,6 +8167,7 @@
Camile/M
Camilla/M
Camille/M
+Camino/M
Cami/M
Camino/M
camion/M
@@ -9551,6 +9553,7 @@
Chatterley/M
chatter/SZGDRY
Chatterton/M
+ChatZilla/M
chattily
chattiness/SM
chatting
@@ -26557,6 +26560,7 @@
HTML
Hts/M
HTTP
+HTTPS
Huang/M
huarache/SM
hubba
@@ -26702,6 +26706,7 @@
hung/A
Hungarian/MS
Hungary/M
+Hunspell
hunger/SDMG
Hung/M
hungover
@@ -33981,6 +33986,7 @@
Mandie/M
Mandi/M
Mandingo/M
+Mandriva/M
mandolin/MS
mandrake/MS
mandrel/SM
@@ -37362,6 +37368,7 @@
my/S
myself
Mysore/M
+MySpell/M
mysteriousness/MS
mysterious/YP
mystery/MDSG
@@ -42232,6 +42239,8 @@
Phip/M
Phipps/M
phi/SM
+phish/DGS
+phisher/MS
phlebitides
phlebitis/M
phlegmatic
@@ -49255,6 +49264,7 @@
Seagate/M
seagoing
Seagram/M
+SeaMonkey/M
seagull/S
seahorse/S
sealant/MS
@@ -52008,7 +52018,11 @@
Spain/M
spake
Spalding/M
-Spam/M
+spam/S
+spamblock/S
+spammed
+spammer/MS
+spamming
spa/MS
Span
spandex/MS
@@ -53946,6 +53960,7 @@
sunbath/ZRSDG
sunbeam/MS
Sunbelt/M
+Sunbird/M
sunblock/S
sunbonnet/MS
sunburn/GSMD
@@ -58370,6 +58385,8 @@
unindustrialized/MS
uninhibited/YP
uninominal
+uninstall/GSBD
+uninstaller/MS
uninsured
unintellectual
unintended
@@ -58572,6 +58589,8 @@
unstudied
unstuffy
unsubdued
+unsubscribe/DGS
+unsubscriber/MS
unsubstantial
unsubtle
unsuitable
@@ -60432,6 +60451,8 @@
webfeet
webfoot/M
Web/MR
+webmaster/MS
+webmistress/S
website/S
web/SMR
Webster/MS
diff -up4 en_US.aff en_US.aff
--- en_US.aff Fri Jan 11 00:27:09 2008
+++ en_US.aff Sat Jan 12 09:00:41 2008
@@ -109,15 +109,16 @@ SFX B e able [^aeiou]e
SFX L Y 1
SFX L 0 ment .
-REP 88
+REP 89
REP a ei
REP ei a
REP a ey
REP ey a
REP ai ie
REP ie ai
+REP alot a_lot
REP are air
REP are ear
REP are eir
REP air are