have separate list for possible answers, possible inputs, clean up code, add verb modifiers to allowed types list

This commit is contained in:
2023-08-30 13:01:19 +01:00
parent 101e369da3
commit cb1fe15cae
4 changed files with 21 additions and 16 deletions

View File

@@ -1,12 +1,13 @@
WORD_LENGTH=5
MIN_FREQUENCY=1
VALID_ANSWER_FREQ_MIN=10
VALID_INPUT_FREQ_MIN=1
SOURCE_WORDLIST=1_1_all_fullalpha.txt
ALLOWED_TYPELIST=allowed_types
all: wordlist.js .SUBMODULES
wordlist.js:
./scripts/gen_wordlist.py ${SOURCE_WORDLIST} ${WORD_LENGTH} ${MIN_FREQUENCY} ${ALLOWED_TYPELIST} > wordlist.js
./scripts/gen_wordlist.py ${SOURCE_WORDLIST} ${WORD_LENGTH} ${VALID_ANSWER_FREQ_MIN} ${VALID_INPUT_FREQ_MIN} ${ALLOWED_TYPELIST} > wordlist.js
clean:
rm -rf wordlist.js