Lab 3: How the Numbers Carry Meaning

Measure how close two sentences are. Then find out what the number does — and does not — tell you.

1

Two sentences, one angle

Each sentence becomes a vector. Similarity is the angle between them: 0° means identical, 90° means nothing in common. Change one word at a time and watch the angle.

2

One sentence, two candidates — which is closer?

s1 is the question. s2 and s3 are two things it could match. Edit any of them. The score on its own means little; the two scores next to each other are what retrieval uses.

s1s2s3