I made 3 versions of Word Similarity for @YakovR ( https://scratch.mit.edu/discuss/topic/733802/?page=1#post-7735924 ) You can choose from version 1-3, and then type two inputs! Version explanation in Notes and Credits. A negative number from versions 2 or 3 means a similarity of 0 (basically).
VERSION 1: It sees if each letter of a word corresponds to the letter of the other word. VERSION 2: It sees if each letter of a word corresponds to the letter of the other word. At the end, subtracts the length difference multiplied by the proportion of how much each correct letter adds to similarity. VERSION 3: Sees if each of the letters of a word is similar to ANY letter of the other word. Then, subtracts the length difference multiplied by the proportion of how much each correct letter adds to similarity.