'Attempt to correct the spelling of a blob.
.. versionadded:: 0.6.0
:rtype: :class:`BaseBlob <BaseBlob>`'

def correct(self):

    tokens = nltk.tokenize.regexp_tokenize(self.raw, u'\\w+|[^\\w\\s]|\\s')
    corrected = (Word(w).correct() for w in tokens)
    ret = u''.join(corrected)
    return self.__class__(ret)
