mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-09 05:24:44 +01:00
cc4776d29d
Add Makefile filters to create a wordlist with about 42K words derived from a github project (thanks to pointers from an informant. :-) Per him, and contrary to how Catalan does it, double-letter-tile words also appear in single-letter variants if the tiles allow.
11 lines
333 B
Bash
Executable file
11 lines
333 B
Bash
Executable file
#!/bin/sh
|
|
|
|
set -e -u
|
|
|
|
# from: https://github.com/laszlonemeth/magyarispell.git
|
|
DIR=/home/eehouse/dev/git/magyarispell/szotar/alap
|
|
|
|
cat ${DIR}/fonev.1 ${DIR}/melleknev.1 ${DIR}/ige_alanyi.1 ${DIR}/ige_targy.1 ${DIR}/ragozatlan.2 |\
|
|
sed -e 's/#.*$//' -e 's/\[.*$//' -e 's/ .*$//' |\
|
|
grep -v '^$' |\
|
|
sort -u > hungarian_wordlist.txt
|