This site uses word similarity to score all dragon names from George R.R. Martin's A Song of Ice and Fire universe in terms of their "closeness" to the given name. The dragon name that is the "closest" is the one selected as the user's dragon.
It uses three popular techniques in NLP to calculate similarity scores - these are the Levenshtein Distance, Cosine Similarity, and Jaccard Similarity.
The final result shown to the user uses cosine similarity only, but top ranking dragons from each of the other two techniques are also shown as alternatives.