So far, we mostly used TensorFlow for image processing, and to a lesser extent, for text-sequence processing. In this chapter, we will revisit the written word to find meaning in text. This is part of an area that is commonly termed Natural Language Processing (NLP). Some of the activities in this area include the following:
- Sentiment analysis—This extracts a general sentiment category from text without extracting the subject or action of the sentence
- Entity extraction—This extracts the subject, for example, person, place, and event, from a piece of text
- Keyword extraction—This extracts key terms from a piece of text
- Word-relation extraction—This extracts not only entities but also the associated action and parts of speech of each
This is just scratching the surface of NLP—there are other techniques, as well as a range of sophistication...