Text this: Large deviations techniques and applications /