Some code from playing around with the Text+Berg corpus