code: def correctwords(self, originalwords, newwords, **kwargs):
          
          for w in originalwords:
              if not isinstance(w, Word):
                  raise Exception("Original word is not a Word instance: " + str(type(w)))
              elif w.sentence() != self:
                  raise Exception("Original not found as member of sentence!")
          for w in newwords:
              if not isinstance(w, Word):
                  raise Exception("New word is not a Word instance: " + str(type(w)))
          if 'suggest' in kwargs and kwargs['suggest']:
              del kwargs['suggest']
              return self.correct(suggestion=newwords,current=originalwords, **kwargs)
          else:
              return self.correct(original=originalwords, new=newwords, **kwargs)
docs: Generic correction method for words. You most likely want to use the helper functions
             :meth:`Sentence.splitword` , :meth:`Sentence.mergewords`, :meth:`deleteword`, :meth:`insertword` instead