403Webshell
Server IP : 182.53.201.61  /  Your IP : 216.73.217.175
Web Server : Apache/2.2.15 (Fedora)
System : Linux km10.dyndns.org 2.6.31.5-127.fc12.i686.PAE #1 SMP Sat Nov 7 21:25:57 EST 2009 i686
User : apache ( 48)
PHP Version : 5.3.3
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/lib/python2.6/site-packages/orca/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/lib/python2.6/site-packages/orca//gnomespeechfactory.pyc
z#Jc@sdZdZdZdZdZdZddkZeidZddk	Z	ddk
Z
ddkZddkZddk
Z
ddkZyddkZeiZWn"ej
oeiiZnXddkZddkZddkZddkZddkZddkZddkZddkZdd	klZdd
k l!Z!ei"dddk#Z$ddk%Z&dZ'd
ddYZ(de&i)i*fdYZ+dei,fdYZ,dS(s9Provides a SpeechServer factory for gnome-speech drivers.s$Id$s
$Revision$s$Date$s-Copyright (c) 2005-2008 Sun Microsystems Inc.tLGPLiNtspeech(tACSS(t_tGNOME_SpeechcCs||jodS|p|odS|iiddiddid}|iiddiddid}d}xPtdtt|t|D]*}||||jo|d7}qPqW|t|jodS|odSdSdS(sCompares a desired language to an actual language and returns
    a numerical value representing the degree of match.  The expected
    language format is a string similar to the following, where the
    delimiter can be '-' '_' or '.':

      de-DE (German for Germany)
      en-US (English as used in the United States)

    Additional extensions for variants or dialects are allowed as well.

    The return value is one of the following:

      0 - no match at all
      1 - some match
      2 - exact match
    iit-Rt.iN(tlowertreplacetsplittrangetmintlen(tdesiredtactualt
matchCountti((s;/usr/lib/python2.6/site-packages/orca/gnomespeechfactory.pyt_matchLanguageDs"
--%t_SayAllcBseZdZRS(cCs(||_||_||_||_dS(N(tutteranceIteratortcurrentContexttidForCurrentContexttprogressCallback(tselftiteratortcontexttutteranceIdR((s;/usr/lib/python2.6/site-packages/orca/gnomespeechfactory.pyt__init__qs			(t__name__t
__module__R(((s;/usr/lib/python2.6/site-packages/orca/gnomespeechfactory.pyRpst_SpeakercBsheZdZdZdZdZdZdZdZdZ	dZ
d	Zd
ZRS(sWImplements gnome-speech's SpeechCallback class.  The gnome-speech
    server only allows one speech callback to be registered with a speaker
    and there's no way to unregister it.  So...we need to handle stuff
    like that on our own.  This class handles this for us and also delegates
    all calls to the 'real' gnome speech speaker.
    cCsR||_tio|i|ing|_|i|i|ig|_	dS(N(
t
gnome_speakertsettingstenableSpeechCallbackstregisterSpeechCallbackt_thist_Speaker__callbackstnametlanguagetgendert	voiceInfo(RRtvoice((s;/usr/lib/python2.6/site-packages/orca/gnomespeechfactory.pyRs
	
	cCs|ii|dS(N(R$tappend(Rtcallback((s;/usr/lib/python2.6/site-packages/orca/gnomespeechfactory.pytregisterCallbackscCs|ii|dS(N(R$tremove(RR+((s;/usr/lib/python2.6/site-packages/orca/gnomespeechfactory.pytderegisterCallbackscCs+x$|iD]}|i|||q
WdS(sCalled by GNOME Speech when the GNOME Speech driver generates
        a callback.

        Arguments:
        - progressType:  one of GNOME.Speech.speech_callback_speech_started,
                         GNOME.Speech.speech_callback_speech_progress,
                         GNOME.Speech.speech_callback_speech_ended
        - utteranceId:   the id of the utterance (returned by say)
        - offset:        the character offset into the utterance (for progress)
        N(R$tnotify(RtprogressTypeRtoffsetR+((s;/usr/lib/python2.6/site-packages/orca/gnomespeechfactory.pyR/s
cCs3t|to|id}n|ii|S(NsUTF-8(t
isinstancetunicodetencodeRtsay(Rttext((s;/usr/lib/python2.6/site-packages/orca/gnomespeechfactory.pyR5scCs|iidS(N(Rtstop(R((s;/usr/lib/python2.6/site-packages/orca/gnomespeechfactory.pyR7scCs
|iiS(N(RtgetSupportedParameters(R((s;/usr/lib/python2.6/site-packages/orca/gnomespeechfactory.pyR8scCs|ii|S(N(RtgetParameterValue(RR%((s;/usr/lib/python2.6/site-packages/orca/gnomespeechfactory.pyR9scCs|ii||S(N(RtsetParameterValue(RR%tvalue((s;/usr/lib/python2.6/site-packages/orca/gnomespeechfactory.pyR:scCsy|iiWnnXdS(N(Rtunref(R((s;/usr/lib/python2.6/site-packages/orca/gnomespeechfactory.pyR<s(
RRt__doc__RR,R.R/R5R7R8R9R:R<(((s;/usr/lib/python2.6/site-packages/orca/gnomespeechfactory.pyRws									tSpeechServercBseZdZhZdZeeZdZeeZdZeeZdZeeZd)dZ
ee
Z
dZeeZdZdZ
d	Zd
ZdZdZd)d
ZdZdZdZdZdd)dZdddZddZd)dZd)edZdZdZd)d)edZd)d)edZ dZ!dZ"d d!Z#d d"Z$d#d$Z%d#d%Z&d&Z'd'Z(d)d)d(Z)RS(*s6Provides SpeechServer implementation for gnome-speech.cCs}tii|dt}|itii}|i}|p|i	}n|p"y|i
WnnXd}n|S(Ni(tbonobot
activationtactivate_from_idtFalset_narrowtGNOMEtSpeechtSynthesisDrivert
isInitializedt
driverInitR<tNone(tiidtdriverRG((s;/usr/lib/python2.6/site-packages/orca/gnomespeechfactory.pyt__activateDrivers	
cCsad}|tijoti|}n7ti|}|o t||}|ti|<n|S(N(RIR>t_SpeechServer__activeServerst_SpeechServer__activateDriver(RJtserverRK((s;/usr/lib/python2.6/site-packages/orca/gnomespeechfactory.pyt__createServerscCs
tdS(s1Returns a localized name describing this factory.sGNOME Speech Services(R(((s;/usr/lib/python2.6/site-packages/orca/gnomespeechfactory.pytgetFactoryNamescCsutiid}xS|D]K}|itijo2yti|iWqdtiti	qdXqqWtii
S(sGets available speech servers as a list.  The caller
        is responsible for calling the shutdown() method of each
        speech server returned.
        s4repo_ids.has('IDL:GNOME/Speech/SynthesisDriver:0.3')(R?R@tqueryRJR>RMt_SpeechServer__createServertdebugtprintExceptiont
LEVEL_WARNINGtvalues(tknownServersRO((s;/usr/lib/python2.6/site-packages/orca/gnomespeechfactory.pytgetSpeechServerss			cCsD|o$|dtijoti|dSd}tiid}t|djodSd}|p|d}n1x-|D]%}|i|djo|}Pq}q}W|pdSd}yti|i}Wnt	i
t	inX|pQxN|D]B}y"ti|i}|oPnWqt	i
t	iqXqWn|S(siGets a given SpeechServer based upon the info.
        See SpeechServer.getInfo() for more info.
        is4repo_ids.has('IDL:GNOME/Speech/SynthesisDriver:0.3')iN(R>RMRIR?R@RRRRJRSRTRURV(tinfoROtgserverstgserverts((s;/usr/lib/python2.6/site-packages/orca/gnomespeechfactory.pytgetSpeechServers@				cCs5x.tiiD]}ti|}|iqWdS(s/Cleans up and shuts down this factory.
        N(R>RMtkeystshutdown(tkeyRO((s;/usr/lib/python2.6/site-packages/orca/gnomespeechfactory.pytshutdownActiveServers:s
cCstii|h|_h|_h|_h|_||_|i|_	||_
d|_t
|_tid|_d|_ti|_d|_d|_g|_dS(Ni(tspeechserverR>Rt_SpeechServer__speakerst_SpeechServer__pitchInfot_SpeechServer__rateInfot_SpeechServer__volumeInfot_SpeechServer__drivert
driverNamet_SpeechServer__driverNamet_SpeechServer__iidRIt_SpeechServer__sayAllRBt_SpeechServer__isSpeakingtQueuet_SpeechServer__eventQueuet_SpeechServer__gidleIdt	threadingtLockt_SpeechServer__gidleLockt_SpeechServer__lastResetTimet_SpeechServer__lastTextttextCharIndices(RRKRJ((s;/usr/lib/python2.6/site-packages/orca/gnomespeechfactory.pyRCs 											cCs||ijodS|i|\}}}|id}||jod||||S||jodd||||SdSdS(s6Gets the voice-independent ACSS rate value of a voice.gI@trateN(RfR9(RtspeakertminRatetaverageRatetmaxRateRw((s;/usr/lib/python2.6/site-packages/orca/gnomespeechfactory.pyt	__getRateUs

cCs||ijodS|i|\}}}|djo||||d}n2|djo||d||d}n|}|id|dS(sfDetermines the voice-specific rate setting for the
        voice-independent ACSS rate value.
        NgI@Rw(RfR:(RRxtacssRateRyRzR{Rw((s;/usr/lib/python2.6/site-packages/orca/gnomespeechfactory.pyt	__setRatees

cCs||ijodS|i|\}}}|id}||jod||||S||jodd||||SdSdS(sGets the voice-specific pitch setting for the
           voice-independent ACSS pitch value.

        Returns the voice-specific pitch setting.
        g@tpitchN(ReR9(RRxtminPitchtaveragePitchtmaxPitchR((s;/usr/lib/python2.6/site-packages/orca/gnomespeechfactory.pyt
__getPitchxs

cCs||ijodS|i|\}}}|djo||||d}n2|djo||d||d}n|}|id|dS(shDetermines the voice-specific pitch setting for the
        voice-independent ACSS pitch value.
        Ng@R(ReR:(RRxt	acssPitchRRRR((s;/usr/lib/python2.6/site-packages/orca/gnomespeechfactory.pyt
__setPitchs

cCsU||ijodS|i|\}}}||||d}|id|dS(sfDetermines the voice-specific rate setting for the
        voice-independent ACSS rate value.
        Ng$@tvolume(RgR:(RRxtacssGaint	minVolumet
averageVolumet	maxVolumeR((s;/usr/lib/python2.6/site-packages/orca/gnomespeechfactory.pyt__setVolumes
cCsti}|ti}|p
|}n|i|ijo|i|iSg}ylti|jo$|ti}|tii	g}n5ti|jo$|ti}|tii	g}nWnnXt
|djo+ddk}|i\}}|g}n|i
i}g}	xy|D]q}
d}x)|D]!}t|t|
i|}q8W|djo|	id|
q%|o|	i|
q%q%Wt
|	o
|	}n|i
i}d}ti|jo!|ti}|tii}n2ti|jo!|ti}|tii}nt}
x1|D])}
|p|
i|jot}
Pq5q5W|
p&t
|djodS|d}
n|i
i|
}t|itii|
}yF|i}x3|D]+}|idjo|iddPqqWWnnX|i |t}x|ii!D]}|i"|i"joqy|i#||i#|<WnnXy|i$||i$|<WnnXy|i%||i%|<WnnXt}Pq2q2W|o|i}x|D]}|idjo#|i&|i'|ig|i#|<q|idjo#|i&|i'|ig|i$|<q|idjo#|i&|i'|ig|i%|<qqWnti(|jo|i)||ti(nti*|jo|i+||ti*nti,|jo|i-||ti,n||i|i<|S(	Niiispunctuation modegRwRR(.R tvoicest
DEFAULT_VOICER%RdRtFAMILYRctVoiceFamilytLOCALERtlocaletgetdefaultlocaleRhtgetAllVoicestmaxRR&tinsertR*RItNAMERBtTruet
createSpeakerRRCRDREtSpeakerR8R:R,RWR(RfReRgRtcurrenttRATEt_SpeechServer__setRatet
AVERAGE_PITCHt_SpeechServer__setPitchtGAINt_SpeechServer__setVolume(RtacssRtdefaultACSSt	languagestfamilyRR&tencodingtfoundVoicesR)tmatcht
familyNametfoundR]Rxt
parameterst	parametertsaveParameterstexistingSpeaker((s;/usr/lib/python2.6/site-packages/orca/gnomespeechfactory.pyt__getSpeakers	









	

		##+c	CsD|ii\}}}|i|}|io|ii|jo|ii}|tiijo/|i	|_
|ii|iiti
iq|tiijo3|i	||_
|ii|iiti
iq|tiijo
yxto|iii\|i_}|iii}d|d}titi|ti||o8t|o+|io|i|||i_PqqWWqtj
oDt|_|i |_
|ii|iiti
i!d|_qqXqqnt}|i#i$|ii%od|_&t}n|i#i'|S(sCalled by the gidle thread when there is something to do.
        The goal is to try to do all AT-SPI interactions on the gidle
        thread as a means to help prevent hangs.sSPEECH OUTPUT: 't'iN((Rotgett"_SpeechServer__adjustTextCharIndexRlRRRDREtspeech_callback_speech_startedtstartOffsett
currentOffsetRRct
SayAllContexttPROGRESStspeech_callback_speech_progresstspeech_callback_speech_endedRRtnextt	utteranceRTtprintlnt
LEVEL_INFOtlogRZRtisspacet_SpeechServer__speakt
StopIterationRBRmt	endOffsett	COMPLETEDRIRstacquiretemptyRptrelease(	RtthisIdtthisTypeR1RRRtlogLinetrerun((s;/usr/lib/python2.6/site-packages/orca/gnomespeechfactory.pyt
__idleHandlerPsX
				
			


	

cCs|tiijo
t|_nL|tiijo
t|_n,|tiijo|io
t|_n|iox|i	i
|ii|||f|i
p7tiotitinti|i|_
n|i	indS(sCalled by GNOME Speech when the GNOME Speech driver generates
        a callback.  This is for internal use only.

        Arguments:
        - progressType:  one of GNOME.Speech.speech_callback_speech_started,
                         GNOME.Speech.speech_callback_speech_progress,
                         GNOME.Speech.speech_callback_speech_ended
        - utteranceId:   the id of the utterance (returned by say)
        - offset:        the character offset into the utterance (for progress)
        N(RDRERRRmRRRlRBRsRRotputRpR tgilSleepTimettimetsleeptgobjecttidle_addt_SpeechServer__idleHandlerR(RR0RR1((s;/usr/lib/python2.6/site-packages/orca/gnomespeechfactory.pyR/s






cCs|i|igS(s'Returns [driverName, serverId]
        (RjRk(R((s;/usr/lib/python2.6/site-packages/orca/gnomespeechfactory.pytgetInfoscCs~g}yZxS|iiD]B}h|itii6|itii6}|iti|qWWnt	i
t	inX|S(sReturns a list of speechserver.VoiceFamily instances
        representing all the voice families known by the speech server.
        (RhRR%RcRRR&RR*RTRUtLEVEL_SEVERE(RtfamiliesR)tprops((s;/usr/lib/python2.6/site-packages/orca/gnomespeechfactory.pytgetVoiceFamiliesstcCs|i||dS(sAdds the text to the queue.

        Arguments:
        - text: text to be spoken
        - acss: acss.ACSS instance; if None,
                the default voice settings will be used.
                Otherwise, the acss settings will be
                used to augment/override the default
                voice settings.

        Output is produced by the next call to speak.
        N(tspeak(RR6R((s;/usr/lib/python2.6/site-packages/orca/gnomespeechfactory.pyt	queueTexts
ii2cCsdS(sYAdds a tone to the queue.

        Output is produced by the next call to speak.
        N((RRtduration((s;/usr/lib/python2.6/site-packages/orca/gnomespeechfactory.pyt	queueTonescCsdS(sZAdds silence to the queue.

        Output is produced by the next call to speak.
        N((RR((s;/usr/lib/python2.6/site-packages/orca/gnomespeechfactory.pytqueueSilencescCsMti|}tio tiotii|}n|i||dS(ssSpeaks a single character immediately.

        Arguments:
        - character: text to be spoken
        - acss:      acss.ACSS instance; if None,
                     the default voice settings will be used.
                     Otherwise, the acss settings will be
                     used to augment/override the default
                     voice settings.
        N(tchnamestgetCharacterNamet
orca_statetactiveScripttusePronunciationDictionarytadjustForPronunciationR(Rt	characterRtchname((s;/usr/lib/python2.6/site-packages/orca/gnomespeechfactory.pytspeakCharacterscCsVd}xI|D]A}t|o$|i|||o
|djn|d7}q
WdS(sSpeaks the given list of utterances immediately.

        Arguments:
        - utterances: list of strings to be spoken
        - acss:       acss.ACSS instance; if None,
                      the default voice settings will be used.
                      Otherwise, the acss settings will be
                      used to augment/override the default
                      voice settings.
        - interrupt: if True, stop any speech currently in progress.
        iiN(RR(Rt
utterancesRt	interruptRR6((s;/usr/lib/python2.6/site-packages/orca/gnomespeechfactory.pytspeakUtterancess
$cCsLd}x?tdt|iD]%}|}|i||joPqqW|S(sGet the original character index into the text string (before
        the string was adjusted for verbalized punctuation.

        Arguments:
        - offset: character offset into text string

        Returns the equivalent character index into the original text string.
        i(R
RRv(RR1tequivalentIndexR((s;/usr/lib/python2.6/site-packages/orca/gnomespeechfactory.pyt__adjustTextCharIndexs
	cCs|idtdd}|idtdd}|id}t}tioGdtiijo4tii}|djp
|djo
t}qn|o|id	d
d}ng|_	t
i}d
}xtdt
|D]}|i	it
|yTti||\}}t}	}
}|djo||di}	n|t
|djo||di}
n|	o|
o||dj}t}}
tiotii}n|djo
t}n|djo||di}n|t
|djo-||dip||d|j}
n||d
joG|t
ijo7|o0|
o)|	o|d7}n|td7}nt
|djp|p
||jox|	o|d7}n|ti||7}|tijo#|
o|||id7}n|
o|d7}qYn|||id7}Wqt
|djo|ti||7}q|||id7}qXqW|S(sDepending upon the users verbalized punctuation setting,
        adjust punctuation symbols in the given text to their pronounced
        equivalents. The pronounced text will either replace the
        punctuation symbol or be inserted before it. In the latter case,
        this is to retain spoken prosity.

        If we are moving around by single characters, then always speak
        the punctuation. We try to detect this by looking for just a
        single character being spoken.

        Arguments:
        - oldText:      text to be parsed for punctuation.

        Returns a text string with the punctuation symbols adjusted accordingly.
        s...s dot dot dotis…sUTF-8tevent_stringtLefttRights
RiRRt tminus(RRtdecodeRRtlastInputEventt__dict__RRBRvR tverbalizePunctuationStyleR
RR*tpunctuation_settingstgetPunctuationInfoRRtgetUnicodeCurrencySymbolstisdigittPUNCTUATION_STYLE_NONERRtPUNCTUATION_INSERTR4(RtoldTexttremoveNewLinestlastKeytstyletnewTextRtleveltactiontisPrevtisNextt	isSpecialtprevCharMatchestnextCharMatchestcurrencySymbols((s;/usr/lib/python2.6/site-packages/orca/gnomespeechfactory.pyt__addVerbalizedPunctuationsp
		





'cCs3tipdS|i|}|oUti|joEti}|ti}ti|jo|i||tiqzn|p|oti	ndS|i
|}|ididdi
d}y)||g|_t|_|i|SWn5titititid|idSXdS(sSpeaks all queued text immediately.  If text is not None,
        it is added to the queue before speaking.

        Arguments:
        - text:      optional text to add to the queue before speaking
        - acss:      acss.ACSS instance; if None,
                     the default voice settings will be used.
                     Otherwise, the acss settings will be
                     used to augment/override the default
                     voice settings.
        - interrupt: if True, stops any speech in progress before
                     speaking the text

        Returns an id of the thing being spoken or -1 if nothing is to
        be spoken.
        isUTF-8u RsRestarting speech...N(R tenableSpeecht_SpeechServer__getSpeakerRRRRRRR7t'_SpeechServer__addVerbalizedPunctuationRRR4RuRRmR5RTRURRtreset(RR6RRRxRR((s;/usr/lib/python2.6/site-packages/orca/gnomespeechfactory.pyt__speaks.
	
$	
cCsy|io|in|oB|o;|idio%ytiiti}WqbqbXn|i	|||dS(sASpeaks all queued text immediately.  If text is not None,
        it is added to the queue before speaking.

        Arguments:
        - text:      optional text to add to the queue before speaking
        - acss:      acss.ACSS instance; if None,
                     the default voice settings will be used.
                     Otherwise, the acss settings will be
                     used to augment/override the default
                     voice settings.
        - interrupt: if True, stops any speech in progress before
                     speaking the text
        sUTF-8N(
RlR7RtisupperRRRR tUPPERCASE_VOICER(RR6RR((s;/usr/lib/python2.6/site-packages/orca/gnomespeechfactory.pyRs
%cCs|iS(s2"Returns True if the system is currently speaking.(Rm(R((s;/usr/lib/python2.6/site-packages/orca/gnomespeechfactory.pyt
isSpeakingsc	Csyn|i\}}d|id}titi|ti|t|||i|i|||_	Wnt
j
onXdS(s6Iterates through the given utteranceIterator, speaking
        each utterance one at a time.

        Arguments:
        - utteranceIterator: iterator/generator whose next() function
                             returns a new string to be spoken
        - progressCallback:  called as progress is made
        sSPEECH OUTPUT: 'RN(RRRTRRRRZRRRlR(RRRRRR((s;/usr/lib/python2.6/site-packages/orca/gnomespeechfactory.pytsayAlls	
g?cCsti}|ti}|i|}ti}ygtd|i||}||ti<|i	||t
it
id||i
tdWnt
it
inXdS(sxIncreases the speech pitch for the default voice.

        Arguments:
        - step: the pitch step increment.
        i
s,speech.increaseSpeechPitch: pitch is now  %dshigher.N(R RRR	tspeechPitchDeltaRt_SpeechServer__getPitchRRRRTRtLEVEL_CONFIGURATIONRRRUR(RtstepRRRxt
pitchDeltaR((s;/usr/lib/python2.6/site-packages/orca/gnomespeechfactory.pytincreaseSpeechPitchs	
	
cCsti}|ti}|i|}ti}ygtd|i||}||ti<|i	||t
it
id||i
tdWnt
it
inXdS(sxDecreases the speech pitch for the default voice.

        Arguments:
        - step: the pitch step decrement.
        is,speech.decreaseSpeechPitch: pitch is now  %dslower.N(R RRR	RRRRRRRTRRRRRUR(RRRRRxRR((s;/usr/lib/python2.6/site-packages/orca/gnomespeechfactory.pytdecreaseSpeechPitchs	
	
icCsti}|ti}|i|}ti}ygtd|i||}||ti<|i	||t
it
id||i
tdWnt
it
inXdS(sIncreases the speech rate.

        [[[TODO: WDW - this is a hack for now.  Need to take min/max
        values in account, plus also need to take into account that
        different engines provide different rate ranges.]]]
        ids*speech.increaseSpeechRate: rate is now  %dsfaster.N(R RRR	tspeechRateDeltaRt_SpeechServer__getRateRRRRTRRRRRUR(RRRRRxt	rateDeltaRw((s;/usr/lib/python2.6/site-packages/orca/gnomespeechfactory.pytincreaseSpeechRate:s	
	
cCsti}|ti}|i|}ti}ygtd|i||}||ti<|i	||t
it
id||i
tdWnt
it
inXdS(sDecreases the rate of speech for the given ACSS.  If
        acssName is None, the rate decrease will be applied to all
        known ACSSs.

        [[[TODO: WDW - this is a hack for now.  Need to take min/max
        values in account, plus also need to take into account that
        different engines provide different rate ranges.]]]

        Arguments:
        -acssName: the ACSS whose speech rate should be decreased
        is*speech.decreaseSpeechRate: rate is now  %dsslower.N(R RRR	RRRRRRRTRRRRRUR(RRRRRxRRw((s;/usr/lib/python2.6/site-packages/orca/gnomespeechfactory.pytdecreaseSpeechRateWs
	
	
cCs||io,|ii|iitiid|_nx6|iiD]%}y|i|i	WqFqFXqFWt
|_dS(s+Stops ongoing speech and flushes the queue.N(RlRRRcRtINTERRUPTEDRIRdR_R7RBRm(RR%((s;/usr/lib/python2.6/site-packages/orca/gnomespeechfactory.pyR7ys
		

cCs|itijolx+|iiD]}|i|iq#Wh|_y|iiWnnXd|_ti|i=ndS(sShuts down the speech engine.N(	RkR>RMRdRWR7R<RhRI(RRx((s;/usr/lib/python2.6/site-packages/orca/gnomespeechfactory.pyR`s
		c	Cs7ti|idjo4titidtititidnti|_|i	}|i
tii
d}x|D]}|i|ijoyf|i|i|_h|_	x%|iD]}|i||qW|o|i||nPWq/titid|_q/XqqWdS(sResets the speech engine.is-Something looks wrong with speech.  Aborting.i2s4repo_ids.has('IDL:GNOME/Speech/SynthesisDriver:0.3')N(RRtRTRRt
printStackt	LEVEL_ALLtorcatdieRdR`R?R@RRRJRkRNRhR_R	RRURI(RR6RtspeakerstserversROR%((s;/usr/lib/python2.6/site-packages/orca/gnomespeechfactory.pyRs2	
			
N(*RRR=RMRNtstaticmethodRSRQRYRIR^RbRRRRRRR	RR/RRRRRRRRRR
RRRRRRRRR7R`R(((s;/usr/lib/python2.6/site-packages/orca/gnomespeechfactory.pyR>sV		
		2							
	C					s>		"		((-R=t__id__t__version__t__date__t
__copyright__t__license__tloggingt	getLoggerRRRnRqRR?tORBittpyatspitAccessibility__POAtpoatAttributeErrortCORBAtORB_inittorbRRTR RRR RRcRRt	orca_i18nRtload_typelibtGNOME.SpeechRDtGNOME__POA.Speecht
GNOME__POARRREtSpeechCallbackRR>(((s;/usr/lib/python2.6/site-packages/orca/gnomespeechfactory.pyt<module>sD	

	,A

Youez - 2016 - github.com/yon3zu
LinuXploit