Welcome!   Search Scrabble® Dictionary using DLD   Statistics   Compare any two Strings using DLD   Reference   Your IP

Search Dictionary, using Damerau-Levenshtein distance in T-SQL

Here you can test the performance and functionality of Transact-SQL code for fuzzy-string searching. (You can review recent searches here.)

Type a word (2-16 letters, no space) in the box and press Enter to find similar words:

Initially you will receive a list of words (from the American Scrabble® Dictionary, case-insensitive) that can be Transformed into your word with at most one Change.

You can increase the Change Limit and repeat your search, as long as the search does not take more than 30 seconds, or find more than 100 similar words.
to automatically increase the Change Limit after seconds.

Your word need not be an actual word, but here are some suggestions of actual words (except the 16-letter words) to search:

Word LengthNumber of WordsFirst WordMiddle WordLast WordRandom WordAvg. SecondsAvg. Words CheckedAvg. Words Per SecAvg. Words Matched
2101aalazaum0.0301116.037823.227.6
31015aahlipzzzulu0.1385146.037317.325.7
44030aahslintzymetoss0.38513983.036356.218.3
58938aahedlogonzymestitan0.80428756.035758.111.2
615788aahinglodgedzymasetiaras1.42548755.034225.67.3
724029aarrghhloosenszyzzyvatheorbo2.03669583.034170.15.2
829766aardvarkmadrigalzyzzyvastetroxid2.45182945.033836.33.4
929150aardvarkslyricismszymurgiestautening2.38181242.034117.82.6
1022326aardwolvesmagnesiteszymometerssweatbands1.99767641.033873.12.3
1116165abandonmentlysogenisedzygomorphicsuppressant1.56149908.031968.22.0
1211417abandonmentsluftmenschenzygomorphiessupplemental1.13535332.031139.51.9
137750abbreviationsmasculinitieszygodactyloussuperpatriots0.81924226.029563.61.7
145059abortifacientsmicrocircuitryzoogeographiessuperscription0.55215966.028921.71.7
153157absorbabilitiesmaldistributionzoogeographicalsuperbureaucrat0.2898216.028388.41.4
160absorbabilitiesamaldistributionazoogeographicalasuperbureaucrata0.1043157.030464.61.0

Searching for words of medium length takes longer, because there are more words of similar length to compare them to. (The length of each word is cached to generate this table, but that cache is not used to optimize the searches, because I want to show the best performance without caching.)