Cosine Similarity Score
0.00
2D Vector Space Projection
Dimension 1
Dimension 2
Sentence A
Sentence B
Reference topics
π Actual Vector Embeddings (512 dimensions, showing first 8)
Sentence A:
[0.000, 0.000, 0.000, ...]
Sentence B:
[0.000, 0.000, 0.000, ...]
π‘ How This Works
Your sentences are converted into 512-dimensional vectors by Google's Universal Sentence Encoder, a neural network trained on billions of text examples. The cosine similarity measures the angle between these vectors in high-dimensional space. Sentences with similar meanings point in similar directions, regardless of the specific words used.
Try These Examples:
Powered by TensorFlow.js Universal Sentence Encoder. All processing happens locally in your browserβno data is sent to any server.