Ë
      çi  ã                   óö   — d Z ddlmZ ddlZddlmZmZ ddlmZ ddlm	Z	 ddlm
Z
 dd	lmZ dd
lmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlZej*                  j-                  d«      Zddee   de	fd„Zg d¢Zy)zpyannote.databaseé    )ÚOptionalNé   )ÚregistryÚLoadingMode)ÚDatabase)ÚProtocol)ÚProtocolFile)ÚSubset)ÚPreprocessors)Ú
FileFinder)Úget_annotated)Úget_unique_identifier)Úget_label_identifierzpyannote-databaseÚpreprocessorsÚreturnc                 ód   — t        j                  dt        «       t        j                  | |¬«      S )a  Get protocol by full name

    name : str
        Protocol full name (e.g. "Etape.SpeakerDiarization.TV")
    preprocessors : dict or (key, preprocessor) iterable
        When provided, each protocol item (dictionary) are preprocessed, such
        that item[key] = preprocessor(item). In case 'preprocessor' is not
        callable, it should be a string containing placeholder for item keys
        (e.g. {'audio': '/path/to/{uri}.wav'})

    Returns
    -------
    protocol : Protocol
        Protocol instance
    zY`get_protocol` has been deprecated in favor of `pyannote.database.registry.get_protocol`.)r   )ÚwarningsÚwarnÚDeprecationWarningr   Úget_protocol)Únamer   s     úo/Volumes/fast/ai/experiments/voice-extract-mac/.venv/lib/python3.12/site-packages/pyannote/database/__init__.pyr   r   6   s+   € ô  ‡M�MØcÜôô × Ñ  °]ÔCÐCó    )r   r   r   r   r   r	   r
   r   r   r   r   )N)Ú__doc__Útypingr   r   r   r   Údatabaser   Úprotocol.protocolr   r	   r
   r   Úfile_finderr   Úutilr   r   r   Úimportlib.metadataÚ	importlibÚmetadataÚversionÚ__version__r   Ú__all__© r   r   Ú<module>r'      sl   ðñ< õ Û ç +å å 'Ý +Ý %Ý ,å #Ý Ý 'Ý &ã Ø× Ñ ×(Ñ(Ð)<Ó=€ñD h¨}Ñ&=ð DÈó Dò,�r   