mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-30 10:26:58 +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
|
||||
|
||||
$(XWLANG)Main.dict.gz: $(SOURCEDICT) $(MAKEFILE)
|
||||
(cd $(XWDICTPATH)/Finnish && xmlstarlet sel -t -m "//s" -v . -n kotus-sanalista_v1.xml) \
|
||||
SOURCEDICT ?= $(XWDICTPATH)/Finnish/Kotus_2007_0to15.txt
|
||||
|
||||
$(XWLANG)Main.dict.gz: $(SOURCEDICT)
|
||||
cat $< \
|
||||
| tr -d '\r' \
|
||||
| sed 's/[[:lower:]]*/\U&/' \
|
||||
| grep '^[AÄBCDEFGHIJKLMNOÖPRSTUVWY]*$$' \
|
||||
| sort -u \
|
||||
|
|
Loading…
Reference in a new issue