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

EntityDetector implements EntityDetector More...

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

Public Member Functions

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

Static Public Member Functions

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

Detailed Description

EntityDetector implements EntityDetector

Constructor & Destructor Documentation

◆ EntityDetector() [1/2]

Synapse.ML.Cognitive.EntityDetector.EntityDetector ( )
inline

Creates a EntityDetector without any parameters.

◆ EntityDetector() [2/2]

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

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

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

Member Function Documentation

◆ GetConcurrency()

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

Gets concurrency value

Returns
concurrency: max number of concurrent calls

◆ GetConcurrentTimeout()

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

Gets concurrentTimeout value

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

◆ GetErrorCol()

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

Gets errorCol value

Returns
errorCol: column to hold http errors

◆ GetHandler()

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

Gets handler value

Returns
handler: Which strategy to use when handling requests

◆ GetLanguage()

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

Gets language value

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

◆ GetModelVersion()

string Synapse.ML.Cognitive.EntityDetector.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.EntityDetector.GetOutputCol ( )

Gets outputCol value

Returns
outputCol: The name of the output column

◆ GetShowStats()

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

Gets showStats value

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

◆ GetStringIndexType()

string Synapse.ML.Cognitive.EntityDetector.GetStringIndexType ( )

Gets stringIndexType value

Returns
stringIndexType: Specifies the method used to interpret string offsets. Defaults to Text Elements (Graphemes) according to Unicode v8.0.0. For additional information see https://aka.ms/text-analytics-offsets

◆ GetSubscriptionKey()

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

Gets subscriptionKey value

Returns
subscriptionKey: the API key to use

◆ GetText()

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

Gets text value

Returns
text: the text in the request body

◆ GetTimeout()

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

Gets timeout value

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

◆ GetUrl()

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

Gets url value

Returns
url: Url of the service

◆ Load()

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

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

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

◆ Read()

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

Get the corresponding JavaMLReader instance.

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

◆ Save()

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

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

Sets value for concurrency

Parameters
valuemax number of concurrent calls
Returns
New EntityDetector object

◆ SetConcurrentTimeout()

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

Sets value for concurrentTimeout

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

◆ SetErrorCol()

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

Sets value for errorCol

Parameters
valuecolumn to hold http errors
Returns
New EntityDetector object

◆ SetHandler()

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

Sets value for handler

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

◆ SetLanguage()

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

Sets value for language

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

◆ SetLanguageCol()

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

Sets value for language column

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

◆ SetLinkedService()

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

Sets value for linkedService

Parameters
valuelinkedService name
Returns
New EntityDetector object

◆ SetLocation()

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

Sets value for location

Parameters
valueLocation of the cognitive service
Returns
New EntityDetector object

◆ SetModelVersion()

EntityDetector Synapse.ML.Cognitive.EntityDetector.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 EntityDetector object

◆ SetModelVersionCol()

EntityDetector Synapse.ML.Cognitive.EntityDetector.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 EntityDetector object

◆ SetOutputCol()

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

Sets value for outputCol

Parameters
valueThe name of the output column
Returns
New EntityDetector object

◆ SetShowStats()

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

Sets value for showStats

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

◆ SetShowStatsCol()

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

Sets value for showStats column

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

◆ SetStringIndexType()

EntityDetector Synapse.ML.Cognitive.EntityDetector.SetStringIndexType ( string  value)

Sets value for stringIndexType

Parameters
valueSpecifies the method used to interpret string offsets. Defaults to Text Elements (Graphemes) according to Unicode v8.0.0. For additional information see https://aka.ms/text-analytics-offsets
Returns
New EntityDetector object

◆ SetStringIndexTypeCol()

EntityDetector Synapse.ML.Cognitive.EntityDetector.SetStringIndexTypeCol ( string  value)

Sets value for stringIndexType column

Parameters
valueSpecifies the method used to interpret string offsets. Defaults to Text Elements (Graphemes) according to Unicode v8.0.0. For additional information see https://aka.ms/text-analytics-offsets
Returns
New EntityDetector object

◆ SetSubscriptionKey()

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

Sets value for subscriptionKey

Parameters
valuethe API key to use
Returns
New EntityDetector object

◆ SetSubscriptionKeyCol()

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

Sets value for subscriptionKey column

Parameters
valuethe API key to use
Returns
New EntityDetector object

◆ SetText()

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

Sets value for text

Parameters
valuethe text in the request body
Returns
New EntityDetector object

◆ SetTextCol()

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

Sets value for text column

Parameters
valuethe text in the request body
Returns
New EntityDetector object

◆ SetTimeout()

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

Sets value for timeout

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

◆ SetUrl()

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

Sets value for url

Parameters
valueUrl of the service
Returns
New EntityDetector object

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