files to create empty Hungarian wordlist

This commit is contained in:
Eric House 2020-04-22 21:54:59 -07:00
parent d4e71caed1
commit cc28562061
2 changed files with 95 additions and 0 deletions

View file

@ -0,0 +1,45 @@
# -*-mode: Makefile; -*-
# Copyright 2002-2020 by Eric House (xwords@eehouse.org). All rights
# reserved.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
XWLANG=Hungarian
LANGCODE=hu_HU
ENC = UTF-8
TARGET_TYPE ?= WINCE
DICTNOTE = "This wordlist contains the tile information for Hungarian but no words."
LANG_SPECIAL_INFO = \
"CS Cs cS cs" /dev/null /dev/null \
"GY Gy gY gy" /dev/null /dev/null \
"LY Ly lY ly" /dev/null /dev/null \
"NY Ny nY ny" /dev/null /dev/null \
"SZ Sz sZ sz" /dev/null /dev/null \
"TY Ty tY ty" /dev/null /dev/null \
"ZS Zs zS zs" /dev/null /dev/null \
include ../Makefile.langcommon
# Empty dict
$(XWLANG)Main.dict.gz:
echo -n "" | gzip -c > $@
# Everything but creating of the Main.dict file is inherited from the
# "parent" Makefile.langcommon in the parent directory.
clean: clean_common
rm -f $(XWLANG)Main.dict.gz *.bin $(XWLANG)*.pdb $(XWLANG)*.seb

View file

@ -0,0 +1,50 @@
# -*- mode: conf; coding: utf-8; -*-
LANGCODE:hu_HU
CHARSET: utf-8
# High bit means "official". Next 7 bits are an enum where
# Hungarian==0x14. Low byte is padding
XLOC_HEADER:0x9400
<BEGIN_TILES>
2 0 {"_"}
6 1 'A|a'
4 1 'Á|á'
3 2 'B|b'
1 5 'C|c'
1 7 {"CS|cs"}
3 2 'D|d'
6 1 'E|e'
3 3 'É|é'
2 4 'F|f'
3 2 'G|g'
2 4 {"GY|gy"}
2 3 'H|h'
3 1 'I|i'
1 5 'Í|í'
2 4 'J|j'
6 1 'K|k'
4 1 'L|l'
1 8 {"LY|ly"}
3 1 'M|m'
4 1 'N|n'
1 5 {"NY|ny"}
3 1 'O|o'
3 2 'Ó|ó'
2 4 'Ö|ö'
1 7 'Ő|ö'
2 4 'P|p'
4 1 'R|r'
3 1 'S|s'
2 3 {"SZ|sz"}
5 1 'T|t'
1 10 {"TY|ty"}
2 4 'U|u'
1 7 'Ú|ú'
2 4 'Ü|ü'
1 7 'Ű|ű'
2 3 'V|v'
2 4 'Z|z'
1 8 {"ZS|zs"}
<END_TILES>