mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-02-15 08:47:56 +01:00
add Basque wordlist
Currently trying to display it among downloads crashes the Android app. Seems to work in Linux though the display of two-letter tiles is horked.
This commit is contained in:
parent
55e8f78479
commit
645b5eeb3b
2 changed files with 125 additions and 0 deletions
56
xwords4/dawg/Basque/Makefile
Normal file
56
xwords4/dawg/Basque/Makefile
Normal file
|
@ -0,0 +1,56 @@
|
||||||
|
# -*-mode: Makefile; compile-command: "make TARGET_TYPE=WINCE"; -*-
|
||||||
|
# Copyright 2002-2024 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=Basque
|
||||||
|
LANGCODE=eu
|
||||||
|
TARGET_TYPE ?= WINCE
|
||||||
|
ENC = UTF-8
|
||||||
|
|
||||||
|
DICTNOTE = "List provided by Tonino Licciardello (Spain)"
|
||||||
|
|
||||||
|
# not used yet
|
||||||
|
# DICTREV = 8dea44bb695f8e18dd64a24d96281e1dd2bb56ba
|
||||||
|
|
||||||
|
# Needs only to be defined
|
||||||
|
ALLOWS_DUPLICATES = TRUE
|
||||||
|
|
||||||
|
LANG_SPECIAL_INFO = \
|
||||||
|
"RR Rr rr rR" /dev/null /dev/null \
|
||||||
|
"TS Ts ts tS" /dev/null /dev/null \
|
||||||
|
"TX Tx tx tX" /dev/null /dev/null \
|
||||||
|
"TZ Tz tz tZ" /dev/null /dev/null \
|
||||||
|
|
||||||
|
include ../Makefile.langcommon
|
||||||
|
|
||||||
|
# This list is private: not to be released
|
||||||
|
SOURCEDICT ?= $(XWDICTPATH)/Basque/palabrascon_pc_euskera.txt
|
||||||
|
|
||||||
|
$(XWLANG)Main.dict.gz: $(SOURCEDICT) $(MAKEFILE)
|
||||||
|
cat $< \
|
||||||
|
| grep '^[abdefghijklmnñoprstuxz]*$$' \
|
||||||
|
| tr 'ñ' 'n' \
|
||||||
|
| sed -e 's/[[:lower:]]*/\U&/' \
|
||||||
|
| sed 's/RR/1/g' \
|
||||||
|
| sed 's/TS/2/g' \
|
||||||
|
| sed 's/TX/3/g' \
|
||||||
|
| sed 's/TZ/4/g' \
|
||||||
|
| tr '1234' '\001\002\003\004' \
|
||||||
|
| gzip - > $@
|
||||||
|
|
||||||
|
clean: clean_common
|
||||||
|
rm -rf *.saved
|
69
xwords4/dawg/Basque/info.txt
Normal file
69
xwords4/dawg/Basque/info.txt
Normal file
|
@ -0,0 +1,69 @@
|
||||||
|
# -*- mode: conf; -*-
|
||||||
|
|
||||||
|
# Copyright 2002-2024 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.
|
||||||
|
|
||||||
|
LANGCODE:eu_EU
|
||||||
|
LANGNAME:Basque
|
||||||
|
CHARSET: utf-8
|
||||||
|
|
||||||
|
NEEDSSORT:true
|
||||||
|
BUILD_FLAGS:ALLOWS_DUPLICATES
|
||||||
|
|
||||||
|
LANGINFO: <p>Basque has 100 tiles</p>
|
||||||
|
|
||||||
|
LANGINFO: <p>The file you upload should be encoded in UTF-8.</p>
|
||||||
|
|
||||||
|
# MSDos LF chars go bye-bye
|
||||||
|
LANGFILTER: tr -d '\r'
|
||||||
|
|
||||||
|
# LANGFILTER: Not done yet!!!!
|
||||||
|
|
||||||
|
D2DARGS: -r -term 0 -enc UTF-8
|
||||||
|
|
||||||
|
# High bit means "official". Next 7 bits are an enum where
|
||||||
|
# Basque==0x1A. Low byte is padding
|
||||||
|
XLOC_HEADER:0x9A00
|
||||||
|
|
||||||
|
<BEGIN_TILES>
|
||||||
|
{"_"} 0 2
|
||||||
|
'A|a' 1 14
|
||||||
|
'B|b' 4 3
|
||||||
|
'D|d' 3 4
|
||||||
|
'E|e' 1 12
|
||||||
|
'F|f' 10 1
|
||||||
|
'G|g' 5 2
|
||||||
|
'H|h' 5 2
|
||||||
|
'I|i' 1 9
|
||||||
|
'J|j' 8 1
|
||||||
|
'K|k' 2 5
|
||||||
|
'L|l' 5 2
|
||||||
|
'M|m' 8 1
|
||||||
|
'N|n' 1 8
|
||||||
|
'O|o' 1 6
|
||||||
|
'P|p' 8 1
|
||||||
|
'R|r' 2 5
|
||||||
|
{"RR|Rr|rr|rR"} 8 1
|
||||||
|
'S|s' 5 2
|
||||||
|
'T|t' 1 6
|
||||||
|
{"TS|Ts|ts|tS"} 8 1
|
||||||
|
{"TX|Tx|tx|tX"} 8 1
|
||||||
|
{"TZ|Tz|tz|tZ"} 8 1
|
||||||
|
'U|u' 1 6
|
||||||
|
'X|x' 10 1
|
||||||
|
'Z|z' 4 3
|
||||||
|
<END_TILES>
|
Loading…
Add table
Reference in a new issue