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

LanguageDetectorV2 implements LanguageDetectorV2 More...

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

Public Member Functions

 LanguageDetectorV2 ()
 Creates a LanguageDetectorV2 without any parameters. More...
 
 LanguageDetectorV2 (string uid)
 Creates a LanguageDetectorV2 with a UID that is used to give the LanguageDetectorV2 a unique ID. More...
 
LanguageDetectorV2 SetConcurrency (int value)
 Sets value for concurrency More...
 
LanguageDetectorV2 SetConcurrentTimeout (double value)
 Sets value for concurrentTimeout More...
 
LanguageDetectorV2 SetErrorCol (string value)
 Sets value for errorCol More...
 
LanguageDetectorV2 SetHandler (object value)
 Sets value for handler More...
 
LanguageDetectorV2 SetLanguage (string[] value)
 Sets value for language More...
 
LanguageDetectorV2 SetLanguageCol (string value)
 Sets value for language column More...
 
LanguageDetectorV2 SetOutputCol (string value)
 Sets value for outputCol More...
 
LanguageDetectorV2 SetSubscriptionKey (string value)
 Sets value for subscriptionKey More...
 
LanguageDetectorV2 SetSubscriptionKeyCol (string value)
 Sets value for subscriptionKey column More...
 
LanguageDetectorV2 SetText (string[] value)
 Sets value for text More...
 
LanguageDetectorV2 SetTextCol (string value)
 Sets value for text column More...
 
LanguageDetectorV2 SetTimeout (double value)
 Sets value for timeout More...
 
LanguageDetectorV2 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 GetOutputCol ()
 Gets outputCol 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< LanguageDetectorV2Read ()
 Get the corresponding JavaMLReader instance. More...
 
LanguageDetectorV2 SetLocation (string value)
 Sets value for location More...
 
LanguageDetectorV2 SetLinkedService (string value)
 Sets value for linkedService More...
 

Static Public Member Functions

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

Detailed Description

LanguageDetectorV2 implements LanguageDetectorV2

Constructor & Destructor Documentation

◆ LanguageDetectorV2() [1/2]

Synapse.ML.Cognitive.LanguageDetectorV2.LanguageDetectorV2 ( )
inline

Creates a LanguageDetectorV2 without any parameters.

◆ LanguageDetectorV2() [2/2]

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

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

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

Member Function Documentation

◆ GetConcurrency()

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

Gets concurrency value

Returns
concurrency: max number of concurrent calls

◆ GetConcurrentTimeout()

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

Gets concurrentTimeout value

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

◆ GetErrorCol()

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

Gets errorCol value

Returns
errorCol: column to hold http errors

◆ GetHandler()

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

Gets handler value

Returns
handler: Which strategy to use when handling requests

◆ GetLanguage()

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

Gets language value

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

◆ GetOutputCol()

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

Gets outputCol value

Returns
outputCol: The name of the output column

◆ GetSubscriptionKey()

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

Gets subscriptionKey value

Returns
subscriptionKey: the API key to use

◆ GetText()

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

Gets text value

Returns
text: the text in the request body

◆ GetTimeout()

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

Gets timeout value

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

◆ GetUrl()

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

Gets url value

Returns
url: Url of the service

◆ Load()

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

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

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

◆ Read()

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

Get the corresponding JavaMLReader instance.

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

◆ Save()

void Synapse.ML.Cognitive.LanguageDetectorV2.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()

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

Sets value for concurrency

Parameters
valuemax number of concurrent calls
Returns
New LanguageDetectorV2 object

◆ SetConcurrentTimeout()

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

Sets value for concurrentTimeout

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

◆ SetErrorCol()

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

Sets value for errorCol

Parameters
valuecolumn to hold http errors
Returns
New LanguageDetectorV2 object

◆ SetHandler()

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

Sets value for handler

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

◆ SetLanguage()

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

Sets value for language

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

◆ SetLanguageCol()

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

Sets value for language column

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

◆ SetLinkedService()

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

Sets value for linkedService

Parameters
valuelinkedService name
Returns
New LanguageDetectorV2 object

◆ SetLocation()

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

Sets value for location

Parameters
valueLocation of the cognitive service
Returns
New LanguageDetectorV2 object

◆ SetOutputCol()

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

Sets value for outputCol

Parameters
valueThe name of the output column
Returns
New LanguageDetectorV2 object

◆ SetSubscriptionKey()

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

Sets value for subscriptionKey

Parameters
valuethe API key to use
Returns
New LanguageDetectorV2 object

◆ SetSubscriptionKeyCol()

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

Sets value for subscriptionKey column

Parameters
valuethe API key to use
Returns
New LanguageDetectorV2 object

◆ SetText()

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

Sets value for text

Parameters
valuethe text in the request body
Returns
New LanguageDetectorV2 object

◆ SetTextCol()

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

Sets value for text column

Parameters
valuethe text in the request body
Returns
New LanguageDetectorV2 object

◆ SetTimeout()

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

Sets value for timeout

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

◆ SetUrl()

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

Sets value for url

Parameters
valueUrl of the service
Returns
New LanguageDetectorV2 object

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