The interpreter module

The interpreter module contains a class which provides the ability to find the recognized speech from a given object.

The Keys class

Inheritance diagram of pysiriproxy.interpreter.Keys

class pysiriproxy.interpreter.Keys

The Keys class defines various properties which contain strings which are keys to the dictionary objects sent between the iPhone and Apple’s server.

AceId

The aceId key.

AssistantId

The key for the AssistantId property of an object.

Birthday

The birthday key for an object.

Class

The class name for the object.

Data

The key for the data property of an object.

Date

The date key for an object.

DateSent

The key for the dateSent property of an object.

DisplayText

The key for the displayText property of an object.

DueDate

The due date key for an object.

FirstName

The key for the firstName property of an object.

FullName

The key for the fullName property of an object.

Group

The group for the object.

Identifier

The key for the identifier property of an object.

Interpretations

The interpretations key for an object.

Label

The key for the label property of an object.

LastName

The key for the lastName property of an object.

MsgSender

The key for the msgSender property of an object.

Number

The key for the number property of an object.

OrderedContext

The key for the orderedContext property of an object.

Outgoing

The key for the outgoing property of an object.

Phones

The key for the phones property of an object.

Phrases

The phrases key for an object.

Properties

The properties key for the object.

Recognition

The recognition key for an object.

RefId

The refId for the object.

RemoveSpaceAfter

The removeSpaceAfter key for an object.

RemoveSpaceBefore

The removeSpaceBefore key for an object.

SelectionResponse

The key for the selectionResponse property of an object.

SessionValidationData

The key for the SessionValidationData property of an object.

SpeakableSelectionResponse

The key for the speakableSelectionResponse property of an object.

SpeakableText

The speakable text key for an object.

SpeechId

The key for the SpeechId property of an object.

Street

The street value.

Text

The text key for an object.

TheatricalReleaseDate

The theatrical release date.

Title

The title key for an object.

Tokens

The tokens key for an object.

Utterance

The utterance key for an object.

Version

The version key for an object.

The Interpreter class

Inheritance diagram of pysiriproxy.interpreter.Interpreter

class pysiriproxy.interpreter.Interpreter[source]

The Interpreter class provides the ability for determining if an object indicates that speech was recognized.

classmethod speechRecognized(obj)[source]

Determine if this object contains recognized speech.

This function returns the speech that was recognized if there was recognized speech, otherwise it returns None.

  • obj – The object to check

The ClassNames class

Inheritance diagram of pysiriproxy.interpreter.ClassNames

class pysiriproxy.interpreter.ClassNames

The ClassNames class contains properties which define the names of the class names of objects sent between the iPhone and Apple’s server.

AnyObject

The AnyObject property defined the AnyObject object class.

CancelRequest

The CancelRequest property defined the CancelRequest object class.

CancelSpeech

The CancelSpeech property defined the CancelSpeech object class.

ClearContext

The ClearContext property defined the ClearContext object class.

CommandFailed

The CommandFailed property defined the CommandFailed object class.

CommandIgnored

The CommandIgnored property defined the CommandIgnored object class.

FinishSpeech

The FinishSpeech property defined the FinishSpeech object class.

LoadAssistant

The LoadAssistant property defined the LoadAssistant object class.

RequestCompleted

The RequestCompleted property defined the RequestCompleted object class.

SetApplicationContext

The SetApplicationContext property defined the SetApplicationContext object class.

SetRequestOrigin

The SetRequestOrigin property defined the SetRequestOrigin object class.

SetRestrictions

The SetRestrictions property defined the SetRestrictions object class.

SpeechPacket

The SpeechPacket property defined the SpeechPacket object class.

SpeechRecognized

The SpeechRecognized property defined the SpeechRecognized object class.

StartRequest

The StartRequest property defined the StartRequest object class.

StartSpeechRequest

The StartSpeechRequest property defined the StartSpeechRequest object class.

Table Of Contents

Previous topic

The objectClasses module

Next topic

The plist module

This Page