made the tfidf interface a bit more sane and useful