concept one word in category nlp

appears as: one word
Getting Started with Natural Language Processing

This is an excerpt from Manning's book Getting Started with Natural Language Processing.

Let’s look at our quiz again: if you were given no context to predict, the task of prediction a word or character would be impossible – it can be anything. With one character (for example, “l”) or one word (for example, “natural”), the number of possibilities is still huge, especially for words. The rules of language do narrow it down for characters: for example, it can be “la” as in “language”, or “le” as in “lesson”, or “lo” as in “local”, but few would probably expect it to be “lm” or “lw” (unless it’s an abbreviation, of course!). With two previous characters (“la”) or words (“Natural Language”), the “correct” prediction becomes easier, and for some long contexts (like “langu”) the possibilities narrow down to one or two options.

  • In this chapter, you have looked into further, more in-depth analysis of the challenges in the sentiment classification task. Such challenges could not be handled with the baseline algorithm that you developed in the previous chapter, so this helped you define the steps to take in order to improve your classifier. In particular: (1) words are often ambiguous and may have different sentiments of different strengths associated with their multiple meanings; (2) surrounding context may change the sentiment of a word; (3) considering phrases longer than one word may be beneficial for this task, as individual words may not be able to capture intricacies of sentiment; and finally (4) negative words change polarity of whole phrases following them.