<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _check_spelling(self, text, lang="en_US"):
 """Returns a list of start stop tuples that have spelling errors Parameters text: Unicode or string \tThe text that is checked lang: String, defaults to "en_US" \tName of spell checking dictionary """


        chkr = SpellChecker(lang)

        chkr.set_text(text)

        word_starts_ends = []

        for err in chkr:
            start = err.wordpos
            stop = err.wordpos + len(err.word) + 1
            word_starts_ends.append((start, stop))

        return word_starts_ends