misc. nlp related scripts