study NLP algorithm