def METHOD_NAME(self):
    multilingual_iters = []
    weights = []
    for data in self.data:
        multilingual_iters.append(
            self._tokenize_foreach_lang(data)
        )
        if 'weight' in data:
            weights.append(float(data['weight']))
        else:
            weights.append(int(data['count']))
    if len(multilingual_iters) == 1:
        return multilingual_iters[0]
    sampling_iterator = WeightIterator(weights, self.seed)
    control_iterator = NativeCheckpointableIterator(sampling_iterator)
    tokenized_lines = iterators.MultiplexIterator(control_iterator, multilingual_iters)
    return tokenized_lines