See: Statistical Natural Language Processing Algorithm, Unsupervised Learning Algorithm, Supervised Natural Language Processing Algorithm.