Text this: Structures and Algorithms