1. A computer-implemented method comprising: under control of one or more computing devices comprising one or more processors, receiving a text including multiple words; identifying multiple word segmentation units based on the multiple words; generating multiple word sequences by: designating a word segmentation unit of the multiple word segmentation unit as a word sequence; determining whether an additional word segmentation unit is after the word segmentation unit; and in an event that the additional word segmentation unit is not after the word segmentation unit, designating the additional word segmentation unit as an additional word sequence; determining that a boundary position of a word sequence of the multiple word sequences is identical to a boundary position of an additional word sequence of the multiple word sequences, the boundary position indicating a boundary between two adjacent word segmentation units of the multiple word segmentation units; and merging the word sequence and the additional word sequence to generate a merged word sequence based on the boundary position.