mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-29 08:34:37 +01:00
Accept words that contain no vowels.
This commit is contained in:
parent
d29968a3c1
commit
147f8a4357
2 changed files with 2 additions and 5 deletions
|
@ -28,7 +28,7 @@ SOURCEDICT ?= $(XWDICTPATH)/$(XWLANG)/Dutch__unofficial_alphabetical.dict.gz
|
|||
|
||||
$(XWLANG)Main.dict.gz: $(SOURCEDICT) Makefile
|
||||
zcat $< | tr -d '\r' | tr [a-zäöü] [A-ZÄÖÜ] | \
|
||||
grep '[AEIOU]' | grep '^[A-Z]\+$$' | sort -u | \
|
||||
grep '^[A-Z]\+$$' | sort -u | \
|
||||
gzip -c > $@
|
||||
|
||||
# Everything but creating of the Main.dict file is inherited from the
|
||||
|
|
|
@ -22,8 +22,6 @@ LANGCODE:nl_NL
|
|||
LANGFILTER: tr -d '\r'
|
||||
# uppercase all
|
||||
LANGFILTER: | tr [a-z] [A-Z]
|
||||
# no words not containing a vowel
|
||||
LANGFILTER: | grep '[AEIOU]'
|
||||
# none with illegal chars
|
||||
LANGFILTER: | grep '^[A-Z]\+$'
|
||||
LANGFILTER: | sort -u
|
||||
|
@ -35,8 +33,7 @@ D2DARGS: -r -term 10
|
|||
|
||||
LANGINFO: <p>Dutch has the same 26 letters as English, though of
|
||||
LANGINFO: course the counts and values are different. Filtering rules
|
||||
LANGINFO: eliminate all words that don't contain at least one vowel
|
||||
LANGINFO: and any that contain letters not found on tiles.</p>
|
||||
LANGINFO: eliminate all words that contain letters not found on tiles.</p>
|
||||
|
||||
# High bit means "official". Next 7 bits are an enum where
|
||||
# Dutch==B. Low byte is padding
|
||||
|
|
Loading…
Add table
Reference in a new issue