Exploiting knowledge in NLP