Text this: Sequences, discrepancies and applications /