diff options
author | Bram Moolenaar <Bram@vim.org> | 2006-03-26 21:06:50 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2006-03-26 21:06:50 +0000 |
commit | 899dddf88804af20d560b5277f1ca1bc4dd8e2b3 (patch) | |
tree | 17525001ae02c1e762f4dd6b383612bd16f7238d /runtime/spell | |
parent | 5c6a2d53232f248c0ba0e4278a447042aa00371e (diff) |
updated for version 7.0b02v7.0b02
Diffstat (limited to 'runtime/spell')
-rw-r--r-- | runtime/spell/hu/hu_HU.diff | 403 | ||||
-rw-r--r-- | runtime/spell/hu/main.aap | 45 |
2 files changed, 277 insertions, 171 deletions
diff --git a/runtime/spell/hu/hu_HU.diff b/runtime/spell/hu/hu_HU.diff index 2b9a6ddf0b..c977e18247 100644 --- a/runtime/spell/hu/hu_HU.diff +++ b/runtime/spell/hu/hu_HU.diff @@ -1,94 +1,135 @@ -*** hu_HU.orig.aff Tue Aug 16 18:21:10 2005 ---- hu_HU.aff Fri Aug 19 21:28:45 2005 +*** hu_HU.orig.aff Sun Mar 26 15:05:13 2006 +--- hu_HU.aff Sun Mar 26 21:17:08 2006 *************** -*** 57,62 **** - -! NAME Magyar Ispell helyesírási szótár +*** 57,59 **** + NAME Magyar Ispell helyesírási szótár ! LANG hu_HU -! HOME http://magyarispell.sourceforge.net -! VERSION Magyar 0.99.4.2 - SET ISO8859-2 ---- 57,62 ---- - -! #NAME Magyar Ispell helyesírási szótár + HOME http://magyarispell.sourceforge.net +--- 57,59 ---- + NAME Magyar Ispell helyesírási szótár ! #LANG hu_HU -! #HOME http://magyarispell.sourceforge.net -! #VERSION Magyar 0.99.4.2 - SET ISO8859-2 + HOME http://magyarispell.sourceforge.net +*************** +*** 62,63 **** +--- 62,68 ---- + TRY íóúÍÓÚtaeslzánorhgkiédmyõpvöbucfjüûxwqTAESLZÁNORHGKIÉDMYÕPVÖBUCFJÜÛXWQ-. ++ ++ # There are soooo many affixes. Postpone the prefixes to keep the time needed ++ # for generating the .spl within reasonable limits. ++ PFXPOSTPONE ++ + COMPOUNDMIN 1 *************** -*** 64,77 **** - COMPOUNDMIN 2 -! COMPOUNDFLAG Y -! COMPOUNDWORD 2 y +*** 66,69 **** + COMPOUNDPERMITFLAG @ ! COMPOUNDSYLLABLE 6 aáeéiíoóöõuúüû ! SYLLABLENUM klmc -! COMPOUNDFIRST v -! COMPOUNDLAST x -! FORBIDDENWORD w -! ONLYROOT u -! ACCENT áéíóöõúüû aeiooouuu -! CHECKNUM -! WORDCHARS -.§%°0123456789 -! HU_KOTOHANGZO Z - ---- 64,116 ---- - COMPOUNDMIN 2 -! #COMPOUNDWORD 2 y -! COMPOUNDMAX 2 -! # I don't understand what the "y" is for; if it's to disable compounding simply -! # remove the compound flag from the word. -! + +--- 71,81 ---- + COMPOUNDPERMITFLAG @ +! # +! # Strange that every vowel is counted as a syllable, that's how the hunspell +! # code works. ! #COMPOUNDSYLLABLE 6 aáeéiíoóöõuúüû ! COMPOUNDSYLMAX 6 ! SYLLABLE a/á/e/é/i/í/o/ó/ö/õ/u/ú/ü/û -! # Strange that every vowel is counted as a syllable, that's how the hunspell -! # code works. ! +! # the effect of SYLLABLENUM is not documented ! #SYLLABLENUM klmc -! # Don't understand what this is for -! -! #COMPOUNDFLAG Y + +*************** +*** 74,88 **** + +! # obsoloted +! COMPOUNDFIRST v +! COMPOUNDLAST x +! ONLYROOT u + #COMPOUNDWORD 2 y +! HU_KOTOHANGZO ? + + # new (> Hunspell-1.0-RC2) +! COMPOUNDBEGIN v +! COMPOUNDEND x +! PSEUDOROOT u + # 2. parameter only for back compatibility: +! COMPOUNDWORDMAX 2 y + COMPOUNDROOT y +--- 86,110 ---- + +! # obsolete ! #COMPOUNDFIRST v ! #COMPOUNDLAST x -! COMPOUNDFLAGS Y+ -! COMPOUNDFLAGS vY*x -! COMPOUNDFLAGS Y+x -! COMPOUNDFLAGS vY+ +! #ONLYROOT u ! -! #FORBIDDENWORD w -! # I don't understand what FORBIDDENWORD is needed for, using NEEDAFFIX -! # (ONLYROOT) should be sufficient. + #COMPOUNDWORD 2 y ! -! #ONLYROOT u -! NEEDAFFIX u +! # Undocumented and ? is already used for KEEPCASE +! #HU_KOTOHANGZO ? + + # new (> Hunspell-1.0-RC2) +! #COMPOUNDBEGIN v +! #COMPOUNDEND x +! COMPOUNDRULE vx ! -! #ACCENT áéíóöõúüû aeiooouuu -! MAP 5 -! MAP aáä -! MAP eé -! MAP ií -! MAP oóöõ -! MAP uúüû +! # PSEUDOROOT was renamed to NEEDAFFIX +! #PSEUDOROOT u +! NEEDAFFIX u ! -! #CHECKNUM -! # Vim always handles numbers in the same way. + # 2. parameter only for back compatibility: +! # What is the extra "y" for? +! #COMPOUNDWORDMAX 2 y +! COMPOUNDWORDMAX 2 + COMPOUNDROOT y +*************** +*** 93,94 **** +--- 115,117 ---- + CHECKCOMPOUNDCASE ++ + CHECKCOMPOUNDPATTERN 7 +*************** +*** 102,111 **** + +! FORBIDDENWORD w +! WORDCHARS -.§%°0123456789– ! -! #WORDCHARS -.§%°0123456789 + +! NOT_GENERATE & +! GENERATE ( + +! LEMMA_PRESENT ) + +--- 125,151 ---- + +! #FORBIDDENWORD w +! BAD w + +! #WORDCHARS -.§%°0123456789– + +! # List the word characters for ISO-8859-2. ! FOL ±¢³µ¶¨¹º»¼¾¿±²³´µ¶·¸¹º»¼½¾¿àáâãäåæçèéêëìíîïðñòóôõöøùúûüýþßÿ-§%° ! LOW ±¢³µ¶¨¹º»¼¾¿±²³´µ¶·¸¹º»¼½¾¿àáâãäåæçèéêëìíîïðñòóôõöøùúûüýþßÿ-§%° ! UPP ¡¢£¥¦¨©ª«¬®¯±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞßÿ-§%° ! MIDWORD . ! -! #HU_KOTOHANGZO Z +! # These are not documented and not in the source code either +! #NOT_GENERATE & +! #GENERATE ( ! -! # There are soooo many affixes. Postpone the prefixes to keep the time needed -! # for generating the .spl within reasonable limits. -! PFXPOSTPONE +! # Only for morphological analysis +! #LEMMA_PRESENT ) +! +! # This works better than REP items +! MAP 5 +! MAP aáä +! MAP eé +! MAP ií +! MAP oóöõ +! MAP uúüû *************** -*** 81,96 **** +*** 115,130 **** -! REP 89 +! REP 92 ! REP í i ! REP i í ! REP ó o @@ -103,88 +144,168 @@ REP ly j - REP a ä # Handel->Händel REP S © # Skoda->©koda ---- 120,124 ---- +--- 155,159 ---- -! REP 78 +! REP 81 REP j ly REP ly j REP S © # Skoda->©koda *************** -*** 173,241 **** +*** 214,251 **** + +! CHR HTML 35 +! CHR HTML ¤ ¤ +! CHR HTML ° ° +! CHR HTML ´ ´ +! CHR HTML ¸ ¸ +! CHR HTML Á Á +! CHR HTML   +! CHR HTML Ä Ä +! CHR HTML Ç Ç +! CHR HTML É É +! CHR HTML Ë Ë +! CHR HTML Í Í +! CHR HTML Î Î +! CHR HTML Ó Ó +! CHR HTML Ô Ô +! CHR HTML Ö Ö +! CHR HTML × × +! CHR HTML Ú Ú +! CHR HTML Ü Ü +! CHR HTML Ý Ý +! CHR HTML ß ß +! CHR HTML á á +! CHR HTML â â +! CHR HTML ä ä +! CHR HTML ç ç +! CHR HTML é é +! CHR HTML ë ë +! CHR HTML í í +! CHR HTML î î +! CHR HTML ó ó +! CHR HTML ô ô +! CHR HTML ö ö +! CHR HTML ÷ ÷ +! CHR HTML ú ú +! CHR HTML ü ü +! CHR HTML ý ý + +--- 243,280 ---- + +! #CHR HTML 35 +! #CHR HTML ¤ ¤ +! #CHR HTML ° ° +! #CHR HTML ´ ´ +! #CHR HTML ¸ ¸ +! #CHR HTML Á Á +! #CHR HTML   +! #CHR HTML Ä Ä +! #CHR HTML Ç Ç +! #CHR HTML É É +! #CHR HTML Ë Ë +! #CHR HTML Í Í +! #CHR HTML Î Î +! #CHR HTML Ó Ó +! #CHR HTML Ô Ô +! #CHR HTML Ö Ö +! #CHR HTML × × +! #CHR HTML Ú Ú +! #CHR HTML Ü Ü +! #CHR HTML Ý Ý +! #CHR HTML ß ß +! #CHR HTML á á +! #CHR HTML â â +! #CHR HTML ä ä +! #CHR HTML ç ç +! #CHR HTML é é +! #CHR HTML ë ë +! #CHR HTML í í +! #CHR HTML î î +! #CHR HTML ó ó +! #CHR HTML ô ô +! #CHR HTML ö ö +! #CHR HTML ÷ ÷ +! #CHR HTML ú ú +! #CHR HTML ü ü +! #CHR HTML ý ý -- # character conversion table -- # (HTML latin-1 entities -> latin-2) -- # not implemented yet -- -- CHR HTML 35 -- CHR HTML ¤ ¤ -- CHR HTML ° ° -- CHR HTML ´ ´ -- CHR HTML ¸ ¸ -- CHR HTML Á Á -- CHR HTML   -- CHR HTML Ä Ä -- CHR HTML Ç Ç -- CHR HTML É É -- CHR HTML Ë Ë -- CHR HTML Í Í -- CHR HTML Î Î -- CHR HTML Ó Ó -- CHR HTML Ô Ô -- CHR HTML Ö Ö -- CHR HTML × × -- CHR HTML Ú Ú -- CHR HTML Ü Ü -- CHR HTML Ý Ý -- CHR HTML ß ß -- CHR HTML á á -- CHR HTML â â -- CHR HTML ä ä -- CHR HTML ç ç -- CHR HTML é é -- CHR HTML ë ë -- CHR HTML í í -- CHR HTML î î -- CHR HTML ó ó -- CHR HTML ô ô -- CHR HTML ö ö -- CHR HTML ÷ ÷ -- CHR HTML ú ú -- CHR HTML ü ü -- CHR HTML ý ý -- -- # character conversion table -- # (Prószéky-code -> latin-2) -- # not implemented yet -- -- CHR 123 20 -- CHR 123 a1 á -- CHR 123 e1 é -- CHR 123 e2 ë -- CHR 123 i1 í -- CHR 123 o1 ó -- CHR 123 o2 ö -- CHR 123 o3 õ -- CHR 123 u1 ú -- CHR 123 u2 ü -- CHR 123 u3 û -- CHR 123 A1 Á -- CHR 123 E1 É -- CHR 123 E2 Ë -- CHR 123 I1 Í -- CHR 123 O1 Ó -- CHR 123 O2 Ö -- CHR 123 O3 Õ -- CHR 123 U1 Ú -- CHR 123 U2 Ü -- CHR 123 U3 Û -- - SFX z Y 6 ---- 201,202 ---- *************** -*** 17678,17681 **** - PFX D 0 leg . -- -- 1 +*** 255,277 **** + +! CHR 123 20 +! CHR 123 a1 á +! CHR 123 e1 é +! CHR 123 e2 ë +! CHR 123 i1 í +! CHR 123 o1 ó +! CHR 123 o2 ö +! CHR 123 o3 õ +! CHR 123 u1 ú +! CHR 123 u2 ü +! CHR 123 u3 û +! CHR 123 A1 Á +! CHR 123 E1 É +! CHR 123 E2 Ë +! CHR 123 I1 Í +! CHR 123 O1 Ó +! CHR 123 O2 Ö +! CHR 123 O3 Õ +! CHR 123 U1 Ú +! CHR 123 U2 Ü +! CHR 123 U3 Û + +--- 284,306 ---- + +! #CHR 123 20 +! #CHR 123 a1 á +! #CHR 123 e1 é +! #CHR 123 e2 ë +! #CHR 123 i1 í +! #CHR 123 o1 ó +! #CHR 123 o2 ö +! #CHR 123 o3 õ +! #CHR 123 u1 ú +! #CHR 123 u2 ü +! #CHR 123 u3 û +! #CHR 123 A1 Á +! #CHR 123 E1 É +! #CHR 123 E2 Ë +! #CHR 123 I1 Í +! #CHR 123 O1 Ó +! #CHR 123 O2 Ö +! #CHR 123 O3 Õ +! #CHR 123 U1 Ú +! #CHR 123 U2 Ü +! #CHR 123 U3 Û + +*** hu_HU.orig.dic Sun Mar 26 15:05:13 2006 +--- hu_HU.dic Sun Mar 26 20:12:13 2006 +*************** +*** 94597,94600 **** + 0 +- ... +- . + -öt +--- 94597,94598 ---- +*************** +*** 94616,94622 **** + -/ABCUVWKLMQR +- , +- + +- ) +- ( +- ' + ångström/W̯jØMÝÔíè³ÅåTtYc¸½l +--- 94614,94615 ---- +*************** +*** 94634,94642 **** + %-/KUÒÖmQSsi) +- % +- $ +- " +- !!! +- !! +- ! +- / - ---- 17639 ---- +--- 94627 ---- diff --git a/runtime/spell/hu/main.aap b/runtime/spell/hu/main.aap index 3890b1eafe..ab5cdb8a9b 100644 --- a/runtime/spell/hu/main.aap +++ b/runtime/spell/hu/main.aap @@ -21,23 +21,30 @@ $SPELLDIR/hu.utf-8.spl : $FILES $SPELLDIR/hu.cp1250.spl : $FILES :sys $VIM -u NONE -e -c "set enc=cp1250" -c "mkspell! $SPELLDIR/hu hu_HU" -c q -../README_hu.txt: README_hu_HU.txt - :copy $source $target +../README_hu.txt: $FILES + :sys $VIM -u NONE -e hu_HU.aff -c "1,/# ---/w! $target" -c q # -# Fetching the files from OpenOffice.org. +# Fetch the zip file from SourceForge. Version specific name... # -OODIR = http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries -:attr {fetch = $OODIR/%file%} hu_HU.zip +OODIR = http://hunspell.sourceforge.net +zipname = hu_HU2.zip +:attr {fetch = $OODIR/%file%} $zipname # 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. # This is a bit tricky, since the file name includes the date. hu_HU.aff hu_HU.dic: {buildcheck=} :assertpkg unzip patch - :fetch hu_HU.zip - :sys $UNZIP hu_HU.zip - :delete hu_HU.zip + :fetch $zipname + :sys $UNZIP $zipname + :delete $zipname + + # Unfortunately the version number is in the file name... + :move hu_HU2.dic hu_HU.dic + :move hu_HU2.aff hu_HU.aff + :delete hu_HU2.history + @if not os.path.exists('hu_HU.orig.aff'): :copy hu_HU.aff hu_HU.orig.aff @if not os.path.exists('hu_HU.orig.dic'): @@ -55,27 +62,5 @@ diff: :sys {force} diff -a -C 1 hu_HU.orig.dic hu_HU.dic >>hu_HU.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: - :assertpkg unzip diff - :fetch hu_HU.zip - :mkdir tmp - :cd tmp - @try: - @import stat - :sys $UNZIP ../hu_HU.zip - :sys {force} diff ../hu_HU.orig.aff hu_HU.aff >d - @if os.stat('d')[stat.ST_SIZE] > 0: - :copy hu_HU.aff ../hu_HU.new.aff - :sys {force} diff ../hu_HU.orig.dic hu_HU.dic >d - @if os.stat('d')[stat.ST_SIZE] > 0: - :copy hu_HU.dic ../hu_HU.new.dic - @finally: - :cd .. - :delete {r}{f}{q} tmp - :delete hu_HU.zip - # vim: set sts=4 sw=4 : |