def _get_frequency_count(self, token_list):
        if type(token_list[0]) == list:
            c = Counter(t.lower().translate(WordDictionary.number_transformation) 
                        for sent in token_list for t in sent)
        else:
            c = Counter(t.lower().translate(WordDictionary.number_transformation)
                        for t in token_list)
        return c
Returns a token counter for tokens in token_list.
dataset/ETHPy150Open erickrf/nlpnet/nlpnet/word_dictionary.py/WordDictionary._get_frequency_count