add script to remove indices from training corpus