Implement Chinese Token python code