home << dhlab reference << dhlab.text.nb_search_text

count_from_conc#

from dhlab.text.nb_search_text import count_from_conc
count_from_conc(concordance)[source]#

From a concordance, count the words in it. Assume konks reside a dataframe with columns ‘after’ and ‘before’