| Server IP : 93.86.61.54 / Your IP : 216.73.216.60 Web Server : Apache/2.4.62 (Ubuntu) System : Linux rasin.ddns.net 6.8.0-124-generic #124~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue May 26 21:05:19 UTC x86_64 User : www-data ( 33) PHP Version : 8.4.22 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/lib/python3/dist-packages/orca/__pycache__/ |
Upload File : |
o
S�b� � @ sJ d Z dZdZdZdZdZG dd� de�ZG dd � d �ZG d
d� de �Z
dS )
a' Provides an abtract class for working with speech servers.
A speech server (class SpeechServer) provides the ability to tell the
machine to speak. Each speech server provides a set of known
voices (identified by name) which can be combined with various
attributes to create aural style sheets.z$Id$z
$Revision$z$Date$z-Copyright (c) 2005-2008 Sun Microsystems Inc.�LGPLc
@ sL e Zd ZdZdZdZdZdZdZdZ dZ
ed ed ed ed ed iZd
d� Zd S )�VoiceFamilyz)Holds the family description for a voice.�name�gender�lang�dialect�variant�male�femaleNc C s, t �| � | �tj� |r| �|� dS dS )z"Create and initialize VoiceFamily.N)�dict�__init__�updater �settings)�self�props� r �3/usr/lib/python3/dist-packages/orca/speechserver.pyr 5 s
�zVoiceFamily.__init__)
�__name__�
__module__�__qualname__�__doc__�NAME�GENDER�LANG�DIALECT�VARIANT�MALE�FEMALEr
r r r r r r ! s �r c @ s* e Zd ZdZdZdZd
dd�Zdd� Zd S )�
SayAllContext� � � ���c C s( || _ || _|| _|| _|| _d| _dS )a� Creates a new SayAllContext that will be passed to the
SayAll callback handler for progress updates on speech.
If the object does not have an accessible text specialization,
then startOffset and endOffset parameters are meaningless.
If the object does have an accessible text specialization,
then values >= 0 for startOffset and endOffset indicate
where in the text the utterance has come from.
Arguments:
-obj: the Accessible being spoken
-utterance: the actual utterance being spoken
-startOffset: the start offset of the Accessible's text
-endOffset: the end offset of the Accessible's text
N)�obj� utterance�startOffset� endOffset�
currentOffset�currentEndOffset)r r"