Retrieving the text of a document is just the beginning. The goal of NLP is to make interactions between computers and humans feel exactly like interactions between humans and humans. The relationships that are established between the words give us the key to understanding their meaning completely.
We use Machine Learning in the form of Natural Language Processing in document classification. By classifying text, we are aiming to assign one or more classes or categories to a document, making it easier to manage and sort them.
Natural language processing goes hand in hand with text analytics (the process of drawing meaning out of written communication), which counts, groups and categorizes words to extract structure and meaning from large volumes of content.