use interactive commandline interface to look up words