Utilities for NLP common tasks