[go: up one dir, main page]

Skip to content

Latest commit

 

History

History

errorify

Synthetic Data Generation Scripts

Usage

* python3 error.py $path_of_correct_file $output_path
* Example
  - python3 error.py ../scratch/train_corr_sentences.txt ../scratch
  - Running above command will create two parallel files corr_sentences.txt and incorr_sentences.txt in ../scratch
  - Note that the order of sentences in the newly created parallel files will not be same as the original file.