A set of utility functions for processing Chinese text