mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-18 22:26:30 +01:00
use contributed Finnish wordlist
This commit is contained in:
parent
cc7298c6a5
commit
b150ef471b
1 changed files with 5 additions and 2 deletions
|
@ -24,8 +24,11 @@ DICTNOTE = "Built from https://kaino.kotus.fi/sanat/nykysuomi"
|
||||||
|
|
||||||
include ../Makefile.langcommon
|
include ../Makefile.langcommon
|
||||||
|
|
||||||
$(XWLANG)Main.dict.gz: $(SOURCEDICT) $(MAKEFILE)
|
SOURCEDICT ?= $(XWDICTPATH)/Finnish/Kotus_2007_0to15.txt
|
||||||
(cd $(XWDICTPATH)/Finnish && xmlstarlet sel -t -m "//s" -v . -n kotus-sanalista_v1.xml) \
|
|
||||||
|
$(XWLANG)Main.dict.gz: $(SOURCEDICT)
|
||||||
|
cat $< \
|
||||||
|
| tr -d '\r' \
|
||||||
| sed 's/[[:lower:]]*/\U&/' \
|
| sed 's/[[:lower:]]*/\U&/' \
|
||||||
| grep '^[AÄBCDEFGHIJKLMNOÖPRSTUVWY]*$$' \
|
| grep '^[AÄBCDEFGHIJKLMNOÖPRSTUVWY]*$$' \
|
||||||
| sort -u \
|
| sort -u \
|
||||||
|
|
Loading…
Reference in a new issue