mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-03 23:04:08 +01:00
03f175dd8f
being able to compile a wordlist and take it apart using dawg2dict. None of the compiled clients can handle this format yet.
71 lines
1.9 KiB
Text
71 lines
1.9 KiB
Text
# -*- mode: conf; -*-
|
|
# Copyright 2002 by Eric House (xwords@eehouse.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:en_US
|
|
|
|
# deal with DOS files
|
|
LANGFILTER: tr -d '\r'
|
|
LANGFILTER: | tr [a-z] [A-Z]
|
|
LANGFILTER: | grep '^[A-Z]*$'
|
|
LANGFILTER: | sort -u
|
|
|
|
# We can trust sort (above) to do the right thing since there's no
|
|
# high ascii. dict2dawg.pl is much faster if I can trust that its
|
|
# input is in sorted order.
|
|
D2DARGS: -nosort -term 10
|
|
|
|
|
|
LANGINFO: <p>English dictionaries can contain words with any of the 26
|
|
LANGINFO: letters you think of as making up the alphabet: A-Z. At
|
|
LANGINFO: this point any word in your list containing anything else
|
|
LANGINFO: will simply be excluded from the dictionary.</p>
|
|
|
|
# High bit means "official". Next 7 bits are an enum where
|
|
# English==1. Low byte is padding
|
|
XLOC_HEADER:0x8100
|
|
|
|
<BEGIN_TILES>
|
|
2 0 {"_"}
|
|
9 1 'A|a'
|
|
2 3 'B|b'
|
|
2 3 'C|c'
|
|
4 2 'D|d'
|
|
12 1 'E|e'
|
|
2 4 'F|f'
|
|
3 2 'G|g'
|
|
2 4 'H|h'
|
|
9 1 'I|i'
|
|
1 8 'J|j'
|
|
1 5 'K|k'
|
|
4 1 'L|l'
|
|
2 3 'M|m'
|
|
6 1 'N|n'
|
|
8 1 'O|o'
|
|
2 3 'P|p'
|
|
1 10 'Q|q'
|
|
6 1 'R|r'
|
|
4 1 'S|s'
|
|
6 1 'T|t'
|
|
4 1 'U|u'
|
|
2 4 'V|v'
|
|
2 4 'W|w'
|
|
1 8 'X|x'
|
|
2 4 'Y|y'
|
|
1 10 'Z|z'
|
|
<END_TILES>
|
|
|
|
# should ignore all after the <END> above
|