Chapter 3: Developing a Text classifier