o
    Si                     @   s  d dl Z d dlmZmZ d dlmZmZ d dlmZm	Z	m
Z
mZ d dlmZ dgZe e jde jddd	d
e jde  d
e jde g ddddde jde ee	 dddde jde e
dddde jde edddde jddedddddedededededed efd!dZe e jd"e  d
e jd#e g d$e e	 dd%d"ed&efd'dZdS )(    N)downloadprepare)download_voxpopuliprepare_voxpopuli)	LANGUAGESLANGUAGES_V2S2S_SRC_LANGUAGESS2S_TGT_LANGUAGES)Pathlike	voxpopuli
corpus_dirT)existsdir_okay)type
output_dirz--task)asrs2slmr   z1The task for which to prepare the VoxPopuli data.)r   defaulthelpshow_defaultz--langenz9The language to prepare (only used if task is asr or lm).z
--src-langz/The source language (only used if task is s2s).z
--tgt-langz/The target language (only used if task is s2s).z
--num-jobsz-j   z6Number of parallel jobs (can provide small speed-ups).tasklangsrc_langtgt_langnum_jobsc                 C   s   t | |||||d dS )zvoxpopuli data preparation.)r   r   r   source_langtarget_langN)r   )r   r   r   r   r   r   r    r    V/home/ubuntu/.local/lib/python3.10/site-packages/lhotse/bin/modes/recipes/voxpopuli.pyr      s   1

target_dirz--subset)r   10k100k400k)r   r   subsetc                 C   s   t | | dS )zvoxpopuli download.N)r   )r"   r&   r    r    r!   r   K   s   	)clicklhotse.bin.modesr   r   lhotse.recipesr   r   lhotse.recipes.voxpopulir   r   r   r	   lhotse.utilsr
   __all__commandargumentPathoptionChoiceintstrr   r    r    r    r!   <module>   s    