01-19-2018, 02:16 PM
Hi all
I'm looking to do a scan of a word and score it on how much it matches the original for example
If the initial word was keyboard but the second iteration was spelled like keyboarf (typo for example) then the match (points) would be 7.
If the initial word was microphone but the second iteration was spelled like micorphone would be 8 (because 7 letters are in the same position as the original, only the o and r are incorrect.)
It needs to go through and compare the second word against the first word letter by letter ideally and the word size is always going to change.
I'm looking to do a scan of a word and score it on how much it matches the original for example
If the initial word was keyboard but the second iteration was spelled like keyboarf (typo for example) then the match (points) would be 7.
If the initial word was microphone but the second iteration was spelled like micorphone would be 8 (because 7 letters are in the same position as the original, only the o and r are incorrect.)
It needs to go through and compare the second word against the first word letter by letter ideally and the word size is always going to change.