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 detention in Corpus

Levenshtein Double Levenshtein SoundEx MetaPhone Manually curated
detention (0) - 9 freq
detentions (1) - 1 freq
intention (2) - 24 freq
peteetion (2) - 3 freq
deletion (2) - 1 freq
detectin (2) - 1 freq
attention (2) - 179 freq
peteition (2) - 1 freq
desertion (2) - 2 freq
dejection (2) - 2 freq
dimension (3) - 11 freq
devotion (3) - 20 freq
cementin (3) - 1 freq
feection (3) - 2 freq
attentioun (3) - 1 freq
detectit (3) - 5 freq
direction (3) - 120 freq
peteetions (3) - 1 freq
invention (3) - 22 freq
prevention (3) - 1 freq
desertin (3) - 2 freq
attentions (3) - 3 freq
deflection (3) - 2 freq
destination (3) - 17 freq
stentin (3) - 2 freq
detention (0) - 9 freq
detentions (2) - 1 freq
attention (3) - 179 freq
detectin (3) - 1 freq
intention (3) - 24 freq
tentin (4) - 10 freq
definition (4) - 30 freq
attintion (4) - 3 freq
destination (4) - 17 freq
attentioun (4) - 1 freq
stentin (4) - 2 freq
detonations (4) - 1 freq
peteition (4) - 1 freq
desertion (4) - 2 freq
dejection (4) - 2 freq
deletion (4) - 1 freq
peteetion (4) - 3 freq
deflation (5) - 1 freq
detector (5) - 7 freq
extension (5) - 11 freq
intentions (5) - 16 freq
dentition (5) - 1 freq
petition (5) - 11 freq
edeetion (5) - 12 freq
delegation (5) - 7 freq
SoundEx code - D353
didn't - 38 freq
detention - 9 freq
detained - 1 freq
'didn't - 1 freq
da-da-n'''da-da'n'da - 1 freq
deid-end - 1 freq
detentions - 1 freq
detonations - 1 freq
diidnt - 1 freq
didn’t - 3 freq
didnt - 3 freq
MetaPhone code - TTNXN
detention - 9 freq
DETENTION
Time to execute Levenshtein function - 0.183539 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.334004 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.027199 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.036978 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.000840 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.