While I was searching for good explaination of this concept I came across NPTEL’s MOOC on NLP . Here is the explaination.