Java programs for tokenizing and NLP