some scripts I wrote for a private NLP project that others may find useful