Synapseml  0.10.0
Public Member Functions | Static Public Member Functions | List of all members
Synapse.ML.Cognitive.ConversationTranscription Class Reference

ConversationTranscription implements ConversationTranscription More...

Inheritance diagram for Synapse.ML.Cognitive.ConversationTranscription:
Inheritance graph
[legend]
Collaboration diagram for Synapse.ML.Cognitive.ConversationTranscription:
Collaboration graph
[legend]

Public Member Functions

 ConversationTranscription ()
 Creates a ConversationTranscription without any parameters. More...
 
 ConversationTranscription (string uid)
 Creates a ConversationTranscription with a UID that is used to give the ConversationTranscription a unique ID. More...
 
ConversationTranscription SetAudioDataCol (string value)
 Sets value for audioDataCol More...
 
ConversationTranscription SetEndpointId (string value)
 Sets value for endpointId More...
 
ConversationTranscription SetExtraFfmpegArgs (string[] value)
 Sets value for extraFfmpegArgs More...
 
ConversationTranscription SetFileType (string value)
 Sets value for fileType More...
 
ConversationTranscription SetFileTypeCol (string value)
 Sets value for fileType column More...
 
ConversationTranscription SetFormat (string value)
 Sets value for format More...
 
ConversationTranscription SetFormatCol (string value)
 Sets value for format column More...
 
ConversationTranscription SetLanguage (string value)
 Sets value for language More...
 
ConversationTranscription SetLanguageCol (string value)
 Sets value for language column More...
 
ConversationTranscription SetOutputCol (string value)
 Sets value for outputCol More...
 
ConversationTranscription SetParticipantsJson (string value)
 Sets value for participantsJson More...
 
ConversationTranscription SetParticipantsJsonCol (string value)
 Sets value for participantsJson column More...
 
ConversationTranscription SetProfanity (string value)
 Sets value for profanity More...
 
ConversationTranscription SetProfanityCol (string value)
 Sets value for profanity column More...
 
ConversationTranscription SetRecordAudioData (bool value)
 Sets value for recordAudioData More...
 
ConversationTranscription SetRecordedFileNameCol (string value)
 Sets value for recordedFileNameCol More...
 
ConversationTranscription SetStreamIntermediateResults (bool value)
 Sets value for streamIntermediateResults More...
 
ConversationTranscription SetSubscriptionKey (string value)
 Sets value for subscriptionKey More...
 
ConversationTranscription SetSubscriptionKeyCol (string value)
 Sets value for subscriptionKey column More...
 
ConversationTranscription SetUrl (string value)
 Sets value for url More...
 
string GetAudioDataCol ()
 Gets audioDataCol value More...
 
string GetEndpointId ()
 Gets endpointId value More...
 
string [] GetExtraFfmpegArgs ()
 Gets extraFfmpegArgs value More...
 
string GetFileType ()
 Gets fileType value More...
 
string GetFormat ()
 Gets format value More...
 
string GetLanguage ()
 Gets language value More...
 
string GetOutputCol ()
 Gets outputCol value More...
 
string GetParticipantsJson ()
 Gets participantsJson value More...
 
string GetProfanity ()
 Gets profanity value More...
 
bool GetRecordAudioData ()
 Gets recordAudioData value More...
 
string GetRecordedFileNameCol ()
 Gets recordedFileNameCol value More...
 
bool GetStreamIntermediateResults ()
 Gets streamIntermediateResults value More...
 
string GetSubscriptionKey ()
 Gets subscriptionKey value More...
 
string GetUrl ()
 Gets url value More...
 
void Save (string path)
 Saves the object so that it can be loaded later using Load. Note that these objects can be shared with Scala by Loading or Saving in Scala. More...
 
JavaMLWriter Write ()
 
Returns
a JavaMLWriter instance for this ML instance.

 
JavaMLReader< ConversationTranscriptionRead ()
 Get the corresponding JavaMLReader instance. More...
 
ConversationTranscription SetLocation (string value)
 Sets value for location More...
 
ConversationTranscription SetLinkedService (string value)
 Sets value for linkedService More...
 

Static Public Member Functions

static ConversationTranscription Load (string path)
 Loads the ConversationTranscription that was previously saved using Save(string). More...
 

Detailed Description

ConversationTranscription implements ConversationTranscription

Constructor & Destructor Documentation

◆ ConversationTranscription() [1/2]

Synapse.ML.Cognitive.ConversationTranscription.ConversationTranscription ( )
inline

Creates a ConversationTranscription without any parameters.

◆ ConversationTranscription() [2/2]

Synapse.ML.Cognitive.ConversationTranscription.ConversationTranscription ( string  uid)
inline

Creates a ConversationTranscription with a UID that is used to give the ConversationTranscription a unique ID.

Parameters
uidAn immutable unique ID for the object and its derivatives.

Member Function Documentation

◆ GetAudioDataCol()

string Synapse.ML.Cognitive.ConversationTranscription.GetAudioDataCol ( )

Gets audioDataCol value

Returns
audioDataCol: Column holding audio data, must be either ByteArrays or Strings representing file URIs

◆ GetEndpointId()

string Synapse.ML.Cognitive.ConversationTranscription.GetEndpointId ( )

Gets endpointId value

Returns
endpointId: endpoint for custom speech models

◆ GetExtraFfmpegArgs()

string [] Synapse.ML.Cognitive.ConversationTranscription.GetExtraFfmpegArgs ( )

Gets extraFfmpegArgs value

Returns
extraFfmpegArgs: extra arguments to for ffmpeg output decoding

◆ GetFileType()

string Synapse.ML.Cognitive.ConversationTranscription.GetFileType ( )

Gets fileType value

Returns
fileType: The file type of the sound files, supported types: wav, ogg, mp3

◆ GetFormat()

string Synapse.ML.Cognitive.ConversationTranscription.GetFormat ( )

Gets format value

Returns
format: Specifies the result format. Accepted values are simple and detailed. Default is simple.

◆ GetLanguage()

string Synapse.ML.Cognitive.ConversationTranscription.GetLanguage ( )

Gets language value

Returns
language: Identifies the spoken language that is being recognized.

◆ GetOutputCol()

string Synapse.ML.Cognitive.ConversationTranscription.GetOutputCol ( )

Gets outputCol value

Returns
outputCol: The name of the output column

◆ GetParticipantsJson()

string Synapse.ML.Cognitive.ConversationTranscription.GetParticipantsJson ( )

Gets participantsJson value

Returns
participantsJson: a json representation of a list of conversation participants (email, language, user)

◆ GetProfanity()

string Synapse.ML.Cognitive.ConversationTranscription.GetProfanity ( )

Gets profanity value

Returns
profanity: Specifies how to handle profanity in recognition results. Accepted values are masked, which replaces profanity with asterisks, removed, which remove all profanity from the result, or raw, which includes the profanity in the result. The default setting is masked.

◆ GetRecordAudioData()

bool Synapse.ML.Cognitive.ConversationTranscription.GetRecordAudioData ( )

Gets recordAudioData value

Returns
recordAudioData: Whether to record audio data to a file location, for use only with m3u8 streams

◆ GetRecordedFileNameCol()

string Synapse.ML.Cognitive.ConversationTranscription.GetRecordedFileNameCol ( )

Gets recordedFileNameCol value

Returns
recordedFileNameCol: Column holding file names to write audio data to if ``recordAudioData'' is set to true

◆ GetStreamIntermediateResults()

bool Synapse.ML.Cognitive.ConversationTranscription.GetStreamIntermediateResults ( )

Gets streamIntermediateResults value

Returns
streamIntermediateResults: Whether or not to immediately return itermediate results, or group in a sequence

◆ GetSubscriptionKey()

string Synapse.ML.Cognitive.ConversationTranscription.GetSubscriptionKey ( )

Gets subscriptionKey value

Returns
subscriptionKey: the API key to use

◆ GetUrl()

string Synapse.ML.Cognitive.ConversationTranscription.GetUrl ( )

Gets url value

Returns
url: Url of the service

◆ Load()

static ConversationTranscription Synapse.ML.Cognitive.ConversationTranscription.Load ( string  path)
static

Loads the ConversationTranscription that was previously saved using Save(string).

Parameters
pathThe path the previous ConversationTranscription was saved to
Returns
New ConversationTranscription object, loaded from path.

◆ Read()

JavaMLReader<ConversationTranscription> Synapse.ML.Cognitive.ConversationTranscription.Read ( )

Get the corresponding JavaMLReader instance.

Returns
an JavaMLReader<ConversationTranscription> instance for this ML instance.

◆ Save()

void Synapse.ML.Cognitive.ConversationTranscription.Save ( string  path)

Saves the object so that it can be loaded later using Load. Note that these objects can be shared with Scala by Loading or Saving in Scala.

Parameters
pathThe path to save the object to

◆ SetAudioDataCol()

ConversationTranscription Synapse.ML.Cognitive.ConversationTranscription.SetAudioDataCol ( string  value)

Sets value for audioDataCol

Parameters
valueColumn holding audio data, must be either ByteArrays or Strings representing file URIs
Returns
New ConversationTranscription object

◆ SetEndpointId()

ConversationTranscription Synapse.ML.Cognitive.ConversationTranscription.SetEndpointId ( string  value)

Sets value for endpointId

Parameters
valueendpoint for custom speech models
Returns
New ConversationTranscription object

◆ SetExtraFfmpegArgs()

ConversationTranscription Synapse.ML.Cognitive.ConversationTranscription.SetExtraFfmpegArgs ( string []  value)

Sets value for extraFfmpegArgs

Parameters
valueextra arguments to for ffmpeg output decoding
Returns
New ConversationTranscription object

◆ SetFileType()

ConversationTranscription Synapse.ML.Cognitive.ConversationTranscription.SetFileType ( string  value)

Sets value for fileType

Parameters
valueThe file type of the sound files, supported types: wav, ogg, mp3
Returns
New ConversationTranscription object

◆ SetFileTypeCol()

ConversationTranscription Synapse.ML.Cognitive.ConversationTranscription.SetFileTypeCol ( string  value)

Sets value for fileType column

Parameters
valueThe file type of the sound files, supported types: wav, ogg, mp3
Returns
New ConversationTranscription object

◆ SetFormat()

ConversationTranscription Synapse.ML.Cognitive.ConversationTranscription.SetFormat ( string  value)

Sets value for format

Parameters
valueSpecifies the result format. Accepted values are simple and detailed. Default is simple.
Returns
New ConversationTranscription object

◆ SetFormatCol()

ConversationTranscription Synapse.ML.Cognitive.ConversationTranscription.SetFormatCol ( string  value)

Sets value for format column

Parameters
valueSpecifies the result format. Accepted values are simple and detailed. Default is simple.
Returns
New ConversationTranscription object

◆ SetLanguage()

ConversationTranscription Synapse.ML.Cognitive.ConversationTranscription.SetLanguage ( string  value)

Sets value for language

Parameters
valueIdentifies the spoken language that is being recognized.
Returns
New ConversationTranscription object

◆ SetLanguageCol()

ConversationTranscription Synapse.ML.Cognitive.ConversationTranscription.SetLanguageCol ( string  value)

Sets value for language column

Parameters
valueIdentifies the spoken language that is being recognized.
Returns
New ConversationTranscription object

◆ SetLinkedService()

ConversationTranscription Synapse.ML.Cognitive.ConversationTranscription.SetLinkedService ( string  value)

Sets value for linkedService

Parameters
valuelinkedService name
Returns
New ConversationTranscription object

◆ SetLocation()

ConversationTranscription Synapse.ML.Cognitive.ConversationTranscription.SetLocation ( string  value)

Sets value for location

Parameters
valueLocation of the cognitive service
Returns
New ConversationTranscription object

◆ SetOutputCol()

ConversationTranscription Synapse.ML.Cognitive.ConversationTranscription.SetOutputCol ( string  value)

Sets value for outputCol

Parameters
valueThe name of the output column
Returns
New ConversationTranscription object

◆ SetParticipantsJson()

ConversationTranscription Synapse.ML.Cognitive.ConversationTranscription.SetParticipantsJson ( string  value)

Sets value for participantsJson

Parameters
valuea json representation of a list of conversation participants (email, language, user)
Returns
New ConversationTranscription object

◆ SetParticipantsJsonCol()

ConversationTranscription Synapse.ML.Cognitive.ConversationTranscription.SetParticipantsJsonCol ( string  value)

Sets value for participantsJson column

Parameters
valuea json representation of a list of conversation participants (email, language, user)
Returns
New ConversationTranscription object

◆ SetProfanity()

ConversationTranscription Synapse.ML.Cognitive.ConversationTranscription.SetProfanity ( string  value)

Sets value for profanity

Parameters
valueSpecifies how to handle profanity in recognition results. Accepted values are masked, which replaces profanity with asterisks, removed, which remove all profanity from the result, or raw, which includes the profanity in the result. The default setting is masked.
Returns
New ConversationTranscription object

◆ SetProfanityCol()

ConversationTranscription Synapse.ML.Cognitive.ConversationTranscription.SetProfanityCol ( string  value)

Sets value for profanity column

Parameters
valueSpecifies how to handle profanity in recognition results. Accepted values are masked, which replaces profanity with asterisks, removed, which remove all profanity from the result, or raw, which includes the profanity in the result. The default setting is masked.
Returns
New ConversationTranscription object

◆ SetRecordAudioData()

ConversationTranscription Synapse.ML.Cognitive.ConversationTranscription.SetRecordAudioData ( bool  value)

Sets value for recordAudioData

Parameters
valueWhether to record audio data to a file location, for use only with m3u8 streams
Returns
New ConversationTranscription object

◆ SetRecordedFileNameCol()

ConversationTranscription Synapse.ML.Cognitive.ConversationTranscription.SetRecordedFileNameCol ( string  value)

Sets value for recordedFileNameCol

Parameters
valueColumn holding file names to write audio data to if ``recordAudioData'' is set to true
Returns
New ConversationTranscription object

◆ SetStreamIntermediateResults()

ConversationTranscription Synapse.ML.Cognitive.ConversationTranscription.SetStreamIntermediateResults ( bool  value)

Sets value for streamIntermediateResults

Parameters
valueWhether or not to immediately return itermediate results, or group in a sequence
Returns
New ConversationTranscription object

◆ SetSubscriptionKey()

ConversationTranscription Synapse.ML.Cognitive.ConversationTranscription.SetSubscriptionKey ( string  value)

Sets value for subscriptionKey

Parameters
valuethe API key to use
Returns
New ConversationTranscription object

◆ SetSubscriptionKeyCol()

ConversationTranscription Synapse.ML.Cognitive.ConversationTranscription.SetSubscriptionKeyCol ( string  value)

Sets value for subscriptionKey column

Parameters
valuethe API key to use
Returns
New ConversationTranscription object

◆ SetUrl()

ConversationTranscription Synapse.ML.Cognitive.ConversationTranscription.SetUrl ( string  value)

Sets value for url

Parameters
valueUrl of the service
Returns
New ConversationTranscription object

The documentation for this class was generated from the following file: