
    1                     h    S r SSKJrJrJrJr  SSKJrJrJ	r	J
r
JrJrJrJrJr  S/r " S S\5      rg)z
pygments.lexers.praat
~~~~~~~~~~~~~~~~~~~~~

Lexer for Praat

:copyright: Copyright 2006-2023 by the Pygments team, see AUTHORS.
:license: BSD, see LICENSE for details.
    )
RegexLexerwordsbygroupsinclude)	NameTextCommentKeywordStringPunctuationNumberOperator
Whitespace
PraatLexerc                   V   \ rS rSrSrSrSrS/r/ SQrSr	Sr
S	rS
rSrSrSrSr0 SS\" \\R(                  5      4S\R(                  4S\R(                  4S\4S\S4S\S4S\R.                  S4\" S5      \" \	SS9\4S\" \\\5      S4S\" \\5      S4S \" \\\R6                  5      4\" S!5      \" S"5      S#\S$4\" \S%S9\R8                  S4S&\S'4S(\4/_S'S)\4\" S*5      S+\S,4S-\S.4S/\S04/_SS\4S1\" \R.                  \\R$                  \5      S04S2\R.                  S,4/_SS/\4S3\" \R.                  \5      S04S4\" \R.                  \5      S04/_S\" \
S5S9\R.                  S64\" \S7S9\R.                  S64\" \S8S9\R.                  S64/_S6S\4S-\S.4S9\S.4/_S:S;\" \\5      4S<\" \\\5      S04S\4S#\S$4S=\4\" S5      \" S!5      \" S>5      \" S"5      S?\4S@\4/_SASB\S04\" S!5      \" S>5      \" S"5      S#\S$4SC\4/_S"SB\S04SD\4/_SE\" S*5      SF\R@                  4\" \SGSH9\R@                  S04SI\R@                  4SJ\S04/_S!\" S>5      \" S"5      \" \SIS9\RB                  RD                  4\" \SKS9\RB                  RD                  4\" \SSLSM9\" \R@                  \R@                  5      SE4SN\4SO\S:4\" S*5      /_S>SP\#4SQ\#RH                  4/_S*SR\RJ                  4/_SSS\" \\5      4SB\S04S/\4\" S*5      ST\4SU\4/_S$SS\" \\5      4S#\S04\" S*5      ST\4SV\4/_SS\" \\R(                  5      4S\4SW\" \\\\\5      S"4SX\" \\5      S4SY\" \\\5      S4SZ\" \\\\\\\5      4S[\" \\\RB                  5      4S\\" \\\#\5      4S]\" \\5      S4S^\S04/
_r&S_r'g`)ar      z+
For Praat scripts.

.. versionadded:: 2.1
Praatzhttp://www.praat.orgpraat)z*.praatz*.procz*.psc)ifthenelseelsifelifendiffiforfromtoendforendprocwhileendwhilerepeatuntilselectplusminusdemoassert	stopwatchnochecknowarn
noprogresseditor	endeditor	clearinfo)backslashTrigraphsToUnicodechooseDirectorychooseReadFilechooseWriteFiledatedemoKeydoenvironmentextractLineextractWordfixedinfoleftmidpercentreadFilereplacereplace_regexrightselectedstringunicodeToBackslashTrigraphs)abs
appendFileappendFileLine
appendInfoappendInfoLinearccosarccosharcsinarcsinharctanarctan2arctanhbarkToHertz
beginPausebeginSendPraatbesselIbesselKbetabeta2	binomialP	binomialQbooleanceiling
chiSquareP
chiSquareQchoicecommentcoscoshcreateDirectory
deleteFiledemoClickeddemoClickedIndemoCommandKeyPresseddemoExtraControlKeyPressed	demoInputdemoKeyPresseddemoOptionKeyPresseddemoShiftKeyPresseddemoShowdemoWaitForInputdemoWindowTitledemoXdemoYdifferenceLimensToPhonr7   r.   endPauseendSendPraatendsWitherb
erbToHertzerferfc
exitScriptexpextractNumberfileReadablefisherPfisherQfloorgaussPgaussQhertzToBark
hertzToErb
hertzToMelhertzToSemitonesimaximinincompleteBetaincompleteGammaPindexindex_regexintegerinvBinomialPinvBinomialQinvChiSquareQ
invFisherQ	invGaussQ
invSigmoidinvStudentQlengthlnlnBetalnGammalog10log2max
melToHertzminminusObjectnaturalnumbernumberOfColumnsnumberOfRowsnumberOfSelectedobjectsAreIdenticaloption
optionMenupauseScriptphonToDifferenceLimens
plusObjectpositiverandomBinomialrandomGaussrandomIntegerrandomPoissonrandomUniformrealr@   removeObjectrindexrindex_regexround	runScript	runSystemrunSystem_nocheckselectObjectrD   semitonesToHertzsentencesentencetextsigmoidsinsincsincpisinhsoundPressureToPhonsqrt
startsWithstudentPstudentQtantanhtextvariableExistsword	writeFilewriteFileLine	writeInfowriteInfoLine)linearr   r   r   zero)
ActivationAffineTransformAmplitudeTierArtArtwordAutosegment
BarkFilterBarkSpectrogramCCA
CategoriesCepstrogramCepstrum	CepstrumcChebyshevSeriesClassificationTableCochleagram
CollectionComplexSpectrogramConfiguration	ConfusionContingencyTableCorpusCorrelation
CovarianceCrossCorrelationTableCrossCorrelationTablesDTWDataModelerDiagonalizerDiscriminantDissimilarityDistanceDistributionsDurationTierEEGERPERPTierEditCostsTableEditDistanceTableEigen
ExcitationExcitationsExperimentMFCFFNetFeatureWeightsFileInMemoryFilesInMemoryFormantFormantFilterFormantGridFormantModelerFormantPointFormantTierGaussianMixtureHMMHMM_ObservationHMM_ObservationSequence	HMM_StateHMM_StateSequenceHarmonicityISplineIndex	IntensityIntensityTierIntervalTierKNN	KlattGrid
KlattTableLFCCLPCLabelLegendreSeriesLinearRegressionLogisticRegression	LongSoundLtasMFCCMSplineManPagesManipulationMatrix	MelFilterMelSpectrogramMixingMatrixMovieNetworkObject	OTGrammar	OTHistoryOTMultiPCAPairDistribution
ParamCurvePatternPermutationPhotoPitchPitchModeler	PitchTierPointProcessPolygon
PolynomialPowerCepstrogramPowerCepstrum
Procrustes	RealPointRealTier
ResultsMFCRootsSPINETSSCPSVDSalienceScalarProduct
SimilaritySimpleStringSortedSetOfStringSoundSpeakerSpectrogramSpectrumSpectrumTierSpeechSynthesizerSpellingCheckerStringsStringsIndexTableTableOfRealTextGridTextInterval	TextPointTextTierTier
Transition
VocalTractVocalTractTierWeightWordList)	macintoshwindowsunixpraatVersionpie	undefined)r_  tabshellDirectoryhomeDirectorypreferencesDirectorynewlinetemporaryDirectorydefaultDirectory)
ncolnrowxminyminxmaxymaxnxnydxdyrootz(\s+)(#.*?$)z^#.*?$z;[^\n]*z\s+z\bprocedure\bprocedure_definitionz\bcall\bprocedure_call@function_callz\b)suffixz(\bform\b)(\s+)([^\n]+)old_formzn(print(?:line|tab)?|echo|exit|asserterror|pause|send(?:praat|socket)|include|execute|system(?:_nocheck)?)(\s+)string_unquotedz(goto|label)(\s+)(\w+)variable_namer   "rE   z(?=\s+\S+\n)z\b[A-Z]commandz(\.{3}|[)(,])z( ?[\w()-]+ ?)string_interpolatedz\.{3})#popold_arguments:)r  
comma_listz\sr  z([\w.]+)(?:(:)|(?:(\s*)(\()))z([\w.]+)z([\w.]+)(\s*?[(:])z([\w.]+)([^\n]*)z\$(?=\s*[:(])functionz#(?=\s*[:(])z(?=\s*[:(])z\s*\(r  z(\s*\n\s*)(\.{3})z(\s*)(?:([)\]])|(\n))z\b(if|then|else|fi|endif)\boperatorz[()],r  z\nz[^\n]z\b\d+(\.\d*)?([eE][-+]?\d+)?%?object_referencez([a-z][a-zA-Z0-9_]*|\d+)z\.)prefixz\$z\[z"(?=[^a-zA-Z0-9_."\'$#\[:(]|\s|^|$)z(_))r  ry  z\.?_?[a-z][\w.]*(\$|#)?z[\[\]]z!([+\/*<>=!-]=?|[&*|][&*|]?|\^|<>)z'(?<![\w.])(and|or|not|div|mod)(?![\w.])z8\'[_a-z][^\[\]\'":]*(\[([\d,]+|"[\w,]+")\])?(:[0-9]+)?\'z(\n\s*)(\.{3})'z[^'\n]+z	[^\'"\n]+z+(optionmenu|choice)([ \t]+)(\S+)(:)([ \t]+)z(option|button)([ \t]+)z(sentence|text)([ \t]+)(\S+)z2(word)([ \t]+)(\S+)([ \t]*)(\S+)?(?:([ \t]+)(.*))?z((boolean)(\s+\S+\s*)(0|1|"?(?:yes|no)"?)zY(real|natural|positive|integer)([ \t]+\S+[ \t]*)([+-]?)(\d+(?:\.\d*)?(?:[eE][-+]?\d+)?%?)z(comment)(\s+)z\bendform\b N)(__name__
__module____qualname____firstlineno____doc__nameurlaliases	filenameskeywordsfunctions_stringfunctions_numericfunctions_arrayobjectsvariables_numericvariables_stringobject_attributesr   r   r	   Singler
   r   Functionr   r   r   r  Classr   r   r   BuiltinVariableGlobalr   WordInterpoltokens__static_attributes__r      (lib/third_party/pygments/lexers/praat.pyr   r      sp    D
 CiG.IH8OG:yx
GNNCDw~~.w~~.z*w.DEw.>?t}}.>?O$8E*G4'gz62J@:gz*,=? '*djj(QRO$H68$G_5tzzCTU),{+? 
yD 	()*w 9:723J'
EyV 	Z -dmm[oo{45;= $--)BC
Wyd 	J"dmmZ0&: dmmT*F4	!
eyr 	#,<=t}}jY??;t}}jY$^<t}}jY
sy| 	z"{$:;{$:;
}yF 	!8J#DE%xK(56<> Z VX&+W5O$O$JHdO;!
Gyj 	J'O$JH68$t	
ky~ 	J'.7
yF 	)*($,,7$U3T\\6JDLL!D&!
GyX 	JH#U3T]]5I5IJ$9;]]!!# 758dllDLL1! (.\2)*!
Yy| 	1B7G
}yD 	H__ 
EyL 	[ AB*8*%)*&!&!

Myb 	[ ABFV4)*F#F#	
cyv 	x
GNNCDZ ;gz4jI8U (gz*,=? -gz624EG Cgz4T:tTV 9gz4==9;
%gz8V<> gz*,=? Wf-9
wyFr  N)r  pygments.lexerr   r   r   r   pygments.tokenr   r   r	   r
   r   r   r   r   r   __all__r   r  r  r  <module>r     s9    @ ?! ! ! .^ ^r  