-
Book Overview & Buying
-
Table Of Contents
The Deep Learning Workshop
By :
How does our brain process a sentence? Let's try to understand how our brain processes a sentence as we read it. You see some terms in a sentence, and you need to identify the sentiment contained in the sentence (positive, negative, neutral). Let's look at the first term – "I":
Figure 5.8 Sentiment analysis for the first term
"I" is neutral, so our classification (neutral) is appropriate. Let's look at another term:
Figure 5.9: Sentiment analysis with two terms
With the term "can't," we need to update our assessment of the sentiment. "I" and "can't" together typically have a negative connotation, so our current assessment is updated as "negative" and is marked with a cross. Let's look at the next couple of words:
Figure 5.10: Sentiment analysis with four terms
After the...