The texttiling package contains an implementation of Marti Hearst's text tiling linear text segmenter, based upon Jeffrey Choi's implementation.