Levenshtein | Double Levenshtein | SoundEx | MetaPhone | Manually curated |
---|---|---|---|---|
petrels (0) - 2 freq petrel (1) - 3 freq ootrels (2) - 18 freq petals (2) - 22 freq pretzels (2) - 1 freq peels (2) - 30 freq metres (2) - 15 freq pearls (2) - 17 freq petrol (2) - 36 freq patrols (2) - 3 freq pete's (2) - 3 freq perils (2) - 2 freq penels (2) - 7 freq peters (2) - 4 freq peths (3) - 3 freq pieties (3) - 1 freq pure's (3) - 1 freq vessels (3) - 6 freq peegs (3) - 1 freq peals (3) - 2 freq farrels (3) - 1 freq potless (3) - 1 freq retails (3) - 1 freq beltrees (3) - 2 freq taels (3) - 2 freq |
petrels (0) - 2 freq patrols (2) - 3 freq petrel (2) - 3 freq petrol (3) - 36 freq ootrels (3) - 18 freq perils (3) - 2 freq peters (3) - 4 freq pearls (3) - 17 freq petals (3) - 22 freq patrol (4) - 7 freq peiters (4) - 1 freq paitrens (4) - 2 freq poetry's (4) - 3 freq pairls (4) - 4 freq spatrils (4) - 1 freq paerls (4) - 1 freq pirls (4) - 4 freq plurals (4) - 3 freq pietures (4) - 1 freq peter's (4) - 4 freq neutrals (4) - 2 freq metres (4) - 15 freq pete's (4) - 3 freq peels (4) - 30 freq pretzels (4) - 1 freq |
SoundEx code - P364 petrol-soaked - 1 freq petrol - 36 freq patrollin - 2 freq pitril - 7 freq powderhall - 2 freq patrol - 7 freq pettrol - 1 freq patrols - 3 freq peter'll - 1 freq petrol-tanker - 3 freq peter-uill - 1 freq patrolling - 1 freq petroleum - 1 freq peteralanross - 1 freq petrel - 3 freq petrels - 2 freq |
MetaPhone code - PTRLS patrols - 3 freq petrels - 2 freq |
PETRELS |
Time to execute Levenshtein function - 0.260491 milliseconds The Levenshtein distance is the number of characters you have to replace, insert or delete to transform one word into another, its useful for detecting typos and alternative spellings |
Time to execute Double Levenshtein function - 0.424616 milliseconds In a stroke of genius, this runs the Levenshtein function twice, once without vowels and adds the distance together, giving double weight to consonants. |
Time to execute SoundEx function - 0.027976 milliseconds Soundex is a phonetic algorithm for indexing names by sound, as pronounced in English. The goal is for homophones to be encoded to the same representation so that they can be matched despite minor differences in spelling. |
Time to execute MetaPhone function - 0.037093 milliseconds Metaphone is a phonetic algorithm, published by Lawrence Philips in 1990, for indexing words by their English pronunciation.[1] It fundamentally improves on the Soundex algorithm by using information about variations and inconsistencies in English spelling and pronunciation to produce a more accurate encoding, which does a better job of matching words and names which sound similar. |
Time to execute Manually curated function - 0.000871 milliseconds Manual Curation uses a lookup table / lexicon which has been created by hand which links words to their lemmas, and includes obvious typos and spelling variations. Not all words are covered. |