Helper functions for various linguistic tools