add module to create corpus from data