code: def copy(self, items=None):
          return NGram(items if items is not None else self,
                       self.threshold, self.warp, self._key,
                       self.N, self._pad_len, self._pad_char)