Bite 351. Get spelling suggestions
Login and get codingComplete the
get_spelling_suggestions()function that takes a word and returns a list ofSuggestedWordtuples (see type hints) that have at least a minimum confidence (min_confidence).Use the
textblobmodule that is already installed and the 'Spelling Correction' section of the docs.Note that you have to write the
SuggestedWordnamedtuple too, see the starter code.By the way, running
textblob(nltk) on an AWS Lambda function turns out to be a bit slow, so please be patient when submitting your code, thanks.Good luck and keep calm and code in Python!
19 out of 19 users completed this Bite.
Will you be the 20th person to crack this Bite?
Resolution time: ~41 min. (avg. submissions of 5-240 min.)