ChunkedSegmentedCorpus.writeToWithPunc allows user-specified open/close