Here, we will try to handle semantics at word level by using word2vec. Then, we will expand our concepts to paragraph level and document level. By looking at Figure 6.1, you will see the different kinds of semantics that we are going to cover in this book:
Figure 6.1: Different kinds of semantics
Semantics is a branch that deals with meaning in the area of NLP. We have already covered lexical semantic in Chapter 3, Understanding Structure of Sentences. So, here we will discuss more about distributional semantics. There are also other techniques or types in semantics, such as formal semantics compositional semantics; but right now, in this book, we are not going to cover these types or techniques.