Text this: Large deviations for discrete-time processes with averaging