Deep Learning, Artificial Intelligence, Naturallanguageprocessing, NLP, Machine Learning.
tok_seq = word_tokenize(i) for tok in tok_seq: if tok in freq_counter.keys(): freq_counter[tok] += 1 else: freq_counter[tok] = 1 # CPU times: user 5min 5s, sys: 770 ms, total: 5min 6s # Wall time: 5min 7s Sort the Dictionary according to the top-K counts import operator sorted_dict =