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

Levenshtein Double Levenshtein SoundEx MetaPhone Manually curated
restrain (0) - 2 freq
retrain (1) - 2 freq
restraint (1) - 5 freq
restraints (2) - 1 freq
refrain (2) - 13 freq
restan (2) - 4 freq
reserrin (2) - 1 freq
restin (2) - 31 freq
yestrein (2) - 5 freq
reservin (2) - 1 freq
restrained (2) - 3 freq
restorin (2) - 3 freq
retain (2) - 8 freq
strain (2) - 23 freq
clestrain (2) - 1 freq
resortin (2) - 3 freq
restoring (3) - 1 freq
respin (3) - 1 freq
keystraik (3) - 1 freq
restairt (3) - 2 freq
stain (3) - 26 freq
restit (3) - 18 freq
estreen (3) - 1 freq
recaain (3) - 1 freq
remarkin (3) - 4 freq
restrain (0) - 2 freq
restorin (2) - 3 freq
retrain (2) - 2 freq
restraint (2) - 5 freq
yestrein (3) - 5 freq
restin (3) - 31 freq
restrained (3) - 3 freq
strain (3) - 23 freq
reserrin (3) - 1 freq
restan (3) - 4 freq
rustlan (4) - 1 freq
restoration (4) - 7 freq
strayin (4) - 4 freq
pesterin (4) - 2 freq
gesturin (4) - 18 freq
reistin (4) - 1 freq
resteraunt (4) - 1 freq
restorin' (4) - 1 freq
yestreen (4) - 58 freq
resettin (4) - 1 freq
rostin (4) - 2 freq
reestin (4) - 1 freq
ristin (4) - 3 freq
destroyin (4) - 8 freq
festerin (4) - 5 freq
SoundEx code - R236
rose-tree - 18 freq
ragged-trousered - 2 freq
restaurant - 28 freq
re-stringin - 1 freq
restorative - 3 freq
rasther - 1 freq
rostert - 2 freq
roasters - 8 freq
restored - 11 freq
restoration - 7 freq
restaurants - 16 freq
rooster - 18 freq
rachters - 1 freq
restore - 9 freq
restraint - 5 freq
restores - 2 freq
rostrum - 1 freq
rector - 4 freq
restorin - 3 freq
restrictions - 19 freq
restrained - 3 freq
restrain - 2 freq
restaurant's - 1 freq
roostèr - 3 freq
'restrictive - 1 freq
rosetree - 1 freq
roosters - 3 freq
restaurit - 1 freq
resteraunt - 1 freq
Þrastardóttir - 2 freq
restorin' - 1 freq
re-stairtet - 1 freq
restairt - 2 freq
'restored' - 1 freq
roisterous - 1 freq
restrick - 1 freq
raughters - 3 freq
restoring - 1 freq
restrictit - 4 freq
reciters - 1 freq
restrickit - 5 freq
restaurautioun - 2 freq
rauchters - 1 freq
rocketry - 1 freq
ressettaris - 1 freq
reactor - 2 freq
richter - 3 freq
restricted - 1 freq
roisterin - 1 freq
restricks - 1 freq
€˜restrict - 1 freq
raughter - 1 freq
ragstore - 1 freq
restrict - 1 freq
rosewatter - 1 freq
restoret - 1 freq
restrictin - 2 freq
restraints - 1 freq
righttreat - 1 freq
richters - 1 freq
rickedwards - 2 freq
rockster - 1 freq
restreections - 2 freq
restraunts - 1 freq
rustier - 1 freq
roketronnie - 1 freq
restrictive - 1 freq
roaster - 17 freq
rctrajn - 1 freq
restarted - 1 freq
MetaPhone code - RSTRN
restorin - 3 freq
restrain - 2 freq
restorin' - 1 freq
roisterin - 1 freq
RESTRAIN
Time to execute Levenshtein function - 0.317089 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.455253 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.032259 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.071939 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.000952 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.