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

EntityDetectorV2 implements EntityDetectorV2 More...

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

Public Member Functions

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

Static Public Member Functions

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

Detailed Description

EntityDetectorV2 implements EntityDetectorV2

Constructor & Destructor Documentation

◆ EntityDetectorV2() [1/2]

Synapse.ML.Cognitive.EntityDetectorV2.EntityDetectorV2 ( )
inline

Creates a EntityDetectorV2 without any parameters.

◆ EntityDetectorV2() [2/2]

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

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

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

Member Function Documentation

◆ GetConcurrency()

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

Gets concurrency value

Returns
concurrency: max number of concurrent calls

◆ GetConcurrentTimeout()

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

Gets concurrentTimeout value

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

◆ GetErrorCol()

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

Gets errorCol value

Returns
errorCol: column to hold http errors

◆ GetHandler()

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

Gets handler value

Returns
handler: Which strategy to use when handling requests

◆ GetLanguage()

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

Gets language value

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

◆ GetOutputCol()

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

Gets outputCol value

Returns
outputCol: The name of the output column

◆ GetSubscriptionKey()

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

Gets subscriptionKey value

Returns
subscriptionKey: the API key to use

◆ GetText()

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

Gets text value

Returns
text: the text in the request body

◆ GetTimeout()

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

Gets timeout value

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

◆ GetUrl()

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

Gets url value

Returns
url: Url of the service

◆ Load()

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

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

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

◆ Read()

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

Get the corresponding JavaMLReader instance.

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

◆ Save()

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

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

Sets value for concurrency

Parameters
valuemax number of concurrent calls
Returns
New EntityDetectorV2 object

◆ SetConcurrentTimeout()

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

Sets value for concurrentTimeout

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

◆ SetErrorCol()

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

Sets value for errorCol

Parameters
valuecolumn to hold http errors
Returns
New EntityDetectorV2 object

◆ SetHandler()

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

Sets value for handler

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

◆ SetLanguage()

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

Sets value for language

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

◆ SetLanguageCol()

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

Sets value for language column

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

◆ SetLinkedService()

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

Sets value for linkedService

Parameters
valuelinkedService name
Returns
New EntityDetectorV2 object

◆ SetLocation()

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

Sets value for location

Parameters
valueLocation of the cognitive service
Returns
New EntityDetectorV2 object

◆ SetOutputCol()

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

Sets value for outputCol

Parameters
valueThe name of the output column
Returns
New EntityDetectorV2 object

◆ SetSubscriptionKey()

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

Sets value for subscriptionKey

Parameters
valuethe API key to use
Returns
New EntityDetectorV2 object

◆ SetSubscriptionKeyCol()

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

Sets value for subscriptionKey column

Parameters
valuethe API key to use
Returns
New EntityDetectorV2 object

◆ SetText()

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

Sets value for text

Parameters
valuethe text in the request body
Returns
New EntityDetectorV2 object

◆ SetTextCol()

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

Sets value for text column

Parameters
valuethe text in the request body
Returns
New EntityDetectorV2 object

◆ SetTimeout()

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

Sets value for timeout

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

◆ SetUrl()

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

Sets value for url

Parameters
valueUrl of the service
Returns
New EntityDetectorV2 object

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