n this chapter, we’ll look at how computers can be trained to recognize different tones and emotion in written text, a technique known as sentiment analysis.
Imagine you need to write a few sentences to say that you are going to the zoo tomorrow.
Think about what you might write if you’re super happy and excited about going. You love the zoo, and you can’t wait to go. What sorts of words would you use? Would your excitement affect the way you write the sentences?
Now think of what you might write if you’re angry about ...