The Stanford Sentiment Treebank (SST)
Socher et al. (2013) designed semantic word spaces over long phrases. They defined principles of compositionality applied to long sequences. The principle of compositionality means that an NLP model must examine the constituent expressions of a complex sentence and the rules that combine them to understand the meaning of a sequence.
Let’s take a sample from the SST to grasp the meaning of the principle of compositionality.
This section and chapter are self-contained, so you can choose to perform the actions described or read the chapter and view the screenshots provided.
Go to the interactive sentiment treebank: https://nlp.stanford.edu/sentiment/treebank.html?na=3&nb=33.
You can make the selections you wish. Graphs of sentiment trees will appear on the page. Click on an image to obtain a sentiment tree:
Figure 12.1: Graphs of sentiment trees
For this example, I clicked on graph number 6, which contains...