countpara

countpara
Program to summarize groups of lines of text. Lines can be in paragraphs like this:
one
two

three
four
Or tagged with single-char keys like this:
a red
b green
b blue
a UV
Outputs look like this:
Table 1 **: 2 people (one, two)
Table 2 **: 2 people (three, four)
Table a **: 2 people (red, UV)
Table b **: 2 people (green, blue)
python source