split "[ \n]+"
beforeword " "
afterword "[ \n]"
tablesep ","
choicesep "|"

ignore "../data/ignore.txt"
table words "../data/words1.txt"
table endings "../data/endings_choices.txt"

expand words endings

match "-\d" "-r" endword
match "w ord" "word" beginword nofinal
matchignore "\dhi\d"

group beginword endword
replace words
endgroup
