def lang_dists(self, text):
        
        distances = {}
        profile = self.profile(text)
        # For all the languages
        for lang in self._corpus._all_lang_freq.keys():
            # Calculate distance metric for every trigram in
            # input text to be identified
            lang_dist = 0
            for trigram in profile:
                lang_dist += self.calc_dist(lang, trigram, profile)
        
            distances[lang] = lang_dist
            
        return distances
Return a list of records for the stack above the caller's frame.
dataset/ETHPy150Open nltk/nltk/nltk/classify/textcat.py/TextCat.lang_dists--crossover with--dataset/ETHPy150Open cournape/Bento/bento/compat/inspect.py/stack