o
    2wi                     @   s   d dl Z d dlmZ d dlmZ d dlmZ dgZeje	ddde j
d	e jddd
de j
de  de jdddde jdddde jddeddde jddddd	edededededefddZdS )     N)prepareprepare_mgb2)Pathlikemgb2T)show_default)context_settings
corpus_dir)existsdir_okay)type
output_dirz"--text-cleaning/--no-text-cleaningzBasic text cleaning.)defaulthelpz--buck-walter/--no-buck-walterFzUse BuckWalter transliteration.z-jz
--num-jobs   zBHow many threads to use (can give good speed-ups with slow disks).)r   r   r   z--mer-threshP   z4filter out segments based on mer (Match Error Rate).text_cleaningbuck_walternum_jobs
mer_threshc                 C   s   t | |||||d dS )zmgb2 ASR data preparation.)r   r   r   r   Nr   )r	   r   r   r   r   r    r   Z/home/ubuntu/sommelier/.venv/lib/python3.10/site-packages/lhotse/bin/modes/recipes/mgb2.pyr   
   s    
)clicklhotse.bin.modesr   lhotse.recipes.mgb2r   lhotse.utilsr   __all__commanddictargumentPathoptionintboolr   r   r   r   r   <module>   sR    