Chinese word segmentation task is usually regarded as a character based sequence labeling problem.
each character in a sentence is labeled as one of L = {B, M, E, S}, indicating the begin, middle, end of a word, or a word with single character.