Text this: From ancient Thai to modern dialects