I’m developing an app that uses a CSV file containing three columns: the first column is the wrong word, the second column is the correct word, and the third column is the explanation.
The app should let the user enter a word, and if it exactly matches a wrong word, it should display the correct word and the explanation if available. If there’s no exact match, it should check for similarity at 60%, and if that’s also not found, then check similarity at 30%.
But the problem is, when I test the app and enter a word that exactly matches one of the wrong words, these conditions don’t execute at all. It jumps straight to the last condition saying “No correction found.”
Please, help me!












