Some NLP Algorithms