Add 'WP' function, spelling and thesaurus files
This commit is contained in:
BIN
spell/en.ascii.spl
Normal file
BIN
spell/en.ascii.spl
Normal file
Binary file not shown.
BIN
spell/en.ascii.sug
Normal file
BIN
spell/en.ascii.sug
Normal file
Binary file not shown.
BIN
spell/en.latin1.spl
Normal file
BIN
spell/en.latin1.spl
Normal file
Binary file not shown.
BIN
spell/en.latin1.sug
Normal file
BIN
spell/en.latin1.sug
Normal file
Binary file not shown.
BIN
spell/en.utf-8.spl
Normal file
BIN
spell/en.utf-8.spl
Normal file
Binary file not shown.
BIN
spell/en.utf-8.sug
Normal file
BIN
spell/en.utf-8.sug
Normal file
Binary file not shown.
2713
spell/en/en_AU.diff
Normal file
2713
spell/en/en_AU.diff
Normal file
File diff suppressed because it is too large
Load Diff
238
spell/en/en_CA.diff
Normal file
238
spell/en/en_CA.diff
Normal file
@@ -0,0 +1,238 @@
|
|||||||
|
*** en_CA.orig.aff 2015-12-30 18:18:20.076952127 +0100
|
||||||
|
--- en_CA.aff 2016-01-09 13:15:51.306488848 +0100
|
||||||
|
***************
|
||||||
|
*** 2,18 ****
|
||||||
|
TRY esianrtolcdugmphbyfvkwzESIANRTOLCDUGMPHBYFVKWZ'
|
||||||
|
! ICONV 1
|
||||||
|
! ICONV ’ '
|
||||||
|
NOSUGGEST !
|
||||||
|
|
||||||
|
! # ordinal numbers
|
||||||
|
! COMPOUNDMIN 1
|
||||||
|
! # only in compounds: 1th, 2th, 3th
|
||||||
|
! ONLYINCOMPOUND c
|
||||||
|
! # compound rules:
|
||||||
|
! # 1. [0-9]*1[0-9]th (10th, 11th, 12th, 56714th, etc.)
|
||||||
|
! # 2. [0-9]*[02-9](1st|2nd|3rd|[4-9]th) (21st, 22nd, 123rd, 1234th, etc.)
|
||||||
|
! COMPOUNDRULE 2
|
||||||
|
! COMPOUNDRULE n*1t
|
||||||
|
! COMPOUNDRULE n*mp
|
||||||
|
! WORDCHARS 0123456789
|
||||||
|
|
||||||
|
--- 2,161 ----
|
||||||
|
TRY esianrtolcdugmphbyfvkwzESIANRTOLCDUGMPHBYFVKWZ'
|
||||||
|
!
|
||||||
|
! # ICONV 1
|
||||||
|
! # ICONV ’ '
|
||||||
|
!
|
||||||
|
NOSUGGEST !
|
||||||
|
|
||||||
|
! FOL àáâãäåæçèéêëìíîïðñòóôõöøùúûüýþßÿ
|
||||||
|
! LOW àáâãäåæçèéêëìíîïðñòóôõöøùúûüýþßÿ
|
||||||
|
! UPP ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞßÿ
|
||||||
|
!
|
||||||
|
! MIDWORD '
|
||||||
|
!
|
||||||
|
! RARE ?
|
||||||
|
! BAD %
|
||||||
|
!
|
||||||
|
! MAP 9
|
||||||
|
! MAP aàáâãäå
|
||||||
|
! MAP eèéêë
|
||||||
|
! MAP iìíîï
|
||||||
|
! MAP oòóôõö
|
||||||
|
! MAP uùúûü
|
||||||
|
! MAP nñ
|
||||||
|
! MAP cç
|
||||||
|
! MAP yÿý
|
||||||
|
! MAP sß
|
||||||
|
!
|
||||||
|
! # This comes from Aspell en_phonet.dat, version 1.1, 2000-01-07
|
||||||
|
!
|
||||||
|
! SAL AH(AEIOUY)-^ *H
|
||||||
|
! SAL AR(AEIOUY)-^ *R
|
||||||
|
! SAL A(HR)^ *
|
||||||
|
! SAL A^ *
|
||||||
|
! SAL AH(AEIOUY)- H
|
||||||
|
! SAL AR(AEIOUY)- R
|
||||||
|
! SAL A(HR) _
|
||||||
|
! SAL À^ *
|
||||||
|
! SAL Å^ *
|
||||||
|
! SAL BB- _
|
||||||
|
! SAL B B
|
||||||
|
! SAL CQ- _
|
||||||
|
! SAL CIA X
|
||||||
|
! SAL CH X
|
||||||
|
! SAL C(EIY)- S
|
||||||
|
! SAL CK K
|
||||||
|
! SAL COUGH^ KF
|
||||||
|
! SAL CC< C
|
||||||
|
! SAL C K
|
||||||
|
! SAL DG(EIY) K
|
||||||
|
! SAL DD- _
|
||||||
|
! SAL D T
|
||||||
|
! SAL É< E
|
||||||
|
! SAL EH(AEIOUY)-^ *H
|
||||||
|
! SAL ER(AEIOUY)-^ *R
|
||||||
|
! SAL E(HR)^ *
|
||||||
|
! SAL ENOUGH^$ *NF
|
||||||
|
! SAL E^ *
|
||||||
|
! SAL EH(AEIOUY)- H
|
||||||
|
! SAL ER(AEIOUY)- R
|
||||||
|
! SAL E(HR) _
|
||||||
|
! SAL FF- _
|
||||||
|
! SAL F F
|
||||||
|
! SAL GN^ N
|
||||||
|
! SAL GN$ N
|
||||||
|
! SAL GNS$ NS
|
||||||
|
! SAL GNED$ N
|
||||||
|
! SAL GH(AEIOUY)- K
|
||||||
|
! SAL GH _
|
||||||
|
! SAL GG9 K
|
||||||
|
! SAL G K
|
||||||
|
! SAL H H
|
||||||
|
! SAL IH(AEIOUY)-^ *H
|
||||||
|
! SAL IR(AEIOUY)-^ *R
|
||||||
|
! SAL I(HR)^ *
|
||||||
|
! SAL I^ *
|
||||||
|
! SAL ING6 N
|
||||||
|
! SAL IH(AEIOUY)- H
|
||||||
|
! SAL IR(AEIOUY)- R
|
||||||
|
! SAL I(HR) _
|
||||||
|
! SAL J K
|
||||||
|
! SAL KN^ N
|
||||||
|
! SAL KK- _
|
||||||
|
! SAL K K
|
||||||
|
! SAL LAUGH^ LF
|
||||||
|
! SAL LL- _
|
||||||
|
! SAL L L
|
||||||
|
! SAL MB$ M
|
||||||
|
! SAL MM M
|
||||||
|
! SAL M M
|
||||||
|
! SAL NN- _
|
||||||
|
! SAL N N
|
||||||
|
! SAL OH(AEIOUY)-^ *H
|
||||||
|
! SAL OR(AEIOUY)-^ *R
|
||||||
|
! SAL O(HR)^ *
|
||||||
|
! SAL O^ *
|
||||||
|
! SAL OH(AEIOUY)- H
|
||||||
|
! SAL OR(AEIOUY)- R
|
||||||
|
! SAL O(HR) _
|
||||||
|
! SAL PH F
|
||||||
|
! SAL PN^ N
|
||||||
|
! SAL PP- _
|
||||||
|
! SAL P P
|
||||||
|
! SAL Q K
|
||||||
|
! SAL RH^ R
|
||||||
|
! SAL ROUGH^ RF
|
||||||
|
! SAL RR- _
|
||||||
|
! SAL R R
|
||||||
|
! SAL SCH(EOU)- SK
|
||||||
|
! SAL SC(IEY)- S
|
||||||
|
! SAL SH X
|
||||||
|
! SAL SI(AO)- X
|
||||||
|
! SAL SS- _
|
||||||
|
! SAL S S
|
||||||
|
! SAL TI(AO)- X
|
||||||
|
! SAL TH @
|
||||||
|
! SAL TCH-- _
|
||||||
|
! SAL TOUGH^ TF
|
||||||
|
! SAL TT- _
|
||||||
|
! SAL T T
|
||||||
|
! SAL UH(AEIOUY)-^ *H
|
||||||
|
! SAL UR(AEIOUY)-^ *R
|
||||||
|
! SAL U(HR)^ *
|
||||||
|
! SAL U^ *
|
||||||
|
! SAL UH(AEIOUY)- H
|
||||||
|
! SAL UR(AEIOUY)- R
|
||||||
|
! SAL U(HR) _
|
||||||
|
! SAL V^ W
|
||||||
|
! SAL V F
|
||||||
|
! SAL WR^ R
|
||||||
|
! SAL WH^ W
|
||||||
|
! SAL W(AEIOU)- W
|
||||||
|
! SAL X^ S
|
||||||
|
! SAL X KS
|
||||||
|
! SAL Y(AEIOU)- Y
|
||||||
|
! SAL ZZ- _
|
||||||
|
! SAL Z S
|
||||||
|
!
|
||||||
|
! # When soundfolding "th" is turned into "@". When this is mistyped as "ht" it
|
||||||
|
! # soundfolds to "ht". This difference is too big, thus use REP items to lower
|
||||||
|
! # the score.
|
||||||
|
! REPSAL 2
|
||||||
|
! REPSAL ht @
|
||||||
|
! REPSAL @ ht
|
||||||
|
!
|
||||||
|
! # This is disabled, because if Vim does not support NOCOMPOUNDSUGS giving
|
||||||
|
! # suggestions is extremely slow.
|
||||||
|
! ## ordinal numbers
|
||||||
|
! #COMPOUNDMIN 1
|
||||||
|
! ## only in compounds: 1th, 2th, 3th
|
||||||
|
! #ONLYINCOMPOUND c
|
||||||
|
! ## compound rules:
|
||||||
|
! ## 1. [0-9]*1[0-9]th (10th, 11th, 12th, 56714th, etc.)
|
||||||
|
! ## 2. [0-9]*[02-9](1st|2nd|3rd|[4-9]th) (21st, 22nd, 123rd, 1234th, etc.)
|
||||||
|
! #COMPOUNDRULE 2
|
||||||
|
! #COMPOUNDRULE n*1t
|
||||||
|
! #COMPOUNDRULE n*mp
|
||||||
|
! #NOCOMPOUNDSUGS
|
||||||
|
!
|
||||||
|
! # WORDCHARS 0123456789
|
||||||
|
|
||||||
|
*** en_CA.orig.dic 2015-12-30 18:20:47.803358258 +0100
|
||||||
|
--- en_CA.dic 2016-01-08 23:03:52.562085247 +0100
|
||||||
|
***************
|
||||||
|
*** 1,25 ****
|
||||||
|
48929
|
||||||
|
! 0/nm
|
||||||
|
! 0th/pt
|
||||||
|
! 1/n1
|
||||||
|
! 1st/p
|
||||||
|
! 1th/tc
|
||||||
|
! 2/nm
|
||||||
|
! 2nd/p
|
||||||
|
! 2th/tc
|
||||||
|
! 3/nm
|
||||||
|
! 3rd/p
|
||||||
|
! 3th/tc
|
||||||
|
! 4/nm
|
||||||
|
! 4th/pt
|
||||||
|
! 5/nm
|
||||||
|
! 5th/pt
|
||||||
|
! 6/nm
|
||||||
|
! 6th/pt
|
||||||
|
! 7/nm
|
||||||
|
! 7th/pt
|
||||||
|
! 8/nm
|
||||||
|
! 8th/pt
|
||||||
|
! 9/nm
|
||||||
|
! 9th/pt
|
||||||
|
A/SM
|
||||||
|
--- 1,12 ----
|
||||||
|
48929
|
||||||
|
! 0th
|
||||||
|
! 1st
|
||||||
|
! 2nd
|
||||||
|
! 3rd
|
||||||
|
! 4th
|
||||||
|
! 5th
|
||||||
|
! 6th
|
||||||
|
! 7th
|
||||||
|
! 8th
|
||||||
|
! 9th
|
||||||
|
A/SM
|
||||||
|
***************
|
||||||
|
*** 48930 ****
|
||||||
|
--- 48917,48927 ----
|
||||||
|
zymurgy/M
|
||||||
|
+ a a/%
|
||||||
|
+ a an/%
|
||||||
|
+ a the/%
|
||||||
|
+ an a/%
|
||||||
|
+ an an/%
|
||||||
|
+ an the/%
|
||||||
|
+ and and/%
|
||||||
|
+ the a/%
|
||||||
|
+ the an/%
|
||||||
|
+ the the/%
|
||||||
214
spell/en/en_GB.diff
Normal file
214
spell/en/en_GB.diff
Normal file
@@ -0,0 +1,214 @@
|
|||||||
|
*** en_GB.orig.aff 2015-12-30 18:49:37.568638905 +0100
|
||||||
|
--- en_GB.aff 2016-01-09 13:15:56.490432894 +0100
|
||||||
|
***************
|
||||||
|
*** 20,21 ****
|
||||||
|
--- 20,158 ----
|
||||||
|
|
||||||
|
+ FOL àáâãäåæçèéêëìíîïðñòóôõöøùúûüýþßÿ
|
||||||
|
+ LOW àáâãäåæçèéêëìíîïðñòóôõöøùúûüýþßÿ
|
||||||
|
+ UPP ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞßÿ
|
||||||
|
+
|
||||||
|
+ MIDWORD '
|
||||||
|
+
|
||||||
|
+ RARE ?
|
||||||
|
+ BAD %
|
||||||
|
+
|
||||||
|
+ MAP 9
|
||||||
|
+ MAP aàáâãäå
|
||||||
|
+ MAP eèéêë
|
||||||
|
+ MAP iìíîï
|
||||||
|
+ MAP oòóôõö
|
||||||
|
+ MAP uùúûü
|
||||||
|
+ MAP nñ
|
||||||
|
+ MAP cç
|
||||||
|
+ MAP yÿý
|
||||||
|
+ MAP sß
|
||||||
|
+
|
||||||
|
+ # This comes from Aspell en_phonet.dat, version 1.1, 2000-01-07
|
||||||
|
+
|
||||||
|
+ SAL AH(AEIOUY)-^ *H
|
||||||
|
+ SAL AR(AEIOUY)-^ *R
|
||||||
|
+ SAL A(HR)^ *
|
||||||
|
+ SAL A^ *
|
||||||
|
+ SAL AH(AEIOUY)- H
|
||||||
|
+ SAL AR(AEIOUY)- R
|
||||||
|
+ SAL A(HR) _
|
||||||
|
+ SAL À^ *
|
||||||
|
+ SAL Å^ *
|
||||||
|
+ SAL BB- _
|
||||||
|
+ SAL B B
|
||||||
|
+ SAL CQ- _
|
||||||
|
+ SAL CIA X
|
||||||
|
+ SAL CH X
|
||||||
|
+ SAL C(EIY)- S
|
||||||
|
+ SAL CK K
|
||||||
|
+ SAL COUGH^ KF
|
||||||
|
+ SAL CC< C
|
||||||
|
+ SAL C K
|
||||||
|
+ SAL DG(EIY) K
|
||||||
|
+ SAL DD- _
|
||||||
|
+ SAL D T
|
||||||
|
+ SAL É< E
|
||||||
|
+ SAL EH(AEIOUY)-^ *H
|
||||||
|
+ SAL ER(AEIOUY)-^ *R
|
||||||
|
+ SAL E(HR)^ *
|
||||||
|
+ SAL ENOUGH^$ *NF
|
||||||
|
+ SAL E^ *
|
||||||
|
+ SAL EH(AEIOUY)- H
|
||||||
|
+ SAL ER(AEIOUY)- R
|
||||||
|
+ SAL E(HR) _
|
||||||
|
+ SAL FF- _
|
||||||
|
+ SAL F F
|
||||||
|
+ SAL GN^ N
|
||||||
|
+ SAL GN$ N
|
||||||
|
+ SAL GNS$ NS
|
||||||
|
+ SAL GNED$ N
|
||||||
|
+ SAL GH(AEIOUY)- K
|
||||||
|
+ SAL GH _
|
||||||
|
+ SAL GG9 K
|
||||||
|
+ SAL G K
|
||||||
|
+ SAL H H
|
||||||
|
+ SAL IH(AEIOUY)-^ *H
|
||||||
|
+ SAL IR(AEIOUY)-^ *R
|
||||||
|
+ SAL I(HR)^ *
|
||||||
|
+ SAL I^ *
|
||||||
|
+ SAL ING6 N
|
||||||
|
+ SAL IH(AEIOUY)- H
|
||||||
|
+ SAL IR(AEIOUY)- R
|
||||||
|
+ SAL I(HR) _
|
||||||
|
+ SAL J K
|
||||||
|
+ SAL KN^ N
|
||||||
|
+ SAL KK- _
|
||||||
|
+ SAL K K
|
||||||
|
+ SAL LAUGH^ LF
|
||||||
|
+ SAL LL- _
|
||||||
|
+ SAL L L
|
||||||
|
+ SAL MB$ M
|
||||||
|
+ SAL MM M
|
||||||
|
+ SAL M M
|
||||||
|
+ SAL NN- _
|
||||||
|
+ SAL N N
|
||||||
|
+ SAL OH(AEIOUY)-^ *H
|
||||||
|
+ SAL OR(AEIOUY)-^ *R
|
||||||
|
+ SAL O(HR)^ *
|
||||||
|
+ SAL O^ *
|
||||||
|
+ SAL OH(AEIOUY)- H
|
||||||
|
+ SAL OR(AEIOUY)- R
|
||||||
|
+ SAL O(HR) _
|
||||||
|
+ SAL PH F
|
||||||
|
+ SAL PN^ N
|
||||||
|
+ SAL PP- _
|
||||||
|
+ SAL P P
|
||||||
|
+ SAL Q K
|
||||||
|
+ SAL RH^ R
|
||||||
|
+ SAL ROUGH^ RF
|
||||||
|
+ SAL RR- _
|
||||||
|
+ SAL R R
|
||||||
|
+ SAL SCH(EOU)- SK
|
||||||
|
+ SAL SC(IEY)- S
|
||||||
|
+ SAL SH X
|
||||||
|
+ SAL SI(AO)- X
|
||||||
|
+ SAL SS- _
|
||||||
|
+ SAL S S
|
||||||
|
+ SAL TI(AO)- X
|
||||||
|
+ SAL TH @
|
||||||
|
+ SAL TCH-- _
|
||||||
|
+ SAL TOUGH^ TF
|
||||||
|
+ SAL TT- _
|
||||||
|
+ SAL T T
|
||||||
|
+ SAL UH(AEIOUY)-^ *H
|
||||||
|
+ SAL UR(AEIOUY)-^ *R
|
||||||
|
+ SAL U(HR)^ *
|
||||||
|
+ SAL U^ *
|
||||||
|
+ SAL UH(AEIOUY)- H
|
||||||
|
+ SAL UR(AEIOUY)- R
|
||||||
|
+ SAL U(HR) _
|
||||||
|
+ SAL V^ W
|
||||||
|
+ SAL V F
|
||||||
|
+ SAL WR^ R
|
||||||
|
+ SAL WH^ W
|
||||||
|
+ SAL W(AEIOU)- W
|
||||||
|
+ SAL X^ S
|
||||||
|
+ SAL X KS
|
||||||
|
+ SAL Y(AEIOU)- Y
|
||||||
|
+ SAL ZZ- _
|
||||||
|
+ SAL Z S
|
||||||
|
+
|
||||||
|
+ # When soundfolding "th" is turned into "@". When this is mistyped as "ht" it
|
||||||
|
+ # soundfolds to "ht". This difference is too big, thus use REP items to lower
|
||||||
|
+ # the score.
|
||||||
|
+ REPSAL 2
|
||||||
|
+ REPSAL ht @
|
||||||
|
+ REPSAL @ ht
|
||||||
|
+
|
||||||
|
REP 27
|
||||||
|
***************
|
||||||
|
*** 49,50 ****
|
||||||
|
--- 186,203 ----
|
||||||
|
|
||||||
|
+ # This is disabled, because if Vim does not support NOCOMPOUNDSUGS giving
|
||||||
|
+ # suggestions is extremely slow.
|
||||||
|
+ ## ordinal numbers
|
||||||
|
+ #COMPOUNDMIN 1
|
||||||
|
+ ## only in compounds: 1th, 2th, 3th
|
||||||
|
+ #ONLYINCOMPOUND ,
|
||||||
|
+ ## compound rules:
|
||||||
|
+ ## 1. [0-9]*1[0-9]th (10th, 11th, 12th, 56714th, etc.)
|
||||||
|
+ ## 2. [0-9]*[02-9](1st|2nd|3rd|[4-9]th) (21st, 22nd, 123rd, 1234th, etc.)
|
||||||
|
+ #COMPOUNDRULE 2
|
||||||
|
+ #COMPOUNDRULE (*:)
|
||||||
|
+ #COMPOUNDRULE (*{}
|
||||||
|
+ #NOCOMPOUNDSUGS
|
||||||
|
+
|
||||||
|
+ # WORDCHARS 0123456789
|
||||||
|
+
|
||||||
|
PFX A Y 2
|
||||||
|
*** en_GB.orig.dic 2015-12-30 18:49:42.360587040 +0100
|
||||||
|
--- en_GB.dic 2016-01-08 23:03:35.510272903 +0100
|
||||||
|
***************
|
||||||
|
*** 1,2 ****
|
||||||
|
--- 1,12 ----
|
||||||
|
56453
|
||||||
|
+ 0th
|
||||||
|
+ 1st
|
||||||
|
+ 2nd
|
||||||
|
+ 3rd
|
||||||
|
+ 4th
|
||||||
|
+ 5th
|
||||||
|
+ 6th
|
||||||
|
+ 7th
|
||||||
|
+ 8th
|
||||||
|
+ 9th
|
||||||
|
'gainst
|
||||||
|
***************
|
||||||
|
*** 3615,3617 ****
|
||||||
|
autosuggestion
|
||||||
|
- autosuggestion
|
||||||
|
autotest/S
|
||||||
|
--- 3625,3626 ----
|
||||||
|
***************
|
||||||
|
*** 9325,9327 ****
|
||||||
|
Church
|
||||||
|
- church
|
||||||
|
Church-of-England
|
||||||
|
--- 9334,9335 ----
|
||||||
|
***************
|
||||||
|
*** 22885,22887 ****
|
||||||
|
hand-painted
|
||||||
|
- hand-pick/D
|
||||||
|
hand-pick/GSD
|
||||||
|
--- 22893,22894 ----
|
||||||
|
***************
|
||||||
|
*** 56454 ****
|
||||||
|
--- 56461,56471 ----
|
||||||
|
émigré/S
|
||||||
|
+ a a/%
|
||||||
|
+ a an/%
|
||||||
|
+ a the/%
|
||||||
|
+ an a/%
|
||||||
|
+ an an/%
|
||||||
|
+ an the/%
|
||||||
|
+ and and/%
|
||||||
|
+ the a/%
|
||||||
|
+ the an/%
|
||||||
|
+ the the/%
|
||||||
2733
spell/en/en_NZ.diff
Normal file
2733
spell/en/en_NZ.diff
Normal file
File diff suppressed because it is too large
Load Diff
243
spell/en/en_US.diff
Normal file
243
spell/en/en_US.diff
Normal file
@@ -0,0 +1,243 @@
|
|||||||
|
*** en_US.orig.aff 2015-12-30 18:55:30.352821552 +0100
|
||||||
|
--- en_US.aff 2016-01-09 13:16:31.514054846 +0100
|
||||||
|
***************
|
||||||
|
*** 1,18 ****
|
||||||
|
SET UTF8
|
||||||
|
TRY esianrtolcdugmphbyfvkwzESIANRTOLCDUGMPHBYFVKWZ'
|
||||||
|
! ICONV 1
|
||||||
|
! ICONV ’ '
|
||||||
|
NOSUGGEST !
|
||||||
|
|
||||||
|
! # ordinal numbers
|
||||||
|
! COMPOUNDMIN 1
|
||||||
|
! # only in compounds: 1th, 2th, 3th
|
||||||
|
! ONLYINCOMPOUND c
|
||||||
|
! # compound rules:
|
||||||
|
! # 1. [0-9]*1[0-9]th (10th, 11th, 12th, 56714th, etc.)
|
||||||
|
! # 2. [0-9]*[02-9](1st|2nd|3rd|[4-9]th) (21st, 22nd, 123rd, 1234th, etc.)
|
||||||
|
! COMPOUNDRULE 2
|
||||||
|
! COMPOUNDRULE n*1t
|
||||||
|
! COMPOUNDRULE n*mp
|
||||||
|
! WORDCHARS 0123456789
|
||||||
|
|
||||||
|
--- 1,164 ----
|
||||||
|
+ # Affix file for US English MySpell dictionary
|
||||||
|
SET UTF8
|
||||||
|
TRY esianrtolcdugmphbyfvkwzESIANRTOLCDUGMPHBYFVKWZ'
|
||||||
|
!
|
||||||
|
! FOL àáâãäåæçèéêëìíîïðñòóôõöøùúûüýþßÿ
|
||||||
|
! LOW àáâãäåæçèéêëìíîïðñòóôõöøùúûüýþßÿ
|
||||||
|
! UPP ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞßÿ
|
||||||
|
!
|
||||||
|
! MIDWORD '
|
||||||
|
!
|
||||||
|
! RARE ?
|
||||||
|
! BAD %
|
||||||
|
!
|
||||||
|
! MAP 9
|
||||||
|
! MAP aàáâãäå
|
||||||
|
! MAP eèéêë
|
||||||
|
! MAP iìíîï
|
||||||
|
! MAP oòóôõö
|
||||||
|
! MAP uùúûü
|
||||||
|
! MAP nñ
|
||||||
|
! MAP cç
|
||||||
|
! MAP yÿý
|
||||||
|
! MAP sß
|
||||||
|
!
|
||||||
|
! # This comes from Aspell en_phonet.dat, version 1.1, 2000-01-07
|
||||||
|
!
|
||||||
|
! SAL AH(AEIOUY)-^ *H
|
||||||
|
! SAL AR(AEIOUY)-^ *R
|
||||||
|
! SAL A(HR)^ *
|
||||||
|
! SAL A^ *
|
||||||
|
! SAL AH(AEIOUY)- H
|
||||||
|
! SAL AR(AEIOUY)- R
|
||||||
|
! SAL A(HR) _
|
||||||
|
! SAL À^ *
|
||||||
|
! SAL Å^ *
|
||||||
|
! SAL BB- _
|
||||||
|
! SAL B B
|
||||||
|
! SAL CQ- _
|
||||||
|
! SAL CIA X
|
||||||
|
! SAL CH X
|
||||||
|
! SAL C(EIY)- S
|
||||||
|
! SAL CK K
|
||||||
|
! SAL COUGH^ KF
|
||||||
|
! SAL CC< C
|
||||||
|
! SAL C K
|
||||||
|
! SAL DG(EIY) K
|
||||||
|
! SAL DD- _
|
||||||
|
! SAL D T
|
||||||
|
! SAL É< E
|
||||||
|
! SAL EH(AEIOUY)-^ *H
|
||||||
|
! SAL ER(AEIOUY)-^ *R
|
||||||
|
! SAL E(HR)^ *
|
||||||
|
! SAL ENOUGH^$ *NF
|
||||||
|
! SAL E^ *
|
||||||
|
! SAL EH(AEIOUY)- H
|
||||||
|
! SAL ER(AEIOUY)- R
|
||||||
|
! SAL E(HR) _
|
||||||
|
! SAL FF- _
|
||||||
|
! SAL F F
|
||||||
|
! SAL GN^ N
|
||||||
|
! SAL GN$ N
|
||||||
|
! SAL GNS$ NS
|
||||||
|
! SAL GNED$ N
|
||||||
|
! SAL GH(AEIOUY)- K
|
||||||
|
! SAL GH _
|
||||||
|
! SAL GG9 K
|
||||||
|
! SAL G K
|
||||||
|
! SAL H H
|
||||||
|
! SAL IH(AEIOUY)-^ *H
|
||||||
|
! SAL IR(AEIOUY)-^ *R
|
||||||
|
! SAL I(HR)^ *
|
||||||
|
! SAL I^ *
|
||||||
|
! SAL ING6 N
|
||||||
|
! SAL IH(AEIOUY)- H
|
||||||
|
! SAL IR(AEIOUY)- R
|
||||||
|
! SAL I(HR) _
|
||||||
|
! SAL J K
|
||||||
|
! SAL KN^ N
|
||||||
|
! SAL KK- _
|
||||||
|
! SAL K K
|
||||||
|
! SAL LAUGH^ LF
|
||||||
|
! SAL LL- _
|
||||||
|
! SAL L L
|
||||||
|
! SAL MB$ M
|
||||||
|
! SAL MM M
|
||||||
|
! SAL M M
|
||||||
|
! SAL NN- _
|
||||||
|
! SAL N N
|
||||||
|
! SAL OH(AEIOUY)-^ *H
|
||||||
|
! SAL OR(AEIOUY)-^ *R
|
||||||
|
! SAL O(HR)^ *
|
||||||
|
! SAL O^ *
|
||||||
|
! SAL OH(AEIOUY)- H
|
||||||
|
! SAL OR(AEIOUY)- R
|
||||||
|
! SAL O(HR) _
|
||||||
|
! SAL PH F
|
||||||
|
! SAL PN^ N
|
||||||
|
! SAL PP- _
|
||||||
|
! SAL P P
|
||||||
|
! SAL Q K
|
||||||
|
! SAL RH^ R
|
||||||
|
! SAL ROUGH^ RF
|
||||||
|
! SAL RR- _
|
||||||
|
! SAL R R
|
||||||
|
! SAL SCH(EOU)- SK
|
||||||
|
! SAL SC(IEY)- S
|
||||||
|
! SAL SH X
|
||||||
|
! SAL SI(AO)- X
|
||||||
|
! SAL SS- _
|
||||||
|
! SAL S S
|
||||||
|
! SAL TI(AO)- X
|
||||||
|
! SAL TH @
|
||||||
|
! SAL TCH-- _
|
||||||
|
! SAL TOUGH^ TF
|
||||||
|
! SAL TT- _
|
||||||
|
! SAL T T
|
||||||
|
! SAL UH(AEIOUY)-^ *H
|
||||||
|
! SAL UR(AEIOUY)-^ *R
|
||||||
|
! SAL U(HR)^ *
|
||||||
|
! SAL U^ *
|
||||||
|
! SAL UH(AEIOUY)- H
|
||||||
|
! SAL UR(AEIOUY)- R
|
||||||
|
! SAL U(HR) _
|
||||||
|
! SAL V^ W
|
||||||
|
! SAL V F
|
||||||
|
! SAL WR^ R
|
||||||
|
! SAL WH^ W
|
||||||
|
! SAL W(AEIOU)- W
|
||||||
|
! SAL X^ S
|
||||||
|
! SAL X KS
|
||||||
|
! SAL Y(AEIOU)- Y
|
||||||
|
! SAL ZZ- _
|
||||||
|
! SAL Z S
|
||||||
|
!
|
||||||
|
! # When soundfolding "th" is turned into "@". When this is mistyped as "ht" it
|
||||||
|
! # soundfolds to "ht". This difference is too big, thus use REP items to lower
|
||||||
|
! # the score.
|
||||||
|
! REPSAL 2
|
||||||
|
! REPSAL ht @
|
||||||
|
! REPSAL @ ht
|
||||||
|
!
|
||||||
|
! # ICONV 1
|
||||||
|
! # ICONV ’ '
|
||||||
|
!
|
||||||
|
NOSUGGEST !
|
||||||
|
|
||||||
|
! # This is disabled, because if Vim does not support NOCOMPOUNDSUGS giving
|
||||||
|
! # suggestions is extremely slow.
|
||||||
|
! # This is disabled, because without NOCOMPOUNDSUGS support giving suggestions
|
||||||
|
! # is extremely slow.
|
||||||
|
! ## ordinal numbers
|
||||||
|
! #COMPOUNDMIN 1
|
||||||
|
! ## only in compounds: 1th, 2th, 3th
|
||||||
|
! #ONLYINCOMPOUND c
|
||||||
|
! ## compound rules:
|
||||||
|
! ## 1. [0-9]*1[0-9]th (10th, 11th, 12th, 56714th, etc.)
|
||||||
|
! ## 2. [0-9]*[02-9](1st|2nd|3rd|[4-9]th) (21st, 22nd, 123rd, 1234th, etc.)
|
||||||
|
! #COMPOUNDRULE 2
|
||||||
|
! #COMPOUNDRULE n*1t
|
||||||
|
! #COMPOUNDRULE n*mp
|
||||||
|
! #NOCOMPOUNDSUGS
|
||||||
|
!
|
||||||
|
! # WORDCHARS 0123456789
|
||||||
|
|
||||||
|
*** en_US.orig.dic 2015-12-30 18:55:58.928512408 +0100
|
||||||
|
--- en_US.dic 2016-01-08 23:04:15.241835664 +0100
|
||||||
|
***************
|
||||||
|
*** 1,25 ****
|
||||||
|
48756
|
||||||
|
! 0/nm
|
||||||
|
! 0th/pt
|
||||||
|
! 1/n1
|
||||||
|
! 1st/p
|
||||||
|
! 1th/tc
|
||||||
|
! 2/nm
|
||||||
|
! 2nd/p
|
||||||
|
! 2th/tc
|
||||||
|
! 3/nm
|
||||||
|
! 3rd/p
|
||||||
|
! 3th/tc
|
||||||
|
! 4/nm
|
||||||
|
! 4th/pt
|
||||||
|
! 5/nm
|
||||||
|
! 5th/pt
|
||||||
|
! 6/nm
|
||||||
|
! 6th/pt
|
||||||
|
! 7/nm
|
||||||
|
! 7th/pt
|
||||||
|
! 8/nm
|
||||||
|
! 8th/pt
|
||||||
|
! 9/nm
|
||||||
|
! 9th/pt
|
||||||
|
A/SM
|
||||||
|
--- 1,12 ----
|
||||||
|
48756
|
||||||
|
! 0th
|
||||||
|
! 1st
|
||||||
|
! 2nd
|
||||||
|
! 3rd
|
||||||
|
! 4th
|
||||||
|
! 5th
|
||||||
|
! 6th
|
||||||
|
! 7th
|
||||||
|
! 8th
|
||||||
|
! 9th
|
||||||
|
A/SM
|
||||||
|
***************
|
||||||
|
*** 48757 ****
|
||||||
|
--- 48744,48754 ----
|
||||||
|
zymurgy/M
|
||||||
|
+ a a/%
|
||||||
|
+ a an/%
|
||||||
|
+ a the/%
|
||||||
|
+ an a/%
|
||||||
|
+ an an/%
|
||||||
|
+ an the/%
|
||||||
|
+ and and/%
|
||||||
|
+ the a/%
|
||||||
|
+ the an/%
|
||||||
|
+ the the/%
|
||||||
245
spell/en/main.aap
Normal file
245
spell/en/main.aap
Normal file
@@ -0,0 +1,245 @@
|
|||||||
|
# Aap recipe for English Vim spell files.
|
||||||
|
|
||||||
|
# Use a freshly compiled Vim if it exists.
|
||||||
|
@if os.path.exists('../../../src/vim'):
|
||||||
|
VIM = ../../../src/vim
|
||||||
|
@else:
|
||||||
|
:progsearch VIM vim
|
||||||
|
|
||||||
|
SPELLDIR = ..
|
||||||
|
FILES = en_US.aff en_US.dic
|
||||||
|
en_AU.aff en_AU.dic
|
||||||
|
en_CA.aff en_CA.dic
|
||||||
|
en_GB.aff en_GB.dic
|
||||||
|
en_NZ.aff en_NZ.dic
|
||||||
|
|
||||||
|
all: $SPELLDIR/en.latin1.spl $SPELLDIR/en.utf-8.spl \
|
||||||
|
$SPELLDIR/en.ascii.spl ../README_en.txt
|
||||||
|
|
||||||
|
$SPELLDIR/en.latin1.spl : $FILES
|
||||||
|
:sys env LANG=en_US.ISO8859-1
|
||||||
|
$VIM -u NONE -e -c "mkspell! $SPELLDIR/en
|
||||||
|
en_US en_AU en_CA en_GB en_NZ" -c q
|
||||||
|
|
||||||
|
$SPELLDIR/en.utf-8.spl : $FILES
|
||||||
|
:sys env LANG=en_US.UTF-8
|
||||||
|
$VIM -u NONE -e -c "mkspell! $SPELLDIR/en
|
||||||
|
en_US en_AU en_CA en_GB en_NZ" -c q
|
||||||
|
|
||||||
|
$SPELLDIR/en.ascii.spl : $FILES
|
||||||
|
:sys $VIM -u NONE -e -c "mkspell! -ascii $SPELLDIR/en
|
||||||
|
en_US en_AU en_CA en_GB en_NZ" -c q
|
||||||
|
|
||||||
|
../README_en.txt: README_en_US.txt README_en_AU.txt README_en_CA.txt README_en_GB.txt README_en_NZ.txt
|
||||||
|
:print en_US >!$target
|
||||||
|
:cat README_en_US.txt | :eval re.sub('\r', '', stdin) >>$target
|
||||||
|
:print =================================================== >>$target
|
||||||
|
:print en_AU: >>$target
|
||||||
|
:cat README_en_AU.txt | :eval re.sub('\r', '', stdin) >>$target
|
||||||
|
:print =================================================== >>$target
|
||||||
|
:print en_CA: >>$target
|
||||||
|
:cat README_en_CA.txt | :eval re.sub('\r', '', stdin) >>$target
|
||||||
|
:print =================================================== >>$target
|
||||||
|
:print en_GB: >>$target
|
||||||
|
:cat README_en_GB.txt | :eval re.sub('\r', '', stdin) >>$target
|
||||||
|
:print =================================================== >>$target
|
||||||
|
:print en_NZ: >>$target
|
||||||
|
:cat README_en_NZ.txt | :eval re.sub('\r', '', stdin) >>$target
|
||||||
|
|
||||||
|
#
|
||||||
|
# Fetching the files from OpenOffice.org.
|
||||||
|
# THIS URL NO LONGER WORKS.
|
||||||
|
#
|
||||||
|
# Files for en_US, en_CA and en_GB can be obtained from:
|
||||||
|
# github.com/marcoagpinto/aoo-mozilla-en-dict
|
||||||
|
# Unfortunately, giving suggestions becomes terribly slow with these.
|
||||||
|
# TODO: find out why suggestions are slow and fix that.
|
||||||
|
#
|
||||||
|
# For now we use the older libraries.
|
||||||
|
#
|
||||||
|
OODIR = http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries
|
||||||
|
:attr {fetch = $OODIR/%file%} en_US.zip en_CA.zip en_NZ.zip
|
||||||
|
en_GB.zip en_AU.zip
|
||||||
|
|
||||||
|
# The files don't depend on the .zip file so that we can delete it.
|
||||||
|
# Only download the zip file if the targets don't exist.
|
||||||
|
en_US.aff en_US.dic: {buildcheck=}
|
||||||
|
:assertpkg unzip patch
|
||||||
|
:fetch en_US.zip
|
||||||
|
:sys $UNZIP en_US.zip
|
||||||
|
:delete en_US.zip
|
||||||
|
@if not os.path.exists('en_US.orig.aff'):
|
||||||
|
:copy en_US.aff en_US.orig.aff
|
||||||
|
@if not os.path.exists('en_US.orig.dic'):
|
||||||
|
:copy en_US.dic en_US.orig.dic
|
||||||
|
@if os.path.exists('en_US.diff'):
|
||||||
|
:sys patch <en_US.diff
|
||||||
|
|
||||||
|
en_AU.aff en_AU.dic: {buildcheck=}
|
||||||
|
:assertpkg unzip patch
|
||||||
|
:fetch en_AU.zip
|
||||||
|
:sys $UNZIP en_AU.zip
|
||||||
|
:delete en_AU.zip
|
||||||
|
@if not os.path.exists('en_AU.orig.aff'):
|
||||||
|
:copy en_AU.aff en_AU.orig.aff
|
||||||
|
@if not os.path.exists('en_AU.orig.dic'):
|
||||||
|
:copy en_AU.dic en_AU.orig.dic
|
||||||
|
@if os.path.exists('en_AU.diff'):
|
||||||
|
:sys patch <en_AU.diff
|
||||||
|
|
||||||
|
en_CA.aff en_CA.dic: {buildcheck=}
|
||||||
|
:assertpkg unzip patch
|
||||||
|
:fetch en_CA.zip
|
||||||
|
:sys $UNZIP en_CA.zip
|
||||||
|
:delete en_CA.zip
|
||||||
|
@if not os.path.exists('en_CA.orig.aff'):
|
||||||
|
:copy en_CA.aff en_CA.orig.aff
|
||||||
|
@if not os.path.exists('en_CA.orig.dic'):
|
||||||
|
:copy en_CA.dic en_CA.orig.dic
|
||||||
|
@if os.path.exists('en_CA.diff'):
|
||||||
|
:sys patch <en_CA.diff
|
||||||
|
|
||||||
|
en_GB.aff en_GB.dic: {buildcheck=}
|
||||||
|
:assertpkg unzip patch
|
||||||
|
:fetch en_GB.zip
|
||||||
|
:sys $UNZIP en_GB.zip
|
||||||
|
:delete en_GB.zip
|
||||||
|
:delete dictionary.lst.example
|
||||||
|
@if not os.path.exists('en_GB.orig.aff'):
|
||||||
|
:copy en_GB.aff en_GB.orig.aff
|
||||||
|
@if not os.path.exists('en_GB.orig.dic'):
|
||||||
|
:copy en_GB.dic en_GB.orig.dic
|
||||||
|
@if os.path.exists('en_GB.diff'):
|
||||||
|
:sys patch <en_GB.diff
|
||||||
|
|
||||||
|
en_NZ.aff en_NZ.dic: {buildcheck=}
|
||||||
|
:assertpkg unzip patch
|
||||||
|
:fetch en_NZ.zip
|
||||||
|
:sys $UNZIP en_NZ.zip
|
||||||
|
:delete en_NZ.zip
|
||||||
|
@if not os.path.exists('en_NZ.orig.aff'):
|
||||||
|
:copy en_NZ.aff en_NZ.orig.aff
|
||||||
|
@if not os.path.exists('en_NZ.orig.dic'):
|
||||||
|
:copy en_NZ.dic en_NZ.orig.dic
|
||||||
|
@if os.path.exists('en_NZ.diff'):
|
||||||
|
:sys patch <en_NZ.diff
|
||||||
|
|
||||||
|
|
||||||
|
# Generate diff files, so that others can get the original files and apply
|
||||||
|
# the diffs to get the Vim versions.
|
||||||
|
|
||||||
|
diff:
|
||||||
|
:assertpkg diff
|
||||||
|
:sys {force} diff -a -C 1 en_US.orig.aff en_US.aff >en_US.diff
|
||||||
|
:sys {force} diff -a -C 1 en_US.orig.dic en_US.dic >>en_US.diff
|
||||||
|
:sys {force} diff -a -C 1 en_AU.orig.aff en_AU.aff >en_AU.diff
|
||||||
|
:sys {force} diff -a -C 1 en_AU.orig.dic en_AU.dic >>en_AU.diff
|
||||||
|
:sys {force} diff -a -C 1 en_CA.orig.aff en_CA.aff >en_CA.diff
|
||||||
|
:sys {force} diff -a -C 1 en_CA.orig.dic en_CA.dic >>en_CA.diff
|
||||||
|
:sys {force} diff -a -C 1 en_GB.orig.aff en_GB.aff >en_GB.diff
|
||||||
|
:sys {force} diff -a -C 1 en_GB.orig.dic en_GB.dic >>en_GB.diff
|
||||||
|
:sys {force} diff -a -C 1 en_NZ.orig.aff en_NZ.aff >en_NZ.diff
|
||||||
|
:sys {force} diff -a -C 1 en_NZ.orig.dic en_NZ.dic >>en_NZ.diff
|
||||||
|
|
||||||
|
|
||||||
|
# Check for updated OpenOffice spell files. When there are changes the
|
||||||
|
# ".new.aff" and ".new.dic" files are left behind for manual inspection.
|
||||||
|
|
||||||
|
check: check-us check-au check-ca check-gb check-nz
|
||||||
|
|
||||||
|
check-us:
|
||||||
|
:assertpkg unzip diff
|
||||||
|
:fetch en_US.zip
|
||||||
|
:mkdir tmp
|
||||||
|
:cd tmp
|
||||||
|
@try:
|
||||||
|
@import stat
|
||||||
|
:sys $UNZIP ../en_US.zip
|
||||||
|
:sys {force} diff ../en_US.orig.aff en_US.aff >d
|
||||||
|
@if os.stat('d')[stat.ST_SIZE] > 0:
|
||||||
|
:copy en_US.aff ../en_US.new.aff
|
||||||
|
:sys {force} diff ../en_US.orig.dic en_US.dic >d
|
||||||
|
@if os.stat('d')[stat.ST_SIZE] > 0:
|
||||||
|
:copy en_US.dic ../en_US.new.dic
|
||||||
|
@finally:
|
||||||
|
:cd ..
|
||||||
|
:delete {r}{f}{q} tmp
|
||||||
|
:delete en_US.zip
|
||||||
|
|
||||||
|
check-au:
|
||||||
|
:assertpkg unzip diff
|
||||||
|
:fetch en_AU.zip
|
||||||
|
:mkdir tmp
|
||||||
|
:cd tmp
|
||||||
|
@try:
|
||||||
|
@import stat
|
||||||
|
:sys $UNZIP ../en_AU.zip
|
||||||
|
:sys {force} diff ../en_AU.orig.aff en_AU.aff >d
|
||||||
|
@if os.stat('d')[stat.ST_SIZE] > 0:
|
||||||
|
:copy en_AU.aff ../en_AU.new.aff
|
||||||
|
:sys {force} diff ../en_AU.orig.dic en_AU.dic >d
|
||||||
|
@if os.stat('d')[stat.ST_SIZE] > 0:
|
||||||
|
:copy en_AU.dic ../en_AU.new.dic
|
||||||
|
@finally:
|
||||||
|
:cd ..
|
||||||
|
:delete {r}{f}{q} tmp
|
||||||
|
:delete en_AU.zip
|
||||||
|
|
||||||
|
check-ca:
|
||||||
|
:assertpkg unzip diff
|
||||||
|
:fetch en_CA.zip
|
||||||
|
:mkdir tmp
|
||||||
|
:cd tmp
|
||||||
|
@try:
|
||||||
|
@import stat
|
||||||
|
:sys $UNZIP ../en_CA.zip
|
||||||
|
:sys {force} diff ../en_CA.orig.aff en_CA.aff >d
|
||||||
|
@if os.stat('d')[stat.ST_SIZE] > 0:
|
||||||
|
:copy en_CA.aff ../en_CA.new.aff
|
||||||
|
:sys {force} diff ../en_CA.orig.dic en_CA.dic >d
|
||||||
|
@if os.stat('d')[stat.ST_SIZE] > 0:
|
||||||
|
:copy en_CA.dic ../en_CA.new.dic
|
||||||
|
@finally:
|
||||||
|
:cd ..
|
||||||
|
:delete {r}{f}{q} tmp
|
||||||
|
:delete en_CA.zip
|
||||||
|
|
||||||
|
check-gb:
|
||||||
|
:assertpkg unzip diff
|
||||||
|
:fetch en_GB.zip
|
||||||
|
:mkdir tmp
|
||||||
|
:cd tmp
|
||||||
|
@try:
|
||||||
|
@import stat
|
||||||
|
:sys $UNZIP ../en_GB.zip
|
||||||
|
:sys {force} diff ../en_GB.orig.aff en_GB.aff >d
|
||||||
|
@if os.stat('d')[stat.ST_SIZE] > 0:
|
||||||
|
:copy en_GB.aff ../en_GB.new.aff
|
||||||
|
:sys {force} diff ../en_GB.orig.dic en_GB.dic >d
|
||||||
|
@if os.stat('d')[stat.ST_SIZE] > 0:
|
||||||
|
:copy en_GB.dic ../en_GB.new.dic
|
||||||
|
@finally:
|
||||||
|
:cd ..
|
||||||
|
:delete {r}{f}{q} tmp
|
||||||
|
:delete en_GB.zip
|
||||||
|
|
||||||
|
check-nz:
|
||||||
|
:assertpkg unzip diff
|
||||||
|
:fetch en_NZ.zip
|
||||||
|
:mkdir tmp
|
||||||
|
:cd tmp
|
||||||
|
@try:
|
||||||
|
@import stat
|
||||||
|
:sys $UNZIP ../en_NZ.zip
|
||||||
|
:sys {force} diff ../en_NZ.orig.aff en_NZ.aff >d
|
||||||
|
@if os.stat('d')[stat.ST_SIZE] > 0:
|
||||||
|
:copy en_NZ.aff ../en_NZ.new.aff
|
||||||
|
:sys {force} diff ../en_NZ.orig.dic en_NZ.dic >d
|
||||||
|
@if os.stat('d')[stat.ST_SIZE] > 0:
|
||||||
|
:copy en_NZ.dic ../en_NZ.new.dic
|
||||||
|
@finally:
|
||||||
|
:cd ..
|
||||||
|
:delete {r}{f}{q} tmp
|
||||||
|
:delete en_NZ.zip
|
||||||
|
|
||||||
|
# vim: set sts=4 sw=4 :
|
||||||
BIN
spell/es.latin1.spl
Normal file
BIN
spell/es.latin1.spl
Normal file
Binary file not shown.
BIN
spell/es.latin1.sug
Normal file
BIN
spell/es.latin1.sug
Normal file
Binary file not shown.
BIN
spell/es.utf-8.spl
Normal file
BIN
spell/es.utf-8.spl
Normal file
Binary file not shown.
BIN
spell/es.utf-8.sug
Normal file
BIN
spell/es.utf-8.sug
Normal file
Binary file not shown.
38
spell/es/es_ES.diff
Normal file
38
spell/es/es_ES.diff
Normal file
@@ -0,0 +1,38 @@
|
|||||||
|
*** es_ES.orig.aff Fri Apr 21 10:57:12 2006
|
||||||
|
--- es_ES.aff Fri Apr 21 11:10:16 2006
|
||||||
|
***************
|
||||||
|
*** 4,5 ****
|
||||||
|
--- 4,12 ----
|
||||||
|
|
||||||
|
+ FOL ßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿ
|
||||||
|
+ LOW ßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿ
|
||||||
|
+ UPP ßÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞÿ
|
||||||
|
+
|
||||||
|
+ SOFOFROM abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþßÿÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞ¿
|
||||||
|
+ SOFOTO ebctefghejklnnepkrstevvkesebctefghejklnnepkrstevvkeseeeeeeeceeeeeeeedneeeeeeeeeeepseeeeeeeeceeeeeeeedneeeeeeeeeeep?
|
||||||
|
+
|
||||||
|
REP 20
|
||||||
|
***************
|
||||||
|
*** 26,33 ****
|
||||||
|
|
||||||
|
! MAP 5
|
||||||
|
! MAP aáAÁ
|
||||||
|
! MAP eéEÉ
|
||||||
|
! MAP iíIÍ
|
||||||
|
! MAP oóOÓ
|
||||||
|
! MAP uúüUÚÜ
|
||||||
|
PFX a Y 2
|
||||||
|
--- 33,45 ----
|
||||||
|
|
||||||
|
! MAP 9
|
||||||
|
! MAP aàáâãäå
|
||||||
|
! MAP eèéêë
|
||||||
|
! MAP iìíîï
|
||||||
|
! MAP oòóôõö
|
||||||
|
! MAP uùúûü
|
||||||
|
! MAP nñ
|
||||||
|
! MAP cç
|
||||||
|
! MAP yÿý
|
||||||
|
! MAP sß
|
||||||
|
!
|
||||||
|
PFX a Y 2
|
||||||
6975
spell/es/es_MX.diff
Normal file
6975
spell/es/es_MX.diff
Normal file
File diff suppressed because it is too large
Load Diff
92
spell/es/main.aap
Normal file
92
spell/es/main.aap
Normal file
@@ -0,0 +1,92 @@
|
|||||||
|
# Aap recipe for Spanish Vim spell files.
|
||||||
|
|
||||||
|
# Use a freshly compiled Vim if it exists.
|
||||||
|
@if os.path.exists('../../../src/vim'):
|
||||||
|
VIM = ../../../src/vim
|
||||||
|
@else:
|
||||||
|
:progsearch VIM vim
|
||||||
|
|
||||||
|
REGIONS = ES MX
|
||||||
|
ES_REGIONS = es_$*REGIONS
|
||||||
|
|
||||||
|
SPELLDIR = ..
|
||||||
|
FILES = es_$*(REGIONS).aff es_$*(REGIONS).dic
|
||||||
|
|
||||||
|
ZIPFILE_ES = es_ES.zip
|
||||||
|
ZIPFILE_MX = es_MX.zip
|
||||||
|
ZIPFILES = $ZIPFILE_ES $ZIPFILE_MX
|
||||||
|
|
||||||
|
READMES = README_es_$*(REGIONS).txt
|
||||||
|
|
||||||
|
all: $SPELLDIR/es.latin1.spl $SPELLDIR/es.utf-8.spl ../README_es.txt
|
||||||
|
|
||||||
|
$SPELLDIR/es.latin1.spl : $FILES
|
||||||
|
:sys env LANG=es_ES.ISO8859-1
|
||||||
|
$VIM -u NONE -e -c "mkspell! $SPELLDIR/es $ES_REGIONS" -c q
|
||||||
|
|
||||||
|
$SPELLDIR/es.utf-8.spl : $FILES
|
||||||
|
:sys env LANG=es_ES.UTF-8
|
||||||
|
$VIM -u NONE -e -c "mkspell! $SPELLDIR/es $ES_REGIONS" -c q
|
||||||
|
|
||||||
|
../README_es.txt: $READMES
|
||||||
|
:print es_ES >! $target
|
||||||
|
:cat README_es_ES.txt >> $target
|
||||||
|
:print =================================================== >>$target
|
||||||
|
:print es_MX >> $target
|
||||||
|
:cat README_es_MX.txt >> $target
|
||||||
|
|
||||||
|
#
|
||||||
|
# Fetching the files from the OpenOffice.org site.
|
||||||
|
# The OLDSPELL file comes from elsewhere
|
||||||
|
#
|
||||||
|
OODIR = http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries
|
||||||
|
:attr {fetch = $OODIR/%file%} $ZIPFILES
|
||||||
|
|
||||||
|
# The files don't depend on the .zip file so that we can delete it.
|
||||||
|
# Only download the zip file if the targets don't exist.
|
||||||
|
es_ES.aff es_ES.dic: {buildcheck=}
|
||||||
|
:assertpkg unzip patch
|
||||||
|
:fetch $ZIPFILE_ES
|
||||||
|
:sys $UNZIP $ZIPFILE_ES
|
||||||
|
:delete Changelog_es_ES.txt
|
||||||
|
:delete $ZIPFILE_ES
|
||||||
|
@if not os.path.exists('es_ES.orig.aff'):
|
||||||
|
:copy es_ES.aff es_ES.orig.aff
|
||||||
|
@if not os.path.exists('es_ES.orig.dic'):
|
||||||
|
:copy es_ES.dic es_ES.orig.dic
|
||||||
|
@if os.path.exists('es_ES.diff'):
|
||||||
|
:sys patch <es_ES.diff
|
||||||
|
|
||||||
|
es_MX.aff es_MX.dic: {buildcheck=}
|
||||||
|
:assertpkg unzip patch
|
||||||
|
:fetch $ZIPFILE_MX
|
||||||
|
:print No copyright information for es_MX wordlist >! README_es_MX.txt
|
||||||
|
:sys $UNZIP $ZIPFILE_MX
|
||||||
|
:delete $ZIPFILE_MX
|
||||||
|
:sys $VIM -u NONE -e -c "set ff=unix | wq" es_MX.dic
|
||||||
|
@if not os.path.exists('es_MX.orig.aff'):
|
||||||
|
:copy es_MX.aff es_MX.orig.aff
|
||||||
|
@if not os.path.exists('es_MX.orig.dic'):
|
||||||
|
:copy es_MX.dic es_MX.orig.dic
|
||||||
|
@if os.path.exists('es_MX.diff'):
|
||||||
|
:sys patch <es_MX.diff
|
||||||
|
|
||||||
|
|
||||||
|
# Generate diff files, so that others can get the OpenOffice files and apply
|
||||||
|
# the diffs to get the Vim versions.
|
||||||
|
diff:
|
||||||
|
:assertpkg diff
|
||||||
|
:sys {force} diff -a -C 1 es_ES.orig.aff es_ES.aff >es_ES.diff
|
||||||
|
:sys {force} diff -a -C 1 es_ES.orig.dic es_ES.dic >>es_ES.diff
|
||||||
|
:sys {force} diff -a -C 1 es_MX.orig.aff es_MX.aff >es_MX.diff
|
||||||
|
:sys {force} diff -a -C 1 es_MX.orig.dic es_MX.dic >>es_MX.diff
|
||||||
|
|
||||||
|
|
||||||
|
# Check for updated OpenOffice spell files. When there are changes the
|
||||||
|
# ".new.aff" and ".new.dic" files are left behind for manual inspection.
|
||||||
|
|
||||||
|
check:
|
||||||
|
:print TODO!!!!
|
||||||
|
|
||||||
|
|
||||||
|
# vim: set sts=4 sw=4 :
|
||||||
30260
thesaurus/mthesaur.txt
Normal file
30260
thesaurus/mthesaur.txt
Normal file
File diff suppressed because one or more lines are too long
14
vimrc
14
vimrc
@@ -16,3 +16,17 @@ endif
|
|||||||
autocmd StdinReadPre * let s:std_in=1
|
autocmd StdinReadPre * let s:std_in=1
|
||||||
autocmd VimEnter * if argc() == 1 && isdirectory(argv()[0]) && !exists("s:std_in") | exe 'NERDTree' argv()[0] | wincmd p | ene | endif
|
autocmd VimEnter * if argc() == 1 && isdirectory(argv()[0]) && !exists("s:std_in") | exe 'NERDTree' argv()[0] | wincmd p | ene | endif
|
||||||
set ai et nu ts=2 sw=2 wm=0 tabpagemax=100
|
set ai et nu ts=2 sw=2 wm=0 tabpagemax=100
|
||||||
|
|
||||||
|
func! WordProcessor()
|
||||||
|
map j gj
|
||||||
|
map k gk
|
||||||
|
setlocal formatoptions=1
|
||||||
|
setlocal noexpandtab
|
||||||
|
setlocal wrap
|
||||||
|
setlocal linebreak
|
||||||
|
setlocal spell spelllang=en_us,es_mx
|
||||||
|
set thesaurus+=$HOME/.vim/thesaurus/mthesaur.txt
|
||||||
|
set complete+=s
|
||||||
|
endfu
|
||||||
|
com! WP call WordProcessor()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user