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

RecognizeText implements RecognizeText More...

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

Public Member Functions

 RecognizeText ()
 Creates a RecognizeText without any parameters. More...
 
 RecognizeText (string uid)
 Creates a RecognizeText with a UID that is used to give the RecognizeText a unique ID. More...
 
RecognizeText SetBackoffs (int[] value)
 Sets value for backoffs More...
 
RecognizeText SetConcurrency (int value)
 Sets value for concurrency More...
 
RecognizeText SetConcurrentTimeout (double value)
 Sets value for concurrentTimeout More...
 
RecognizeText SetErrorCol (string value)
 Sets value for errorCol More...
 
RecognizeText SetImageBytes (byte[] value)
 Sets value for imageBytes More...
 
RecognizeText SetImageBytesCol (string value)
 Sets value for imageBytes column More...
 
RecognizeText SetImageUrl (string value)
 Sets value for imageUrl More...
 
RecognizeText SetImageUrlCol (string value)
 Sets value for imageUrl column More...
 
RecognizeText SetInitialPollingDelay (int value)
 Sets value for initialPollingDelay More...
 
RecognizeText SetMaxPollingRetries (int value)
 Sets value for maxPollingRetries More...
 
RecognizeText SetMode (string value)
 Sets value for mode More...
 
RecognizeText SetModeCol (string value)
 Sets value for mode column More...
 
RecognizeText SetOutputCol (string value)
 Sets value for outputCol More...
 
RecognizeText SetPollingDelay (int value)
 Sets value for pollingDelay More...
 
RecognizeText SetSubscriptionKey (string value)
 Sets value for subscriptionKey More...
 
RecognizeText SetSubscriptionKeyCol (string value)
 Sets value for subscriptionKey column More...
 
RecognizeText SetSuppressMaxRetriesExceededException (bool value)
 Sets value for suppressMaxRetriesExceededException More...
 
RecognizeText SetTimeout (double value)
 Sets value for timeout More...
 
RecognizeText SetUrl (string value)
 Sets value for url More...
 
int [] GetBackoffs ()
 Gets backoffs value More...
 
int GetConcurrency ()
 Gets concurrency value More...
 
double GetConcurrentTimeout ()
 Gets concurrentTimeout value More...
 
string GetErrorCol ()
 Gets errorCol value More...
 
byte [] GetImageBytes ()
 Gets imageBytes value More...
 
string GetImageUrl ()
 Gets imageUrl value More...
 
int GetInitialPollingDelay ()
 Gets initialPollingDelay value More...
 
int GetMaxPollingRetries ()
 Gets maxPollingRetries value More...
 
string GetMode ()
 Gets mode value More...
 
string GetOutputCol ()
 Gets outputCol value More...
 
int GetPollingDelay ()
 Gets pollingDelay value More...
 
string GetSubscriptionKey ()
 Gets subscriptionKey value More...
 
bool GetSuppressMaxRetriesExceededException ()
 Gets suppressMaxRetriesExceededException value More...
 
double GetTimeout ()
 Gets timeout 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< RecognizeTextRead ()
 Get the corresponding JavaMLReader instance. More...
 
RecognizeText SetLocation (string value)
 Sets value for location More...
 
RecognizeText SetLinkedService (string value)
 Sets value for linkedService More...
 

Static Public Member Functions

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

Detailed Description

RecognizeText implements RecognizeText

Constructor & Destructor Documentation

◆ RecognizeText() [1/2]

Synapse.ML.Cognitive.RecognizeText.RecognizeText ( )
inline

Creates a RecognizeText without any parameters.

◆ RecognizeText() [2/2]

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

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

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

Member Function Documentation

◆ GetBackoffs()

int [] Synapse.ML.Cognitive.RecognizeText.GetBackoffs ( )

Gets backoffs value

Returns
backoffs: array of backoffs to use in the handler

◆ GetConcurrency()

int Synapse.ML.Cognitive.RecognizeText.GetConcurrency ( )

Gets concurrency value

Returns
concurrency: max number of concurrent calls

◆ GetConcurrentTimeout()

double Synapse.ML.Cognitive.RecognizeText.GetConcurrentTimeout ( )

Gets concurrentTimeout value

Returns
concurrentTimeout: max number seconds to wait on futures if concurrency >= 1

◆ GetErrorCol()

string Synapse.ML.Cognitive.RecognizeText.GetErrorCol ( )

Gets errorCol value

Returns
errorCol: column to hold http errors

◆ GetImageBytes()

byte [] Synapse.ML.Cognitive.RecognizeText.GetImageBytes ( )

Gets imageBytes value

Returns
imageBytes: bytestream of the image to use

◆ GetImageUrl()

string Synapse.ML.Cognitive.RecognizeText.GetImageUrl ( )

Gets imageUrl value

Returns
imageUrl: the url of the image to use

◆ GetInitialPollingDelay()

int Synapse.ML.Cognitive.RecognizeText.GetInitialPollingDelay ( )

Gets initialPollingDelay value

Returns
initialPollingDelay: number of milliseconds to wait before first poll for result

◆ GetMaxPollingRetries()

int Synapse.ML.Cognitive.RecognizeText.GetMaxPollingRetries ( )

Gets maxPollingRetries value

Returns
maxPollingRetries: number of times to poll

◆ GetMode()

string Synapse.ML.Cognitive.RecognizeText.GetMode ( )

Gets mode value

Returns
mode: If this parameter is set to 'Printed', printed text recognition is performed. If 'Handwritten' is specified, handwriting recognition is performed

◆ GetOutputCol()

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

Gets outputCol value

Returns
outputCol: The name of the output column

◆ GetPollingDelay()

int Synapse.ML.Cognitive.RecognizeText.GetPollingDelay ( )

Gets pollingDelay value

Returns
pollingDelay: number of milliseconds to wait between polling

◆ GetSubscriptionKey()

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

Gets subscriptionKey value

Returns
subscriptionKey: the API key to use

◆ GetSuppressMaxRetriesExceededException()

bool Synapse.ML.Cognitive.RecognizeText.GetSuppressMaxRetriesExceededException ( )

Gets suppressMaxRetriesExceededException value

Returns
suppressMaxRetriesExceededException: set true to suppress the maxumimum retries exception and report in the error column

◆ GetTimeout()

double Synapse.ML.Cognitive.RecognizeText.GetTimeout ( )

Gets timeout value

Returns
timeout: number of seconds to wait before closing the connection

◆ GetUrl()

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

Gets url value

Returns
url: Url of the service

◆ Load()

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

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

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

◆ Read()

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

Get the corresponding JavaMLReader instance.

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

◆ Save()

void Synapse.ML.Cognitive.RecognizeText.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

◆ SetBackoffs()

RecognizeText Synapse.ML.Cognitive.RecognizeText.SetBackoffs ( int []  value)

Sets value for backoffs

Parameters
valuearray of backoffs to use in the handler
Returns
New RecognizeText object

◆ SetConcurrency()

RecognizeText Synapse.ML.Cognitive.RecognizeText.SetConcurrency ( int  value)

Sets value for concurrency

Parameters
valuemax number of concurrent calls
Returns
New RecognizeText object

◆ SetConcurrentTimeout()

RecognizeText Synapse.ML.Cognitive.RecognizeText.SetConcurrentTimeout ( double  value)

Sets value for concurrentTimeout

Parameters
valuemax number seconds to wait on futures if concurrency >= 1
Returns
New RecognizeText object

◆ SetErrorCol()

RecognizeText Synapse.ML.Cognitive.RecognizeText.SetErrorCol ( string  value)

Sets value for errorCol

Parameters
valuecolumn to hold http errors
Returns
New RecognizeText object

◆ SetImageBytes()

RecognizeText Synapse.ML.Cognitive.RecognizeText.SetImageBytes ( byte []  value)

Sets value for imageBytes

Parameters
valuebytestream of the image to use
Returns
New RecognizeText object

◆ SetImageBytesCol()

RecognizeText Synapse.ML.Cognitive.RecognizeText.SetImageBytesCol ( string  value)

Sets value for imageBytes column

Parameters
valuebytestream of the image to use
Returns
New RecognizeText object

◆ SetImageUrl()

RecognizeText Synapse.ML.Cognitive.RecognizeText.SetImageUrl ( string  value)

Sets value for imageUrl

Parameters
valuethe url of the image to use
Returns
New RecognizeText object

◆ SetImageUrlCol()

RecognizeText Synapse.ML.Cognitive.RecognizeText.SetImageUrlCol ( string  value)

Sets value for imageUrl column

Parameters
valuethe url of the image to use
Returns
New RecognizeText object

◆ SetInitialPollingDelay()

RecognizeText Synapse.ML.Cognitive.RecognizeText.SetInitialPollingDelay ( int  value)

Sets value for initialPollingDelay

Parameters
valuenumber of milliseconds to wait before first poll for result
Returns
New RecognizeText object

◆ SetLinkedService()

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

Sets value for linkedService

Parameters
valuelinkedService name
Returns
New RecognizeText object

◆ SetLocation()

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

Sets value for location

Parameters
valueLocation of the cognitive service
Returns
New RecognizeText object

◆ SetMaxPollingRetries()

RecognizeText Synapse.ML.Cognitive.RecognizeText.SetMaxPollingRetries ( int  value)

Sets value for maxPollingRetries

Parameters
valuenumber of times to poll
Returns
New RecognizeText object

◆ SetMode()

RecognizeText Synapse.ML.Cognitive.RecognizeText.SetMode ( string  value)

Sets value for mode

Parameters
valueIf this parameter is set to 'Printed', printed text recognition is performed. If 'Handwritten' is specified, handwriting recognition is performed
Returns
New RecognizeText object

◆ SetModeCol()

RecognizeText Synapse.ML.Cognitive.RecognizeText.SetModeCol ( string  value)

Sets value for mode column

Parameters
valueIf this parameter is set to 'Printed', printed text recognition is performed. If 'Handwritten' is specified, handwriting recognition is performed
Returns
New RecognizeText object

◆ SetOutputCol()

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

Sets value for outputCol

Parameters
valueThe name of the output column
Returns
New RecognizeText object

◆ SetPollingDelay()

RecognizeText Synapse.ML.Cognitive.RecognizeText.SetPollingDelay ( int  value)

Sets value for pollingDelay

Parameters
valuenumber of milliseconds to wait between polling
Returns
New RecognizeText object

◆ SetSubscriptionKey()

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

Sets value for subscriptionKey

Parameters
valuethe API key to use
Returns
New RecognizeText object

◆ SetSubscriptionKeyCol()

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

Sets value for subscriptionKey column

Parameters
valuethe API key to use
Returns
New RecognizeText object

◆ SetSuppressMaxRetriesExceededException()

RecognizeText Synapse.ML.Cognitive.RecognizeText.SetSuppressMaxRetriesExceededException ( bool  value)

Sets value for suppressMaxRetriesExceededException

Parameters
valueset true to suppress the maxumimum retries exception and report in the error column
Returns
New RecognizeText object

◆ SetTimeout()

RecognizeText Synapse.ML.Cognitive.RecognizeText.SetTimeout ( double  value)

Sets value for timeout

Parameters
valuenumber of seconds to wait before closing the connection
Returns
New RecognizeText object

◆ SetUrl()

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

Sets value for url

Parameters
valueUrl of the service
Returns
New RecognizeText object

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