mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-29 10:26:36 +01:00
add support for non-empty Turkish wordlist
This commit is contained in:
parent
2312290987
commit
828f8b3af3
1 changed files with 9 additions and 6 deletions
|
@ -20,18 +20,21 @@ XWLANG=Turkish
|
|||
LANGCODE=tr_TR
|
||||
ENC = UTF-8
|
||||
|
||||
DICT2DAWGARGS = -r -nosort
|
||||
# DICT2DAWGARGS = -r -nosort
|
||||
|
||||
TARGET_TYPE ?= WINCE
|
||||
|
||||
include ../Makefile.langcommon
|
||||
|
||||
# Empty dict
|
||||
$(XWLANG)Main.dict:
|
||||
> $@
|
||||
|
||||
$(XWLANG)Main.dict.gz: $(XWLANG)Main.dict
|
||||
gzip $<
|
||||
$(XWLANG)Main.dict.gz: $(XWDICTPATH)/Turkish/wordlist-tr.txt
|
||||
cat $< \
|
||||
| tr -d '\r' \
|
||||
| sed 's/ //g' \
|
||||
| sed 's/./\u&/g' \
|
||||
| sed 'y/ÂÎÛ/AIU/' \
|
||||
| grep '^[ABCÇDEFGĞHIİJKLMNOÖPRSŞTUÜVYZ]\{2,15\}$$' \
|
||||
| gzip >$@
|
||||
|
||||
# Everything but creating of the Main.dict file is inherited from the
|
||||
# "parent" Makefile.langcommon in the parent directory.
|
||||
|
|
Loading…
Reference in a new issue