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 ahint

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

Similar words to attack in Corpus

Levenshtein Double Levenshtein SoundEx MetaPhone Manually curated
attack (0) - 79 freq
attrack (1) - 4 freq
attach (1) - 7 freq
atrack (1) - 1 freq
attacks (1) - 13 freq
attick (1) - 1 freq
attacht (2) - 1 freq
tack (2) - 43 freq
attecks (2) - 1 freq
attackit (2) - 2 freq
alack (2) - 1 freq
attract (2) - 7 freq
aback (2) - 41 freq
attrak (2) - 1 freq
attain (2) - 2 freq
strack (2) - 9 freq
attic (2) - 15 freq
attracks (2) - 1 freq
attrac (2) - 1 freq
track (2) - 129 freq
stack (2) - 50 freq
attar (2) - 1 freq
attackin (2) - 8 freq
a-back (2) - 1 freq
thack (2) - 2 freq
attack (0) - 79 freq
attick (1) - 1 freq
attrack (2) - 4 freq
attacks (2) - 13 freq
atrack (2) - 1 freq
attach (2) - 7 freq
track (3) - 129 freq
attic (3) - 15 freq
stack (3) - 50 freq
attrak (3) - 1 freq
intack (3) - 1 freq
thack (3) - 2 freq
attackin (3) - 8 freq
attacked (3) - 13 freq
attackit (3) - 2 freq
tack (3) - 43 freq
attecks (3) - 1 freq
truck (4) - 48 freq
sutck (4) - 1 freq
i'tuck (4) - 5 freq
beattock (4) - 1 freq
deteck (4) - 1 freq
treck (4) - 7 freq
stuck (4) - 342 freq
tracky (4) - 12 freq
SoundEx code - A320
aids - 9 freq
aat's - 173 freq
'attic' - 1 freq
at's - 423 freq
'aat's - 11 freq
adieus - 1 freq
adds - 23 freq
attack - 79 freq
'at's - 42 freq
aits - 21 freq
ats - 126 freq
aets - 11 freq
adage - 2 freq
attic - 15 freq
aiths - 3 freq
aud's - 1 freq
aydeca - 1 freq
attach - 7 freq
attacks - 13 freq
aht's - 10 freq
aidge - 5 freq
ads - 9 freq
awaites - 1 freq
awaits - 8 freq
athough - 2 freq
attecks - 1 freq
ayewts - 3 freq
ates - 1 freq
att's - 52 freq
aedie's - 2 freq
aedies - 1 freq
aedge - 8 freq
atishoo - 2 freq
-at's - 1 freq
'aatishoo - 1 freq
ad's - 1 freq
'ats - 10 freq
adwice - 3 freq
adwise - 1 freq
adayas - 1 freq
atweesh - 15 freq
adaes - 1 freq
'aidez - 1 freq
attick - 1 freq
aats - 10 freq
at's' - 1 freq
addiks - 1 freq
adews - 1 freq
a-tish - 3 freq
atchoo - 1 freq
adige - 1 freq
€œatchooo - 1 freq
atchoooh - 1 freq
adays - 3 freq
autos - 1 freq
€˜ats - 2 freq
atÂ’s - 1 freq
aatÂ’s - 8 freq
“aat’s - 1 freq
adj - 1 freq
a'this - 2 freq
ahts - 1 freq
aawdyggu - 1 freq
aidso - 1 freq
autocue - 1 freq
“at’s - 1 freq
aduke - 1 freq
adz - 1 freq
MetaPhone code - ATK
'attic' - 1 freq
attack - 79 freq
attic - 15 freq
aydeca - 1 freq
attick - 1 freq
aawdyggu - 1 freq
autocue - 1 freq
aduke - 1 freq
ATTACK
Time to execute Levenshtein function - 0.180773 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.356797 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.027958 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.042904 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.000934 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.