o
    2wi[                     @   s"  d dl mZ d dlZd dlmZmZ d dlmZmZm	Z	 d dl
mZ e ejdejdddd	d
ejde d
ejddeedeede ddejddedddejdejg dddddddededee dedef
ddZe ejd e d
d efd!d"ZdS )#    )ListN)downloadprepare)TEDLIUM_PARTSdownload_tedlium2prepare_tedlium2)Pathliketedlium_dirTF)existsdir_okay	file_okay)type
output_dirz--partsz-pz=Which parts of TED-LIUM v2 to prepare (by default all, i.e., z).)r   multipledefaulthelpz-jz
--num-jobs   zBHow many threads to use (can give good speed-ups with slow disks).)r   r   r   z--normalize-text)noneupperkaldi)case_sensitiver   zType of text normalization to apply (no normalization, by default). Selecting `kaldi` will remove <unk> tokens and join suffixes.partsnum_jobsnormalize_textc                 C   s   t | ||||d dS )zE
    TED-LIUM v2 recording and supervision manifest preparation.
    )tedlium_rootr   dataset_partsr   r   N)r   )r	   r   r   r   r    r   ^/home/ubuntu/sommelier/.venv/lib/python3.10/site-packages/lhotse/bin/modes/recipes/tedlium2.pytedlium2
   s   %
r   
target_dirc                 C   s   t |  dS )z$TED-LIUM v2 download (approx. 35GB).N)r   )r   r   r   r   tedlium8   s   r    )typingr   clicklhotse.bin.modesr   r   lhotse.recipes.tedlium2r   r   r   lhotse.utilsr   commandargumentPathoptionChoicelistintstrr   r    r   r   r   r   <module>   sZ    
