added corpus and dictionary save, load, and create methods