o
    SiP	                     @   s  d dl Z d dlmZmZ d dlmZmZ d dlmZ dgZ	ej
eddde jd	e  d
e jde  ddde jde jg dddddde jdeddde jdedddd	ededededef
ddZej
eddde jd	e jdddd
e jde  d
e jde jddddd e jde jg dddddde jd!e jg d"ddd#d$de jd%ddd&d'd	edededed(ed)efd*dZdS )+    N)downloadprepare)download_icsiprepare_icsi)PathlikeicsiT)show_default)context_settings	audio_dir)typez--transcripts-dirz<To download annotations in a different directory than audio.)r   defaulthelpz--mic)ihmzihm-mixsdmmdmF)case_sensitiver   zICSI microphone setting.z--urlzhttp://groups.inf.ed.ac.uk/amizICSI data downloading URL.z--force-downloadz*If True, download even if file is present.transcripts_dirmicurlforce_downloadc                 C   s   t | ||||d dS )zICSI data download.)r   r   r   r   N)r   )r
   r   r   r   r    r   Q/home/ubuntu/.local/lib/python3.10/site-packages/lhotse/bin/modes/recipes/icsi.pyr   
   s   "
)existsdir_okay
output_dir)r   r   z--normalize-text)noneupperkaldir   z=Type of text normalization to apply (kaldi style, by default)z--save-to-wavzSIf True and `mic` is sdm/ihm/mdm, save the recordings as WAV for faster processing.)is_flagr   r   normalize_textsave_to_wavc                 C   s   t | |||||d dS )zICSI data preparation.)r   r   r   r    N)r   )r
   r   r   r   r   r    r   r   r   r   5   s   !
)clicklhotse.bin.modesr   r   lhotse.recipes.icsir   r   lhotse.utilsr   __all__commanddictargumentPathoptionChoicestrboolr   r   r   r   r   <module>   s    