def save_prep_accents_ids(prep_dir: str, data: AccentsDict): path = os.path.join(prep_dir, _prepared_accents_json) data.save(path)
def _save_accents_json(ds_dir: str, data: AccentsDict): path = os.path.join(ds_dir, _ds_accents_json) data.save(path)