A Corpus of 21st Century Scots Texts

Intro a b c d e f g h i j k l m n o p q r s t u v w x y z Texts Writers Statistics Top200 Search Compare

Levenshtein Distance

Enter a word to find nearest neighbouring words, for example ablow

- basic concord - pre-sorted concord - post-sorted concord - map and chronology - chronogrid - fine-grain concord -

Similar words to petroleum in Corpus

Levenshtein Double Levenshtein SoundEx MetaPhone Manually curated
petroleum (0) - 1 freq
petrol (3) - 36 freq
perineum (3) - 2 freq
petrel (4) - 3 freq
pettled (4) - 1 freq
patrollin (4) - 2 freq
pothole (4) - 5 freq
peerless (4) - 1 freq
ptolemy (4) - 1 freq
petrie (4) - 4 freq
patrols (4) - 3 freq
proteus (4) - 1 freq
patrol (4) - 7 freq
pettrol (4) - 1 freq
petalled (4) - 1 freq
petronella (4) - 1 freq
peedlum (4) - 1 freq
mausoleum (4) - 4 freq
problem (4) - 262 freq
pearljam (4) - 3 freq
linoleum (4) - 11 freq
patrones (4) - 1 freq
petrocelli (4) - 1 freq
perilous (4) - 1 freq
petrels (4) - 2 freq
petroleum (0) - 1 freq
petrol (4) - 36 freq
petrels (5) - 2 freq
patrol (5) - 7 freq
petrel (5) - 3 freq
perineum (5) - 2 freq
ptolemy (5) - 1 freq
patrols (5) - 3 freq
petrocelli (6) - 1 freq
patrones (6) - 1 freq
perilous (6) - 1 freq
paroled (6) - 1 freq
pitril (6) - 7 freq
parlm (6) - 2 freq
problem (6) - 262 freq
pendulum (6) - 3 freq
pearljam (6) - 3 freq
patrollin (6) - 2 freq
petrie (6) - 4 freq
prelim (6) - 7 freq
pothole (6) - 5 freq
pettrol (6) - 1 freq
petalled (6) - 1 freq
peedlum (6) - 1 freq
pettled (6) - 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 - PTRLM
petroleum - 1 freq
PETROLEUM
Time to execute Levenshtein function - 0.586261 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 - 1.223815 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.094119 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.110797 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.001895 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.