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

Levenshtein Double Levenshtein SoundEx MetaPhone Manually curated
castle (0) - 157 freq
cattle (1) - 26 freq
castles (1) - 26 freq
caistle (1) - 4 freq
cantle (1) - 2 freq
bastle (1) - 1 freq
castled (1) - 1 freq
cassle (1) - 1 freq
caste (1) - 2 freq
castle' (1) - 2 freq
aste (2) - 1 freq
hantle (2) - 116 freq
tastie (2) - 2 freq
tistle (2) - 3 freq
rattle (2) - 35 freq
craitle (2) - 1 freq
castiel (2) - 1 freq
chaste (2) - 1 freq
coste (2) - 1 freq
fustle (2) - 3 freq
costly (2) - 4 freq
laste (2) - 2 freq
ciste (2) - 2 freq
warstle (2) - 4 freq
casten (2) - 2 freq
castle (0) - 157 freq
caistle (1) - 4 freq
castle' (2) - 2 freq
costly (2) - 4 freq
castel (2) - 8 freq
caste (2) - 2 freq
coastlie (2) - 1 freq
cassle (2) - 1 freq
castles (2) - 26 freq
cattle (2) - 26 freq
cantle (2) - 2 freq
bastle (2) - 1 freq
castiel (2) - 1 freq
castled (2) - 1 freq
casel (3) - 1 freq
vastly (3) - 3 freq
pystle (3) - 2 freq
caster (3) - 2 freq
lastly (3) - 5 freq
castin (3) - 48 freq
bustle (3) - 6 freq
castor (3) - 3 freq
hustle (3) - 1 freq
costie (3) - 1 freq
castels (3) - 2 freq
SoundEx code - C234
castle - 157 freq
cocktail - 21 freq
caistle - 4 freq
castle-neuk - 1 freq
castle's - 1 freq
coastline - 6 freq
castles - 26 freq
costly - 4 freq
coastlie - 1 freq
cocktails' - 1 freq
castlehill - 2 freq
coastal - 11 freq
castell - 1 freq
cocktails - 9 freq
castled - 1 freq
castellis - 1 freq
castlekennedygardens - 1 freq
castlemulk - 1 freq
castlereagh - 1 freq
castel - 8 freq
castels - 2 freq
€˜castalian - 1 freq
castlemilk - 3 freq
caistlehull - 1 freq
castlewynd - 1 freq
castlegate - 4 freq
castleton - 1 freq
castiel - 1 freq
castellano - 1 freq
castlvillageman - 1 freq
castle' - 2 freq
coastalgrampian - 1 freq
castleview - 2 freq
castlebrae - 1 freq
MetaPhone code - KSTL
castle - 157 freq
caistle - 4 freq
costly - 4 freq
coastlie - 1 freq
coastal - 11 freq
castell - 1 freq
gaistly - 1 freq
castel - 8 freq
castiel - 1 freq
castle' - 2 freq
CASTLE
Time to execute Levenshtein function - 0.618916 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.492160 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.101245 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.106463 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.000870 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.