Meaning : idea that is represented by a word, phrase etc.
- This contain the noun, adj, etc related to the word.
- Impossible to keep up-to-date with new words
- Requires human effort to create and adapt.
- one hot vector
ex: motel [0 0 0 0 0 0 0 1 0 0 0 0 ]
hotel [0 0 0 0 0 0 0 0 0 0 0 1 ]
- If user is searching for "Seattle hotel", it would be also good to have "Seattle motel" result too.
- But there is no natural notion of similarity for one-hot-vectors!
- A word's meaning is given by the words that frequently apper close-by
- When a word w appears in a text, its context is the set of words that appear nearby (within a fixed-size window)
- Use the many contexts of w to build up a representation of w
- We will build a dense vector for each word, chosen so that it is similar to vectors of words that appear in similar contexts
- Framework for learning word vectors
- We have a large corpus of text
- Every word in a fixed vocabulary is represented by a vector
- Go through each position t in the text, which has a center word c and context (“outside”) words
- Write the summary of calculations.