A Comprehensive Approach to Misspelling Correction with BERT and Levenshtein Distance