SMS dit: Foundations of statistical natural language processing.