...[len(re.findall(r"\w+", p)) for p in paras]
avg_para_len = sum(para_lens)/len(para_lens)
# keyword counts
keywords = ['sechs','Sechs','Diagnose','diagnose','Arzt','arzt','Tochter','krebs','Krebs','ich','Ich']
counts = {k: len(re.findall(r'\b'+re.escape(k)+r'\b', txt)) for k in set(keywords)}
# long sentences >30 words
long_sents = [s for s in sentences if len(re.findall(r"\w+", s))>30]
len_lon...