| Algorithm 1: To build sequential lexicon |
| Input: Lexicon Trie T, the sequential character of Chinese sentence |
| Output: The k-th sequential lexicon |
| 1.Initialize an empty list LC. |
| 2.For each character c in C, do: build the first word list append to LC. |
| 3.Initialize an empty list LS. |
| 4.For each character c in C, do: use depth search algorithm DFS(index, current_sequence) to build sequential lexicon LS. |