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

KeyPhraseExtractorV2 implements KeyPhraseExtractorV2 More...

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

Public Member Functions

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

Static Public Member Functions

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

Detailed Description

KeyPhraseExtractorV2 implements KeyPhraseExtractorV2

Constructor & Destructor Documentation

◆ KeyPhraseExtractorV2() [1/2]

Synapse.ML.Cognitive.KeyPhraseExtractorV2.KeyPhraseExtractorV2 ( )
inline

Creates a KeyPhraseExtractorV2 without any parameters.

◆ KeyPhraseExtractorV2() [2/2]

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

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

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

Member Function Documentation

◆ GetConcurrency()

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

Gets concurrency value

Returns
concurrency: max number of concurrent calls

◆ GetConcurrentTimeout()

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

Gets concurrentTimeout value

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

◆ GetErrorCol()

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

Gets errorCol value

Returns
errorCol: column to hold http errors

◆ GetHandler()

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

Gets handler value

Returns
handler: Which strategy to use when handling requests

◆ GetLanguage()

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

Gets language value

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

◆ GetOutputCol()

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

Gets outputCol value

Returns
outputCol: The name of the output column

◆ GetSubscriptionKey()

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

Gets subscriptionKey value

Returns
subscriptionKey: the API key to use

◆ GetText()

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

Gets text value

Returns
text: the text in the request body

◆ GetTimeout()

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

Gets timeout value

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

◆ GetUrl()

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

Gets url value

Returns
url: Url of the service

◆ Load()

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

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

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

◆ Read()

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

Get the corresponding JavaMLReader instance.

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

◆ Save()

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

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

Sets value for concurrency

Parameters
valuemax number of concurrent calls
Returns
New KeyPhraseExtractorV2 object

◆ SetConcurrentTimeout()

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

Sets value for concurrentTimeout

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

◆ SetErrorCol()

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

Sets value for errorCol

Parameters
valuecolumn to hold http errors
Returns
New KeyPhraseExtractorV2 object

◆ SetHandler()

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

Sets value for handler

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

◆ SetLanguage()

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

Sets value for language

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

◆ SetLanguageCol()

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

Sets value for language column

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

◆ SetLinkedService()

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

Sets value for linkedService

Parameters
valuelinkedService name
Returns
New KeyPhraseExtractorV2 object

◆ SetLocation()

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

Sets value for location

Parameters
valueLocation of the cognitive service
Returns
New KeyPhraseExtractorV2 object

◆ SetOutputCol()

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

Sets value for outputCol

Parameters
valueThe name of the output column
Returns
New KeyPhraseExtractorV2 object

◆ SetSubscriptionKey()

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

Sets value for subscriptionKey

Parameters
valuethe API key to use
Returns
New KeyPhraseExtractorV2 object

◆ SetSubscriptionKeyCol()

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

Sets value for subscriptionKey column

Parameters
valuethe API key to use
Returns
New KeyPhraseExtractorV2 object

◆ SetText()

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

Sets value for text

Parameters
valuethe text in the request body
Returns
New KeyPhraseExtractorV2 object

◆ SetTextCol()

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

Sets value for text column

Parameters
valuethe text in the request body
Returns
New KeyPhraseExtractorV2 object

◆ SetTimeout()

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

Sets value for timeout

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

◆ SetUrl()

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

Sets value for url

Parameters
valueUrl of the service
Returns
New KeyPhraseExtractorV2 object

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