Tekstiviesti: Probability and algorithms