def test_sentence_output(self, words, max_overlap_ratio, max_overlap_total):
        # Reject large chunks of similarity
        overlap_ratio = int(round(max_overlap_ratio * len(words)))
        overlap_max = min(max_overlap_total, overlap_ratio)
        overlap_over = overlap_max + 1
        gram_count = max((len(words) - overlap_max), 1)
        grams = [ words[i:i+overlap_over] for i in range(gram_count) ]
        for g in grams:
            gram_joined = self.word_join(g)
            if gram_joined in self.rejoined_text:
                return False
        return True
stops the process triggered by start
dataset/ETHPy150Open jsvine/markovify/markovify/text.py/Text.test_sentence_output--crossover with--dataset/ETHPy150Open cimatosa/jobmanager/jobmanager/progress.py/Loop.stop