Synapseml
0.10.0
|
TextSentiment implements TextSentiment More...
Public Member Functions | |
TextSentiment () | |
Creates a TextSentiment without any parameters. More... | |
TextSentiment (string uid) | |
Creates a TextSentiment with a UID that is used to give the TextSentiment a unique ID. More... | |
TextSentiment | SetConcurrency (int value) |
Sets value for concurrency More... | |
TextSentiment | SetConcurrentTimeout (double value) |
Sets value for concurrentTimeout More... | |
TextSentiment | SetErrorCol (string value) |
Sets value for errorCol More... | |
TextSentiment | SetHandler (object value) |
Sets value for handler More... | |
TextSentiment | SetLanguage (string[] value) |
Sets value for language More... | |
TextSentiment | SetLanguageCol (string value) |
Sets value for language column More... | |
TextSentiment | SetModelVersion (string value) |
Sets value for modelVersion More... | |
TextSentiment | SetModelVersionCol (string value) |
Sets value for modelVersion column More... | |
TextSentiment | SetOpinionMining (bool value) |
Sets value for opinionMining More... | |
TextSentiment | SetOpinionMiningCol (string value) |
Sets value for opinionMining column More... | |
TextSentiment | SetOutputCol (string value) |
Sets value for outputCol More... | |
TextSentiment | SetShowStats (bool value) |
Sets value for showStats More... | |
TextSentiment | SetShowStatsCol (string value) |
Sets value for showStats column More... | |
TextSentiment | SetStringIndexType (string value) |
Sets value for stringIndexType More... | |
TextSentiment | SetStringIndexTypeCol (string value) |
Sets value for stringIndexType column More... | |
TextSentiment | SetSubscriptionKey (string value) |
Sets value for subscriptionKey More... | |
TextSentiment | SetSubscriptionKeyCol (string value) |
Sets value for subscriptionKey column More... | |
TextSentiment | SetText (string[] value) |
Sets value for text More... | |
TextSentiment | SetTextCol (string value) |
Sets value for text column More... | |
TextSentiment | SetTimeout (double value) |
Sets value for timeout More... | |
TextSentiment | 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... | |
bool | GetOpinionMining () |
Gets opinionMining 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 () |
| |
JavaMLReader< TextSentiment > | Read () |
Get the corresponding JavaMLReader instance. More... | |
TextSentiment | SetLocation (string value) |
Sets value for location More... | |
TextSentiment | SetLinkedService (string value) |
Sets value for linkedService More... | |
Static Public Member Functions | |
static TextSentiment | Load (string path) |
Loads the TextSentiment that was previously saved using Save(string). More... | |
TextSentiment implements TextSentiment
|
inline |
Creates a TextSentiment without any parameters.
|
inline |
Creates a TextSentiment with a UID that is used to give the TextSentiment a unique ID.
uid | An immutable unique ID for the object and its derivatives. |
int Synapse.ML.Cognitive.TextSentiment.GetConcurrency | ( | ) |
Gets concurrency value
double Synapse.ML.Cognitive.TextSentiment.GetConcurrentTimeout | ( | ) |
Gets concurrentTimeout value
string Synapse.ML.Cognitive.TextSentiment.GetErrorCol | ( | ) |
Gets errorCol value
object Synapse.ML.Cognitive.TextSentiment.GetHandler | ( | ) |
Gets handler value
string [] Synapse.ML.Cognitive.TextSentiment.GetLanguage | ( | ) |
Gets language value
string Synapse.ML.Cognitive.TextSentiment.GetModelVersion | ( | ) |
Gets modelVersion value
bool Synapse.ML.Cognitive.TextSentiment.GetOpinionMining | ( | ) |
Gets opinionMining value
string Synapse.ML.Cognitive.TextSentiment.GetOutputCol | ( | ) |
Gets outputCol value
bool Synapse.ML.Cognitive.TextSentiment.GetShowStats | ( | ) |
Gets showStats value
string Synapse.ML.Cognitive.TextSentiment.GetStringIndexType | ( | ) |
Gets stringIndexType value
string Synapse.ML.Cognitive.TextSentiment.GetSubscriptionKey | ( | ) |
Gets subscriptionKey value
string [] Synapse.ML.Cognitive.TextSentiment.GetText | ( | ) |
Gets text value
double Synapse.ML.Cognitive.TextSentiment.GetTimeout | ( | ) |
Gets timeout value
string Synapse.ML.Cognitive.TextSentiment.GetUrl | ( | ) |
Gets url value
|
static |
Loads the TextSentiment that was previously saved using Save(string).
path | The path the previous TextSentiment was saved to |
JavaMLReader<TextSentiment> Synapse.ML.Cognitive.TextSentiment.Read | ( | ) |
Get the corresponding JavaMLReader instance.
void Synapse.ML.Cognitive.TextSentiment.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.
path | The path to save the object to |
TextSentiment Synapse.ML.Cognitive.TextSentiment.SetConcurrency | ( | int | value | ) |
Sets value for concurrency
value | max number of concurrent calls |
TextSentiment Synapse.ML.Cognitive.TextSentiment.SetConcurrentTimeout | ( | double | value | ) |
Sets value for concurrentTimeout
value | max number seconds to wait on futures if concurrency >= 1 |
TextSentiment Synapse.ML.Cognitive.TextSentiment.SetErrorCol | ( | string | value | ) |
TextSentiment Synapse.ML.Cognitive.TextSentiment.SetHandler | ( | object | value | ) |
Sets value for handler
value | Which strategy to use when handling requests |
TextSentiment Synapse.ML.Cognitive.TextSentiment.SetLanguage | ( | string [] | value | ) |
Sets value for language
value | the language code of the text (optional for some services) |
TextSentiment Synapse.ML.Cognitive.TextSentiment.SetLanguageCol | ( | string | value | ) |
Sets value for language column
value | the language code of the text (optional for some services) |
TextSentiment Synapse.ML.Cognitive.TextSentiment.SetLinkedService | ( | string | value | ) |
TextSentiment Synapse.ML.Cognitive.TextSentiment.SetLocation | ( | string | value | ) |
Sets value for location
value | Location of the cognitive service |
TextSentiment Synapse.ML.Cognitive.TextSentiment.SetModelVersion | ( | string | value | ) |
Sets value for modelVersion
value | 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. |
TextSentiment Synapse.ML.Cognitive.TextSentiment.SetModelVersionCol | ( | string | value | ) |
Sets value for modelVersion column
value | 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. |
TextSentiment Synapse.ML.Cognitive.TextSentiment.SetOpinionMining | ( | bool | value | ) |
Sets value for opinionMining
value | if set to true, response will contain not only sentiment prediction but also opinion mining (aspect-based sentiment analysis) results. |
TextSentiment Synapse.ML.Cognitive.TextSentiment.SetOpinionMiningCol | ( | string | value | ) |
Sets value for opinionMining column
value | if set to true, response will contain not only sentiment prediction but also opinion mining (aspect-based sentiment analysis) results. |
TextSentiment Synapse.ML.Cognitive.TextSentiment.SetOutputCol | ( | string | value | ) |
Sets value for outputCol
value | The name of the output column |
TextSentiment Synapse.ML.Cognitive.TextSentiment.SetShowStats | ( | bool | value | ) |
Sets value for showStats
value | if set to true, response will contain input and document level statistics. |
TextSentiment Synapse.ML.Cognitive.TextSentiment.SetShowStatsCol | ( | string | value | ) |
Sets value for showStats column
value | if set to true, response will contain input and document level statistics. |
TextSentiment Synapse.ML.Cognitive.TextSentiment.SetStringIndexType | ( | string | value | ) |
Sets value for stringIndexType
value | 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 |
TextSentiment Synapse.ML.Cognitive.TextSentiment.SetStringIndexTypeCol | ( | string | value | ) |
Sets value for stringIndexType column
value | 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 |
TextSentiment Synapse.ML.Cognitive.TextSentiment.SetSubscriptionKey | ( | string | value | ) |
TextSentiment Synapse.ML.Cognitive.TextSentiment.SetSubscriptionKeyCol | ( | string | value | ) |
Sets value for subscriptionKey column
value | the API key to use |
TextSentiment Synapse.ML.Cognitive.TextSentiment.SetText | ( | string [] | value | ) |
TextSentiment Synapse.ML.Cognitive.TextSentiment.SetTextCol | ( | string | value | ) |
Sets value for text column
value | the text in the request body |
TextSentiment Synapse.ML.Cognitive.TextSentiment.SetTimeout | ( | double | value | ) |
Sets value for timeout
value | number of seconds to wait before closing the connection |
TextSentiment Synapse.ML.Cognitive.TextSentiment.SetUrl | ( | string | value | ) |