
    җi                     J    d dl Z ddlmZ  e j                         ZddZddZy)    N   )Enginec                 d    	 t         |    }|S # t        $ r t        | |      }|t         | <   Y |S w xY w)a  
    Constructs a new TTS engine instance or reuses the existing instance for
    the driver name.

    @param driverName: Name of the platform specific driver to use. If
        None, selects the default driver for the operating system.
    @type: str
    @param debug: Debugging output enabled or not
    @type debug: bool
    @return: Engine instance
    @rtype: L{engine.Engine}
    )_activeEnginesKeyErrorr   )
driverNamedebugengs      Z/home/obispo/Crisostomo_bridge/mision_env/lib/python3.12/site-packages/pyttsx3/__init__.pyinitr      sD    )Z( J  )Z'%(z"J)s   	 //c                 Z    t               }|j                  |        |j                          y )N)r   say
runAndWait)textengines     r   speakr      s!    VF
JJt
    )NF)returnN)weakrefr   r   WeakValueDictionaryr   r   r    r   r   <module>r      s%     ,,,.*r   