Algorithms for coursera NLP course