From 7d1808a9cc74b3031ebaddf1d8989c089daa7968 Mon Sep 17 00:00:00 2001 From: ehouse Date: Wed, 10 Dec 2003 06:01:57 +0000 Subject: [PATCH] add two more blank-only tiles; force NEWDAWG format (since too many tiles for old) --- xwords4/dawg/Swedish/Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/xwords4/dawg/Swedish/Makefile b/xwords4/dawg/Swedish/Makefile index 48177bfc3..b5ffc4069 100644 --- a/xwords4/dawg/Swedish/Makefile +++ b/xwords4/dawg/Swedish/Makefile @@ -18,6 +18,9 @@ LANG=Swedish LANGCODE=sv_SE +# Swedish has too many chars for the old format. +NEWDAWG=whatever + TARGET_TYPE ?= FRANK include ../Makefile.2to8 @@ -28,8 +31,8 @@ include ../Makefile.langcommon # Swedish play of allowing blanks to stand for those letters as well. # So we don't exclude words with those letters from the dictionary. $(LANG)Main.dict.gz: swedish15.dict.gz - zcat $< | tr [a-zäåö] [A-ZÄÅÖ] | \ - grep '^[A-ZÄÅÖ]\{2,15\}$$' | \ + zcat $< | tr [a-zäåæöü] [A-ZÄÅÆÖÜ] | \ + grep '^[A-ZÄÅÆÖÜ]\{2,15\}$$' | \ gzip -c > $@ # Everything but creating of the Main.dict file is inherited from the