Anyone can give a clue why I passed the Expected output but failed in the unitest of get_correction?
There is nothing said anything wrong but I got a test failed. Any possible clue will be really helpful.
I figured it out! We should let the suggestions tell us how many words are suggested in the vocabulary or in the first or second edit. Then based on the n number to get the first n suggestions.
1 Like