o
    2wi                  	   @   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
 e jde jdddd	e jd
e  d	e jddeddded
efddZe
 dd ZdS )    N)downloadprepare)download_bvccprepare_bvcc)Pathlikebvcc
corpus_dirT)existsdir_okay)type
output_dirz-njz
--num_jobs   )r   defaultc                 C   s   t | ||d dS )a  BVCC data preparation.

    CORPUS_DIR should contain the following dir structure

        ./phase1-main/README
        ./phase1-main/DATA/sets/*
        ./phase1-main/DATA/wav/*
        ...

        ./phase1-ood/README
        ./phase1-ood/DATA/sets/
        ./phase1-ood/DATA/wav/
        ...

    Check the READMEs for details.

    See 'lhotse download bvcc' for links to instructions how to obtain the corpus.
    )r   num_jobsN)r   )r   r   r    r   Z/home/ubuntu/sommelier/.venv/lib/python3.10/site-packages/lhotse/bin/modes/recipes/bvcc.pyr   
   s   c                   C   s   t dd dS )a;  BVCC/VoiceMOS challange data cannot be downloaded.

    See info and instructions how to obtain BVCC dataset used for VoiceMOS challange:
    - https://arxiv.org/abs/2105.02373
    - https://nii-yamagishilab.github.io/ecooper-demo/VoiceMOS2022/index.html
    - https://codalab.lisn.upsaclay.fr/competitions/695
    zMNot needed - just prints the docstring. Hopefully the license will be lifted.)
target_dirN)r   r   r   r   r   r   $   s   	
)clicklhotse.bin.modesr   r   lhotse.recipesr   r   lhotse.utilsr   __all__commandargumentPathoptionintr   r   r   r   r   <module>   s    