Compare two texts with Cosine, Jaccard, Levenshtein, and Semantic similarity
Computing similarity...
| Algorithm | Range | Best For | Description |
|---|---|---|---|
| Cosine Similarity | 0.0 - 1.0 | Document similarity, SEO content | TF-IDF vector cosine angle; measures term frequency overlap |
| Jaccard Similarity | 0.0 - 1.0 | Set overlap, keyword comparison | Intersection over union of word/ngram sets |
| Levenshtein Distance | 0 - max length | Exact string matching, plagiarism | Minimum edits (insert/delete/substitute) to transform one string to another |
| Semantic Similarity | 0.0 - 1.0 | Meaning-based comparison | Transformer embeddings (all-MiniLM-L6-v2) via Transformers.js |