Text Similarity
Cosine similarity of the word-count vectors of two texts, with shared terms and vector norms.
- Category
- Crypto & DeFi
- Starting price
- $0.02
- Paid calls · 30 days
- 20
- Unique payers · 30 days
- 20
Paid endpoints
10 endpoints, sorted by usage. Prices are per request.
- GET/cosine-tokens
Cosine similarity of the word-count vectors of two texts, with shared terms and vector norms.
$0.02Base2calls / 30d - GET/edit-distance
Levenshtein and Damerau-Levenshtein edit distance (restricted and unrestricted) between two texts, with a 0 to 1 similarity.
$0.02Base2calls / 30d - GET/fuzzy-rank
Rank up to 50 candidates against a query by Jaro-Winkler, Levenshtein, Dice or cosine, best first, with scores.
$0.02Base2calls / 30d - GET/hamming
Hamming distance between two equal-length strings (text or binary), with the differing positions. Unequal lengths are undefined.
$0.02Base2calls / 30d - GET/jaro-winkler
Jaro and Jaro-Winkler similarity of two short strings (names), with matches, transpositions and prefix boost.
$0.02Base2calls / 30d - GET/lcs
Longest common subsequence and longest common substring of two texts, with their lengths and a 0 to 1 ratio.
$0.02Base2calls / 30d - GET/metaphone
Original Metaphone (Philips 1990, not Double) phonetic key of an English word, with optional second word to compare.
$0.02Base2calls / 30d - GET/ngram-overlap
Dice and Jaccard n-gram overlap of two texts by character or word, as sets and as multisets.
$0.02Base2calls / 30d - GET/soundex
American Soundex code of a name (R163 for Robert), with an optional second name to test whether they sound alike.
$0.02Base2calls / 30d - GET/text-diff
Diff of two short texts into equal, deleted and inserted lines or words, with counts and a similarity ratio.
$0.02Base2calls / 30d