Identification and conversion functions for Chinese text processing