0
0
NLPml~5 mins

Word similarity and analogies in NLP - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is word similarity in NLP?
Word similarity measures how close or related two words are in meaning, often using numbers to show how similar they are.
Click to reveal answer
beginner
How do word embeddings help find word similarity?
Word embeddings turn words into numbers (vectors) so we can use math to find how close words are, showing their similarity.
Click to reveal answer
intermediate
What is a common method to measure similarity between word vectors?
Cosine similarity measures the angle between two word vectors to find how similar their meanings are.
Click to reveal answer
beginner
Explain word analogies with an example.
Word analogies show relationships like 'king is to queen as man is to woman'. It means the difference between king and queen is like the difference between man and woman.
Click to reveal answer
intermediate
How can word embeddings solve analogies?
By using vector math: for example, vector('king') - vector('man') + vector('woman') is close to vector('queen'). This helps find the missing word in analogies.
Click to reveal answer
What does a high cosine similarity between two word vectors indicate?
AThe words appear in the same sentence
BThe words are spelled similarly
CThe words have similar meanings
DThe words have opposite meanings
Which of these is an example of a word analogy?
A'cat' is to 'kitten' as 'dog' is to 'puppy'
B'cat' rhymes with 'hat'
C'cat' and 'dog' are both animals
D'cat' is spelled with three letters
What is the main purpose of word embeddings?
ATo translate words into another language
BTo count how many times a word appears
CTo check spelling mistakes
DTo convert words into numbers for math operations
In the analogy 'man is to king as woman is to ?', which word fits best?
Alady
Bqueen
Cgirl
Dprince
Which metric is commonly used to measure similarity between word vectors?
ACosine similarity
BEuclidean distance
CJaccard index
DManhattan distance
Describe how word embeddings help in finding word similarity and solving analogies.
Think about how numbers can represent words and how math can find relationships.
You got /4 concepts.
    Explain the concept of word analogies with a simple example.
    Use a real-life example comparing two pairs of related words.
    You got /3 concepts.