# 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. # look this up! LANGCODE:??_?? NEEDSSORT:true LANGINFO:
Catalan includes several special tiles, "L.L", "NY" and LANGINFO: "QU" in addition to Ç. There are no "Y" or "Q" tiles, LANGINFO: and all words containing either of these letters not in LANGINFO: combination with a "N" or "U" will be excluded from the LANGINFO: dictionary.
LANGINFO:"L" is legal by itself, as are words in which two "L"s LANGINFO: appear side-by-side. If you want your dictionary to include LANGINFO: the "L.L" tile you'll need to make sure that the exact LANGINFO: string "L.L" (or "l.l") appears in the wordlist you LANGINFO: upload.
LANGFILTER_PRECLIP: tr 'ça-z' 'ÇA-Z' | LANGFILTER_PRECLIP: grep -v 'Q[^U]' | LANGFILTER_PRECLIP: grep -v '[^N]Y' | LANGFILTER_PRECLIP: grep -v '^Y' | LANGFILTER_PRECLIP: grep '^[ÇA-JL-VXYZ\.]*$' | LANGFILTER_PRECLIP: sed -e 's/L\.L/1/g' -e 's/NY/2/g' -e 's/QU/3/g' | LANGFILTER_POSTCLIP: | tr -s '\n\r' '\000\000' #LANGFILTER_PRECLIP: sed 's/NY/2/g' | #LANGFILTER_PRECLIP: sed 's/QU/3/g' | LANGFILTER_POSTCLIP: | tr '123' '\001\002\003' # High bit means "official". Next 7 bits are an enum where # Catalan==b. Low byte is padding XLOC_HEADER:0x8B00