diff --git a/xwords4/dawg/Polish/Makefile b/xwords4/dawg/Polish/Makefile new file mode 100644 index 000000000..11e8e4803 --- /dev/null +++ b/xwords4/dawg/Polish/Makefile @@ -0,0 +1,34 @@ +# -*-mode: Makefile -*- +# Copyright 2002 by Eric House (fixin@peak.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. + +LANG=Polish +LANGCODE=pl_PL + +TARGET_TYPE ?= FRANK + +include ../Makefile.2to8 + +include ../Makefile.langcommon + +# $(LANG)Main.dict.gz: ods3.txt.gz +# zcat $< | tr a-z A-Z | gzip >$@ + +# Everything but creating of the Main.dict file is inherited from the +# "parent" Makefile.langcommon in the parent directory. + +clean: clean_common + rm -f $(LANG)Main.dict.gz *.bin $(LANG)*.pdb $(LANG)*.seb diff --git a/xwords4/dawg/Polish/info.txt b/xwords4/dawg/Polish/info.txt new file mode 100644 index 000000000..342f2bc65 --- /dev/null +++ b/xwords4/dawg/Polish/info.txt @@ -0,0 +1,79 @@ +# Copyright 2002 by Eric House (fixin@peak.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:pl_PL + + +LANGFILTER_POSTCLIP: | tr [a-z] [A-Z] +LANGFILTER_POSTCLIP: | grep '^[A-PR-UWYZ¡Æ£ÑÓ¦¬¯]*$' +LANGFILTER_POSTCLIP: | tr '\n' '\000' + +NEEDSSORT:true + + +LANGINFO:
Polish is interesting because it has 32 letters plus a +LANGINFO: blank, a larger number than any other supported language. +LANGINFO: Yet while I call it "supported", in fact this combination +LANGINFO: has never been tested because I don't have a Polish +LANGINFO: wordlist. So if you are the first and have problems you've +LANGINFO: probably found a bug. Please let me know so that I can get +LANGINFO: this working.
+ +LANGINFO:Note that the blank is the last tile here, while with all +LANGINFO: other languages it's the first.
+ +# High bit means "official". Next 7 bits are an enum where +# Polish==8. Low byte is padding +XLOC_HEADER:0x8800 + + +