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 sonsie

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

Similar words to legal in Corpus

Levenshtein Double Levenshtein SoundEx MetaPhone Manually curated
legal (0) - 85 freq
'legal (1) - 1 freq
regal (1) - 2 freq
leal (1) - 43 freq
legat (1) - 1 freq
leav (2) - 1 freq
leal- (2) - 1 freq
leg's (2) - 7 freq
begat (2) - 2 freq
'egil (2) - 2 freq
lea (2) - 155 freq
eal (2) - 1 freq
leill (2) - 1 freq
lgl (2) - 1 freq
vega (2) - 1 freq
bengal (2) - 2 freq
lear (2) - 107 freq
megan (2) - 10 freq
leil (2) - 5 freq
peal (2) - 3 freq
weal (2) - 8 freq
lugar (2) - 4 freq
vegas (2) - 1 freq
logan (2) - 12 freq
legally (2) - 13 freq
legal (0) - 85 freq
lgl (2) - 1 freq
leal (2) - 43 freq
legat (2) - 1 freq
regal (2) - 2 freq
'legal (2) - 1 freq
regale (3) - 2 freq
lagan (3) - 3 freq
level (3) - 148 freq
legge (3) - 8 freq
loyal (3) - 19 freq
iegil (3) - 1 freq
lego (3) - 19 freq
legacy (3) - 44 freq
hegel (3) - 2 freq
legs (3) - 379 freq
legit (3) - 4 freq
agal (3) - 1 freq
liga (3) - 1 freq
local (3) - 413 freq
gal (3) - 4 freq
egil (3) - 4 freq
illegal (3) - 31 freq
lal (3) - 1 freq
liga' (3) - 1 freq
SoundEx code - L240
lazily - 12 freq
local - 413 freq
likely - 311 freq
-lkely - 1 freq
luckily - 34 freq
leslie - 10 freq
legal - 85 freq
locally - 16 freq
lgl - 1 freq
legally - 13 freq
liklie - 3 freq
lik'ly - 1 freq
lazuli - 1 freq
lukkuly - 3 freq
luckully - 1 freq
lukuly - 2 freq
lykly - 1 freq
loosely - 5 freq
likly - 21 freq
lugs'll - 1 freq
'legal - 1 freq
lesley - 18 freq
'local' - 1 freq
locale - 1 freq
lughole - 3 freq
lizzie'll - 1 freq
laekly - 29 freq
lassie'll - 1 freq
likelie - 11 freq
lackly - 4 freq
laeckly - 1 freq
lug-hole - 1 freq
lockal - 1 freq
locail - 44 freq
locailly - 1 freq
lykelie - 1 freq
leckly - 2 freq
lekly - 2 freq
-lekly - 1 freq
laekli - 6 freq
lickly - 3 freq
loisel - 1 freq
lexwell - 7 freq
lesslie - 1 freq
likiil - 1 freq
lakely - 2 freq
likkly - 2 freq
locyal - 3 freq
lucille - 2 freq
lochiel - 1 freq
locheil - 3 freq
lyklie - 1 freq
lowsly - 1 freq
lckl - 1 freq
liklee - 1 freq
MetaPhone code - LKL
local - 413 freq
likely - 311 freq
-lkely - 1 freq
luckily - 34 freq
legal - 85 freq
locally - 16 freq
lgl - 1 freq
legally - 13 freq
liklie - 3 freq
lik'ly - 1 freq
lukkuly - 3 freq
luckully - 1 freq
lukuly - 2 freq
lykly - 1 freq
likly - 21 freq
'legal - 1 freq
'local' - 1 freq
locale - 1 freq
laekly - 29 freq
likelie - 11 freq
lackly - 4 freq
laeckly - 1 freq
lockal - 1 freq
locail - 44 freq
locailly - 1 freq
lykelie - 1 freq
leckly - 2 freq
lekly - 2 freq
-lekly - 1 freq
laekli - 6 freq
lickly - 3 freq
likiil - 1 freq
lakely - 2 freq
likkly - 2 freq
lyklie - 1 freq
lckl - 1 freq
liklee - 1 freq
LEGAL
Time to execute Levenshtein function - 0.192628 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.335415 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.029866 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.038820 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.001044 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.