A basic NLTK-like API in Scala.