summaryrefslogtreecommitdiff
path: root/runtime/spell/yi
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2005-08-16 23:01:50 +0000
committerBram Moolenaar <Bram@vim.org>2005-08-16 23:01:50 +0000
commit5b8d8fdb526bd21dbac64a3ea815a1e628b93b41 (patch)
treeb5374790a1bada07bc6aa142919591fc4898e0bb /runtime/spell/yi
parentae5bce1c127136a650ee25c4c78d3d334cc07859 (diff)
downloadvim-5b8d8fdb526bd21dbac64a3ea815a1e628b93b41.zip
updated for version 7.0131
Diffstat (limited to 'runtime/spell/yi')
-rw-r--r--runtime/spell/yi/!yi.diff11
-rw-r--r--runtime/spell/yi/!yi_tr.diff8
-rw-r--r--runtime/spell/yi/README.txt3
-rw-r--r--runtime/spell/yi/main.aap44
-rw-r--r--runtime/spell/yi/yi.diff13
-rw-r--r--runtime/spell/yi/yi_tr.diff18
6 files changed, 73 insertions, 24 deletions
diff --git a/runtime/spell/yi/!yi.diff b/runtime/spell/yi/!yi.diff
index 00ec10474..484dc69f7 100644
--- a/runtime/spell/yi/!yi.diff
+++ b/runtime/spell/yi/!yi.diff
@@ -1,7 +1,8 @@
-*** wordlist.utf8.txt Thu Aug 11 17:55:15 2005
---- yi.dic Thu Aug 11 17:56:28 2005
+*** wordlist.utf8.txt Thu Aug 11 19:49:22 2005
+--- yi.dic Thu Aug 11 19:49:23 2005
***************
-*** 1 ****
---- 1,2 ----
-+ 99999
+*** 1,2 ****
+--- 1,3 ----
++ 999999
גרונטעלעמענט
+ דזשאָבענדיקס
diff --git a/runtime/spell/yi/!yi_tr.diff b/runtime/spell/yi/!yi_tr.diff
new file mode 100644
index 000000000..5d8183f7d
--- /dev/null
+++ b/runtime/spell/yi/!yi_tr.diff
@@ -0,0 +1,8 @@
+*** wordlist.txt Tue Aug 16 10:46:26 2005
+--- yi_tr.dic Tue Aug 16 10:46:42 2005
+***************
+*** 1,2 ****
+--- 1,3 ----
++ 84608
+ gruntelement
+ dzhobendiks
diff --git a/runtime/spell/yi/README.txt b/runtime/spell/yi/README.txt
index db432935c..09af739c5 100644
--- a/runtime/spell/yi/README.txt
+++ b/runtime/spell/yi/README.txt
@@ -3,4 +3,7 @@ README file for the Yiddish spell file.
The word list was provided by Raphael Finkel. It is the same one that is used
by uspell.
+There also is a romanized (transliterated) word list. This is used for
+latin1. To use this list when 'encoding' is utf-8 use ":set spelllang=yi-tr".
+
Copyright Raphael Finkel. Included with permission in Vim.
diff --git a/runtime/spell/yi/main.aap b/runtime/spell/yi/main.aap
index 31d057e01..8a98ce050 100644
--- a/runtime/spell/yi/main.aap
+++ b/runtime/spell/yi/main.aap
@@ -1,4 +1,4 @@
-# Aap recipe for Hebrew Vim spell files.
+# Aap recipe for Yiddish Vim spell files.
# Use a freshly compiled Vim if it exists.
@if os.path.exists('../../../src/vim'):
@@ -6,16 +6,27 @@
@else:
:progsearch VIM vim
-SPELLDIR = ..
-FILES = yi.dic yi.aff
-WORDFILE = wordlist.utf8.txt
+SPELLDIR = ..
+FILES = yi.dic yi.aff
+WORDFILE = wordlist.utf8.txt
+FILES_TR = yi_tr.dic yi_tr.aff
+WORDFILE_TR = wordlist.txt
-all: $SPELLDIR/yi.utf-8.spl ../README_yi.txt
+all: $SPELLDIR/yi.utf-8.spl $SPELLDIR/yi-tr.utf-8.spl \
+ $SPELLDIR/yi.latin1.spl ../README_yi.txt
-$SPELLDIR/yi.utf-8.spl : $VIM $FILES
+$SPELLDIR/yi.utf-8.spl : $FILES
:sys $VIM -u NONE -e -c "set enc=utf-8"
-c "mkspell! $SPELLDIR/yi yi" -c q
+$SPELLDIR/yi-tr.utf-8.spl : $FILES_TR
+ :sys $VIM -u NONE -e -c "set enc=utf-8"
+ -c "mkspell! $SPELLDIR/yi-tr yi_tr" -c q
+
+$SPELLDIR/yi.latin1.spl : $FILES_TR
+ :sys $VIM -u NONE -e -c "set enc=latin1"
+ -c "mkspell! $SPELLDIR/yi yi_tr" -c q
+
../README_yi.txt : README.txt
:copy $source $target
@@ -23,7 +34,7 @@ $SPELLDIR/yi.utf-8.spl : $VIM $FILES
# Fetch the word list when needed.
#
URLDIR = http://www.cs.uky.edu/~raphael/yiddish
-:attr {fetch = $URLDIR/%file%} $WORDFILE
+:attr {fetch = $URLDIR/%file%} $WORDFILE $WORDFILE_TR
# We use the word list as a .dic file, so that we can use an affix file to
# define a few extra things.
@@ -35,13 +46,20 @@ $FILES: {buildcheck=}
@if os.path.exists('yi.diff'):
:sys patch < yi.diff
-diff:
+$FILES_TR: {buildcheck=}
+ :assertpkg patch
+ :fetch $WORDFILE_TR
+ :copy $WORDFILE_TR yi_tr.dic
+ :touch {force} yi_tr.aff
+ @if os.path.exists('yi_tr.diff'):
+ :sys patch < yi_tr.diff
+
+diff {virtual}:
:assertpkg diff
- :delete yi.diff
# Using a context of two lines to work around a bug in FreeBSD patch.
- :sys {force} diff -a -C 2 $WORDFILE yi.dic >yi.diff
- :sys {force} diff -a -N -C 1 /dev/null yi.aff >>yi.diff
-
-
+ :sys {force} diff -a -C 2 $WORDFILE yi.dic > yi.diff
+ :sys {force} diff -a -N -C 1 /dev/null yi.aff >> yi.diff
+ :sys {force} diff -a -C 2 $WORDFILE_TR yi_tr.dic > yi_tr.diff
+ :sys {force} diff -a -N -C 1 /dev/null yi_tr.aff >> yi_tr.diff
# vim: set sts=4 sw=4 :
diff --git a/runtime/spell/yi/yi.diff b/runtime/spell/yi/yi.diff
index 020f2dc49..45a2d90b0 100644
--- a/runtime/spell/yi/yi.diff
+++ b/runtime/spell/yi/yi.diff
@@ -1,18 +1,19 @@
-*** wordlist.utf8.txt Thu Aug 11 18:40:11 2005
---- yi.dic Thu Aug 11 19:48:53 2005
+*** wordlist.utf8.txt Thu Aug 11 19:49:22 2005
+--- yi.dic Thu Aug 11 19:49:23 2005
***************
*** 1,2 ****
--- 1,3 ----
+ 999999
גרונטעלעמענט
דזשאָבענדיקס
-*** /dev/null Thu Aug 11 19:48:23 2005
---- yi.aff Thu Aug 11 18:50:45 2005
+*** /dev/null Tue Aug 16 10:44:00 2005
+--- yi.aff Mon Aug 15 23:06:00 2005
***************
*** 0 ****
---- 1,5 ----
+--- 1,6 ----
+ SET UTF-8
+
-+ REP 2
++ REP 3
+ REP וו װ
+ REP יי ײ
++ REP וי ױ
diff --git a/runtime/spell/yi/yi_tr.diff b/runtime/spell/yi/yi_tr.diff
new file mode 100644
index 000000000..5f26a7b8a
--- /dev/null
+++ b/runtime/spell/yi/yi_tr.diff
@@ -0,0 +1,18 @@
+*** wordlist.txt Tue Aug 16 10:46:26 2005
+--- yi_tr.dic Tue Aug 16 10:46:42 2005
+***************
+*** 1,2 ****
+--- 1,3 ----
++ 84608
+ gruntelement
+ dzhobendiks
+*** /dev/null Tue Aug 16 10:44:00 2005
+--- yi_tr.aff Tue Aug 16 10:48:01 2005
+***************
+*** 0 ****
+--- 1,5 ----
++ SET ISO8859-1
++
++ FOL
++ LOW
++ UPP