|  | @@ -45,7 +45,8 @@ class Markov:
 | 
	
		
			
				|  |  |          text = filter(bool, text)
 | 
	
		
			
				|  |  |          text = list(text)
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -        self.corpus.insert(0, text)
 | 
	
		
			
				|  |  | +        if text not in self.corpus:
 | 
	
		
			
				|  |  | +            self.corpus.insert(0, text)
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |          if len(self.corpus) > config.MARKOV_CORPUS_SIZE:
 | 
	
		
			
				|  |  |              self.corpus = self.corpus[: config.MARKOV_CORPUS_SIZE]
 |