def guess_language(self, text):
        self.last_distances = self.lang_dists(text)
        
        return min(self.last_distances, key=self.last_distances.get)
        #################################################')
Find the language with the min distance
dataset/ETHPy150Open nltk/nltk/nltk/classify/textcat.py/TextCat.guess_language