some basic tools for nlp