Statistics for corpus linguistics