concept NLP system in category nlp

This is an excerpt from Manning's book Real-World Natural Language Processing.
I call these first two phases as the “research” phase. The existence of this phase is arguably the biggest difference between NLP applications and other generic software systems. Due to its nature, it is very difficult to predict the performance and the behavior of a machine learning system, and an NLP system, for that matter. At this point, you might not have written a single line of production code, and that’s totally fine. The point of this research phase is to prevent you from wasting your effort writing production code that turns out useless at a later stage.
7.4.1 Review: text classification
We already covered text classification in chapters 2 and 4, but to recap, text classification is a task where an NLP system assigns a label to a given piece of text. If the text is an email and the label is whether the email is spam or not, it’s spam filtering. If the text is a document (such as a news article) and the label is its topic (such as politics, business, technology, and sports), it’s called document classification. There are many other variants of text classification depending on what the input and the output are. But the task we’ll be working on in this section is again sentiment analysis, where the input is some text where the writer’s subjective opinions are expressed (such as movie and product reviews) and the output is the label for the opinion (such as positive and negative, or even the number of stars), also called polarity.