Login and get codingComplete the
get_spelling_suggestions()
function that takes a word and returns a list ofSuggestedWord
tuples (see type hints) that have at least a minimum confidence (min_confidence
).Use the
textblob
module that is already installed and the 'Spelling Correction' section of the docs.Note that you have to write the
SuggestedWord
namedtuple 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.)