A simple word of the day program written in Haskell: displays a new word and its definition every day.
Uses the Webster's Unabridged English Dictionary, which I got from here.
dictionary.txt syntax per line (regular expression):
"\body*":"\body*"
where \body
= ([^"\\]|\\"|\\\\|\\/|\\n)
.
Run install.sh
. Requires ghc
.
wotd
- Print today's word.
wotd <WORD>
- Define a particular word.
wotd -h
- Display help menu.
wotd -r
- Define a random word.