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

Levenshtein Double Levenshtein SoundEx MetaPhone Manually curated
affair (0) - 36 freq
effair (1) - 1 freq
affatr (1) - 1 freq
affeir (1) - 1 freq
offair (1) - 11 freq
affair' (1) - 1 freq
affairs (1) - 42 freq
acair (2) - 1 freq
affairs' (2) - 1 freq
mayfair (2) - 7 freq
kaffir (2) - 2 freq
afoar (2) - 15 freq
aiftir (2) - 1 freq
flair (2) - 397 freq
affie (2) - 6 freq
adair (2) - 1 freq
affin (2) - 2 freq
affyi (2) - 1 freq
effairs (2) - 3 freq
affraid (2) - 1 freq
aftir (2) - 1 freq
afoir (2) - 68 freq
affix (2) - 1 freq
unfair (2) - 10 freq
afaur (2) - 4 freq
affair (0) - 36 freq
offair (1) - 11 freq
affeir (1) - 1 freq
effair (1) - 1 freq
affer (2) - 2 freq
oaffir (2) - 5 freq
effeir (2) - 1 freq
affairs (2) - 42 freq
affair' (2) - 1 freq
affatr (2) - 1 freq
affuird (3) - 5 freq
'fair (3) - 6 freq
affil (3) - 7 freq
fair (3) - 1525 freq
oaffer (3) - 2 freq
offer (3) - 177 freq
affere (3) - 1 freq
oaffur (3) - 1 freq
iffer (3) - 1 freq
afaur (3) - 4 freq
affa (3) - 932 freq
afar (3) - 10 freq
affae (3) - 3 freq
offairs (3) - 1 freq
flair (3) - 397 freq
SoundEx code - A160
afore - 3471 freq
appear - 98 freq
afore- - 1 freq
affair - 36 freq
'afore - 8 freq
afaur - 4 freq
afar - 10 freq
aiverie - 3 freq
afure - 2 freq
afoar - 15 freq
aubrey - 4 freq
a'fore - 2 freq
affer - 2 freq
aboor - 2 freq
afor - 25 freq
appar - 2 freq
appear' - 1 freq
aver - 4 freq
aaber - 22 freq
afiore - 1 freq
afore' - 1 freq
afoir - 68 freq
affair' - 1 freq
afro - 2 freq
aiver - 3 freq
afoare - 1 freq
€˜afore - 2 freq
affere - 1 freq
aviary - 2 freq
afroe - 1 freq
avery - 2 freq
affeir - 1 freq
aferr - 1 freq
appeir - 1 freq
awpr - 11 freq
apirie - 1 freq
afer - 1 freq
avera - 1 freq
MetaPhone code - AFR
afore - 3471 freq
afore- - 1 freq
affair - 36 freq
'afore - 8 freq
afaur - 4 freq
afar - 10 freq
aiverie - 3 freq
afure - 2 freq
afoar - 15 freq
a'fore - 2 freq
affer - 2 freq
afor - 25 freq
aver - 4 freq
afiore - 1 freq
afore' - 1 freq
afoir - 68 freq
affair' - 1 freq
afro - 2 freq
aiver - 3 freq
afoare - 1 freq
€˜afore - 2 freq
affere - 1 freq
aviary - 2 freq
afroe - 1 freq
avery - 2 freq
affeir - 1 freq
aferr - 1 freq
augher - 1 freq
afer - 1 freq
avera - 1 freq
AFFAIR
Time to execute Levenshtein function - 0.185163 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.357949 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.030645 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.037218 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.000984 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.