o
    Si=                     @   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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_tedliumprepare_tedlium)Pathliketedlium_dirTF)existsdir_okay	file_okay)type
output_dirz--partsz-pz7Which parts of TED-LIUM v3 to prepare (by default all).)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 v3 recording and supervision manifest preparation.
    )tedlium_rootr   dataset_partsr   r   N)r   )r	   r   r   r   r    r   T/home/ubuntu/.local/lib/python3.10/site-packages/lhotse/bin/modes/recipes/tedlium.pytedlium
   s   %
r   
target_dirc                 C   s   t |  dS )z$TED-LIUM v3 download (approx. 11GB).N)r   )r   r   r   r   r   8   s   )typingr   clicklhotse.bin.modesr   r   lhotse.recipes.tedliumr   r   r   lhotse.utilsr   commandargumentPathoptionChoicelistintstrr   r   r   r   r   <module>   sZ    