Text this: Structures and stochastic methods