updated for version 7.0133

This commit is contained in:
Bram Moolenaar
2005-08-21 22:12:59 +00:00
parent d12a132603
commit cee5560a4b
9 changed files with 64 additions and 15 deletions

View File

@ -69,7 +69,7 @@ This procedure should work well:
change too much, the OpenOffice people are not stupid. However, you may
want to remove obvious mistakes. And remove single-letter words that
aren't really words, they mess up the suggestions (English has this
problem).
problem). You can use the "fixdup" Vim script to find duplicate words.
3. Make the diff file. "aap diff" will do this for you. If a diff would be
too big you might consider writing a Vim script to do systematic changes.

View File

@ -26,7 +26,7 @@
+
*** de_AT.orig.dic Mon Aug 15 22:59:43 2005
--- de_AT.dic Mon Aug 15 23:03:19 2005
--- de_AT.dic Mon Aug 15 23:11:02 2005
***************
*** 18,20 ****
Fleischb<68>nke/N
@ -42,3 +42,15 @@
zulieb
!
<20>bte/N
***************
*** 18792,18794 ****
Geschwulstherde
- Geselchte/N
Geselle/N
--- 18791,18792 ----
***************
*** 20472,20474 ****
HTML
- H<>fen
H<>ftling/EPS
--- 20470,20471 ----

Binary file not shown.

27
runtime/spell/fixdup Normal file
View File

@ -0,0 +1,27 @@
" Vim script to fix duplicate words in a .dic file vim: set ft=vim:
"
" Usage: Edit the .dic file and source this script.
let deleted = 0
" Start below the word count.
let lnum = 2
while lnum <= line('$')
let word = getline(lnum)
if word !~ '/'
if search('^' . word . '/', 'w') != 0
let deleted += 1
exe lnum . "d"
continue " don't increment lnum, it's already at the next word
endif
endif
let lnum += 1
endwhile
if deleted == 0
echomsg "No duplicate words found"
elseif deleted == 1
echomsg "Deleted 1 duplicate word"
else
echomsg printf("Deleted %d duplicate words", deleted)
endif

View File

@ -6,7 +6,7 @@
LANG = af bg ca cs da de el en eo fr fo gl he hr it nl ny pl sk yi hu
# "hu" is at the end, because it takes so much time.
# "hu" is at the end, because it takes very long.
#
# TODO:
# Finnish doesn't work, the dictionary fi_FI.zip file contains hyphenation...

View File

@ -1,5 +1,5 @@
*** nl_NL.orig.aff Sun Jul 3 18:24:07 2005
--- nl_NL.aff Sun Jul 31 22:18:15 2005
--- nl_NL.aff Tue Aug 16 22:39:54 2005
***************
*** 3,6 ****
--- 3,30 ----
@ -135,12 +135,13 @@
REP kritikus criticus
***************
*** 333 ****
--- 357,359 ----
--- 357,360 ----
REP aflassen afgelasten
+ REP svp s.v.p.
+ REP zoz z.o.z.
+
*** nl_NL.orig.dic Sun Jul 3 18:24:07 2005
--- nl_NL.dic Thu Jul 21 11:06:07 2005
--- nl_NL.dic Sat Aug 13 14:10:15 2005
***************
*** 1,3 ****
119937
@ -258,7 +259,7 @@
voorjaarsmoeheid
***************
*** 119938 ****
--- 119963,120137 ----
--- 119963,120139 ----
<20>berhaupt
+ Christiaan/X
+ Fred/X
@ -434,3 +435,5 @@
+ enz.
+ bijv.
+ Gerard
+ Google
+ Luuk

10
runtime/spell/yi.vim Normal file
View File

@ -0,0 +1,10 @@
" For Yiddish capitals should not be checked. But only change the
" 'spellcapcheck' option when it is not at its default value.
let s:spc = &l:spc
setlocal spc&
if s:spc == &l:spc
setlocal spc=
else
let &l:spc = s:spc
endif
unlet s:spc

View File

@ -6,7 +6,7 @@
+ 84608
gruntelement
dzhobendiks
*** /dev/null Tue Aug 16 10:44:00 2005
*** /dev/null Fri Aug 19 23:01:14 2005
--- yi_tr.aff Tue Aug 16 10:48:01 2005
***************
*** 0 ****

View File

@ -1840,15 +1840,12 @@ installtutor: $(DEST_VIM) $(DEST_RT) $(DEST_TUTOR)
-$(INSTALL_DATA) $(TUTORSOURCE)/README* $(TUTORSOURCE)/tutor* $(DEST_TUTOR)
chmod $(HELPMOD) $(DEST_TUTOR)/*
# Install the spell files, if they exist.
# Install the spell files, if they exist. This assumes at least the English
# spell file is there.
installspell: $(DEST_VIM) $(DEST_RT) $(DEST_SPELL)
if test -f $(SPELLSOURCE)/en.latin1.spl; then \
$(INSTALL_DATA) $(SPELLSOURCE)/*.spl $(DEST_SPELL); \
chmod $(HELPMOD) $(DEST_SPELL)/*.spl; \
fi
if test -f $(SPELLSOURCE)/en.utf-8.spl; then \
$(INSTALL_DATA) $(SPELLSOURCE)/*.spl $(DEST_SPELL); \
chmod $(HELPMOD) $(DEST_SPELL)/*.spl; \
$(INSTALL_DATA) $(SPELLSOURCE)/*.spl *.vim $(DEST_SPELL); \
chmod $(HELPMOD) $(DEST_SPELL)/*.spl *.vim; \
fi
# install helper program xxd