Natural Language processing - learning phase