From d9af27b05608f5d63dbdf55177a54a1bb7e1e310 Mon Sep 17 00:00:00 2001 From: ehouse Date: Wed, 21 Jul 2004 02:07:48 +0000 Subject: [PATCH] rule for building main dict from public commons list --- dawg/Polish/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/dawg/Polish/Makefile b/dawg/Polish/Makefile index 11e8e4803..877de84b4 100644 --- a/dawg/Polish/Makefile +++ b/dawg/Polish/Makefile @@ -24,8 +24,9 @@ include ../Makefile.2to8 include ../Makefile.langcommon -# $(LANG)Main.dict.gz: ods3.txt.gz -# zcat $< | tr a-z A-Z | gzip >$@ +$(LANG)Main.dict.gz: slowa.txt.gz + zcat $< | tr -d '\r' | tr [a-z±æê³ñ󶼿] [A-Z¡ÆÊ£ÑÓ¦¬¯] | \ + grep '^[A-PR-UWYZ¡ÆÊ£ÑÓ¦¬¯]*$$' | gzip >$@ # Everything but creating of the Main.dict file is inherited from the # "parent" Makefile.langcommon in the parent directory.