Added a corpus generator plain text export function