Two approaches to NLP