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

TextSentimentV2 implements TextSentimentV2 More...

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

Public Member Functions

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

Static Public Member Functions

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

Detailed Description

TextSentimentV2 implements TextSentimentV2

Constructor & Destructor Documentation

◆ TextSentimentV2() [1/2]

Synapse.ML.Cognitive.TextSentimentV2.TextSentimentV2 ( )
inline

Creates a TextSentimentV2 without any parameters.

◆ TextSentimentV2() [2/2]

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

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

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

Member Function Documentation

◆ GetConcurrency()

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

Gets concurrency value

Returns
concurrency: max number of concurrent calls

◆ GetConcurrentTimeout()

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

Gets concurrentTimeout value

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

◆ GetErrorCol()

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

Gets errorCol value

Returns
errorCol: column to hold http errors

◆ GetHandler()

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

Gets handler value

Returns
handler: Which strategy to use when handling requests

◆ GetLanguage()

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

Gets language value

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

◆ GetOutputCol()

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

Gets outputCol value

Returns
outputCol: The name of the output column

◆ GetSubscriptionKey()

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

Gets subscriptionKey value

Returns
subscriptionKey: the API key to use

◆ GetText()

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

Gets text value

Returns
text: the text in the request body

◆ GetTimeout()

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

Gets timeout value

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

◆ GetUrl()

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

Gets url value

Returns
url: Url of the service

◆ Load()

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

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

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

◆ Read()

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

Get the corresponding JavaMLReader instance.

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

◆ Save()

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

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

Sets value for concurrency

Parameters
valuemax number of concurrent calls
Returns
New TextSentimentV2 object

◆ SetConcurrentTimeout()

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

Sets value for concurrentTimeout

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

◆ SetErrorCol()

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

Sets value for errorCol

Parameters
valuecolumn to hold http errors
Returns
New TextSentimentV2 object

◆ SetHandler()

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

Sets value for handler

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

◆ SetLanguage()

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

Sets value for language

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

◆ SetLanguageCol()

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

Sets value for language column

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

◆ SetLinkedService()

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

Sets value for linkedService

Parameters
valuelinkedService name
Returns
New TextSentimentV2 object

◆ SetLocation()

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

Sets value for location

Parameters
valueLocation of the cognitive service
Returns
New TextSentimentV2 object

◆ SetOutputCol()

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

Sets value for outputCol

Parameters
valueThe name of the output column
Returns
New TextSentimentV2 object

◆ SetSubscriptionKey()

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

Sets value for subscriptionKey

Parameters
valuethe API key to use
Returns
New TextSentimentV2 object

◆ SetSubscriptionKeyCol()

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

Sets value for subscriptionKey column

Parameters
valuethe API key to use
Returns
New TextSentimentV2 object

◆ SetText()

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

Sets value for text

Parameters
valuethe text in the request body
Returns
New TextSentimentV2 object

◆ SetTextCol()

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

Sets value for text column

Parameters
valuethe text in the request body
Returns
New TextSentimentV2 object

◆ SetTimeout()

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

Sets value for timeout

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

◆ SetUrl()

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

Sets value for url

Parameters
valueUrl of the service
Returns
New TextSentimentV2 object

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