
204 Text Mining and Visualization: Case Studies Using Open-Source Tools
9.2 Modelling with the Natural Language Toolkit
In this section you will develop several classifier models using the movie review corpus
and the Natural Language Toolkit. Models will be developed with and without stops words
and with unigrams, bigrams, and trigrams. However, before developing your first model it
is important to understand the data set that you will be using.
9.2.1 Movie Review Corpus Data Review
Before starting any text mining exercise it is very important to first understand the data
set that will be used. As you can see in Figure 9.3, beneath the top-level folder ...