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

LanguageDetector implements LanguageDetector More...

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

Public Member Functions

 LanguageDetector ()
 Creates a LanguageDetector without any parameters. More...
 
 LanguageDetector (string uid)
 Creates a LanguageDetector with a UID that is used to give the LanguageDetector a unique ID. More...
 
LanguageDetector SetConcurrency (int value)
 Sets value for concurrency More...
 
LanguageDetector SetConcurrentTimeout (double value)
 Sets value for concurrentTimeout More...
 
LanguageDetector SetErrorCol (string value)
 Sets value for errorCol More...
 
LanguageDetector SetHandler (object value)
 Sets value for handler More...
 
LanguageDetector SetLanguage (string[] value)
 Sets value for language More...
 
LanguageDetector SetLanguageCol (string value)
 Sets value for language column More...
 
LanguageDetector SetModelVersion (string value)
 Sets value for modelVersion More...
 
LanguageDetector SetModelVersionCol (string value)
 Sets value for modelVersion column More...
 
LanguageDetector SetOutputCol (string value)
 Sets value for outputCol More...
 
LanguageDetector SetShowStats (bool value)
 Sets value for showStats More...
 
LanguageDetector SetShowStatsCol (string value)
 Sets value for showStats column More...
 
LanguageDetector SetSubscriptionKey (string value)
 Sets value for subscriptionKey More...
 
LanguageDetector SetSubscriptionKeyCol (string value)
 Sets value for subscriptionKey column More...
 
LanguageDetector SetText (string[] value)
 Sets value for text More...
 
LanguageDetector SetTextCol (string value)
 Sets value for text column More...
 
LanguageDetector SetTimeout (double value)
 Sets value for timeout More...
 
LanguageDetector SetUrl (string value)
 Sets value for url More...
 
int GetConcurrency ()
 Gets concurrency value More...
 
double GetConcurrentTimeout ()
 Gets concurrentTimeout value More...
 
string GetErrorCol ()
 Gets errorCol value More...
 
object GetHandler ()
 Gets handler value More...
 
string [] GetLanguage ()
 Gets language value More...
 
string GetModelVersion ()
 Gets modelVersion value More...
 
string GetOutputCol ()
 Gets outputCol value More...
 
bool GetShowStats ()
 Gets showStats value More...
 
string GetSubscriptionKey ()
 Gets subscriptionKey value More...
 
string [] GetText ()
 Gets text 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< LanguageDetectorRead ()
 Get the corresponding JavaMLReader instance. More...
 
LanguageDetector SetLocation (string value)
 Sets value for location More...
 
LanguageDetector SetLinkedService (string value)
 Sets value for linkedService More...
 

Static Public Member Functions

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

Detailed Description

LanguageDetector implements LanguageDetector

Constructor & Destructor Documentation

◆ LanguageDetector() [1/2]

Synapse.ML.Cognitive.LanguageDetector.LanguageDetector ( )
inline

Creates a LanguageDetector without any parameters.

◆ LanguageDetector() [2/2]

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

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

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

Member Function Documentation

◆ GetConcurrency()

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

Gets concurrency value

Returns
concurrency: max number of concurrent calls

◆ GetConcurrentTimeout()

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

Gets concurrentTimeout value

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

◆ GetErrorCol()

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

Gets errorCol value

Returns
errorCol: column to hold http errors

◆ GetHandler()

object Synapse.ML.Cognitive.LanguageDetector.GetHandler ( )

Gets handler value

Returns
handler: Which strategy to use when handling requests

◆ GetLanguage()

string [] Synapse.ML.Cognitive.LanguageDetector.GetLanguage ( )

Gets language value

Returns
language: the language code of the text (optional for some services)

◆ GetModelVersion()

string Synapse.ML.Cognitive.LanguageDetector.GetModelVersion ( )

Gets modelVersion value

Returns
modelVersion: This value indicates which model will be used for scoring. If a model-version is not specified, the API should default to the latest, non-preview version.

◆ GetOutputCol()

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

Gets outputCol value

Returns
outputCol: The name of the output column

◆ GetShowStats()

bool Synapse.ML.Cognitive.LanguageDetector.GetShowStats ( )

Gets showStats value

Returns
showStats: if set to true, response will contain input and document level statistics.

◆ GetSubscriptionKey()

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

Gets subscriptionKey value

Returns
subscriptionKey: the API key to use

◆ GetText()

string [] Synapse.ML.Cognitive.LanguageDetector.GetText ( )

Gets text value

Returns
text: the text in the request body

◆ GetTimeout()

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

Gets timeout value

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

◆ GetUrl()

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

Gets url value

Returns
url: Url of the service

◆ Load()

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

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

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

◆ Read()

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

Get the corresponding JavaMLReader instance.

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

◆ Save()

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

◆ SetConcurrency()

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

Sets value for concurrency

Parameters
valuemax number of concurrent calls
Returns
New LanguageDetector object

◆ SetConcurrentTimeout()

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

Sets value for concurrentTimeout

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

◆ SetErrorCol()

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

Sets value for errorCol

Parameters
valuecolumn to hold http errors
Returns
New LanguageDetector object

◆ SetHandler()

LanguageDetector Synapse.ML.Cognitive.LanguageDetector.SetHandler ( object  value)

Sets value for handler

Parameters
valueWhich strategy to use when handling requests
Returns
New LanguageDetector object

◆ SetLanguage()

LanguageDetector Synapse.ML.Cognitive.LanguageDetector.SetLanguage ( string []  value)

Sets value for language

Parameters
valuethe language code of the text (optional for some services)
Returns
New LanguageDetector object

◆ SetLanguageCol()

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

Sets value for language column

Parameters
valuethe language code of the text (optional for some services)
Returns
New LanguageDetector object

◆ SetLinkedService()

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

Sets value for linkedService

Parameters
valuelinkedService name
Returns
New LanguageDetector object

◆ SetLocation()

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

Sets value for location

Parameters
valueLocation of the cognitive service
Returns
New LanguageDetector object

◆ SetModelVersion()

LanguageDetector Synapse.ML.Cognitive.LanguageDetector.SetModelVersion ( string  value)

Sets value for modelVersion

Parameters
valueThis value indicates which model will be used for scoring. If a model-version is not specified, the API should default to the latest, non-preview version.
Returns
New LanguageDetector object

◆ SetModelVersionCol()

LanguageDetector Synapse.ML.Cognitive.LanguageDetector.SetModelVersionCol ( string  value)

Sets value for modelVersion column

Parameters
valueThis value indicates which model will be used for scoring. If a model-version is not specified, the API should default to the latest, non-preview version.
Returns
New LanguageDetector object

◆ SetOutputCol()

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

Sets value for outputCol

Parameters
valueThe name of the output column
Returns
New LanguageDetector object

◆ SetShowStats()

LanguageDetector Synapse.ML.Cognitive.LanguageDetector.SetShowStats ( bool  value)

Sets value for showStats

Parameters
valueif set to true, response will contain input and document level statistics.
Returns
New LanguageDetector object

◆ SetShowStatsCol()

LanguageDetector Synapse.ML.Cognitive.LanguageDetector.SetShowStatsCol ( string  value)

Sets value for showStats column

Parameters
valueif set to true, response will contain input and document level statistics.
Returns
New LanguageDetector object

◆ SetSubscriptionKey()

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

Sets value for subscriptionKey

Parameters
valuethe API key to use
Returns
New LanguageDetector object

◆ SetSubscriptionKeyCol()

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

Sets value for subscriptionKey column

Parameters
valuethe API key to use
Returns
New LanguageDetector object

◆ SetText()

LanguageDetector Synapse.ML.Cognitive.LanguageDetector.SetText ( string []  value)

Sets value for text

Parameters
valuethe text in the request body
Returns
New LanguageDetector object

◆ SetTextCol()

LanguageDetector Synapse.ML.Cognitive.LanguageDetector.SetTextCol ( string  value)

Sets value for text column

Parameters
valuethe text in the request body
Returns
New LanguageDetector object

◆ SetTimeout()

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

Sets value for timeout

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

◆ SetUrl()

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

Sets value for url

Parameters
valueUrl of the service
Returns
New LanguageDetector object

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