|
Synapseml
0.10.0
|
Translate implements Translate More...


Public Member Functions | |
| Translate () | |
| Creates a Translate without any parameters. More... | |
| Translate (string uid) | |
| Creates a Translate with a UID that is used to give the Translate a unique ID. More... | |
| Translate | SetAllowFallback (bool value) |
| Sets value for allowFallback More... | |
| Translate | SetAllowFallbackCol (string value) |
| Sets value for allowFallback column More... | |
| Translate | SetCategory (string value) |
| Sets value for category More... | |
| Translate | SetCategoryCol (string value) |
| Sets value for category column More... | |
| Translate | SetConcurrency (int value) |
| Sets value for concurrency More... | |
| Translate | SetConcurrentTimeout (double value) |
| Sets value for concurrentTimeout More... | |
| Translate | SetErrorCol (string value) |
| Sets value for errorCol More... | |
| Translate | SetFromLanguage (string value) |
| Sets value for fromLanguage More... | |
| Translate | SetFromLanguageCol (string value) |
| Sets value for fromLanguage column More... | |
| Translate | SetFromScript (string value) |
| Sets value for fromScript More... | |
| Translate | SetFromScriptCol (string value) |
| Sets value for fromScript column More... | |
| Translate | SetHandler (object value) |
| Sets value for handler More... | |
| Translate | SetIncludeAlignment (bool value) |
| Sets value for includeAlignment More... | |
| Translate | SetIncludeAlignmentCol (string value) |
| Sets value for includeAlignment column More... | |
| Translate | SetIncludeSentenceLength (bool value) |
| Sets value for includeSentenceLength More... | |
| Translate | SetIncludeSentenceLengthCol (string value) |
| Sets value for includeSentenceLength column More... | |
| Translate | SetOutputCol (string value) |
| Sets value for outputCol More... | |
| Translate | SetProfanityAction (string value) |
| Sets value for profanityAction More... | |
| Translate | SetProfanityActionCol (string value) |
| Sets value for profanityAction column More... | |
| Translate | SetProfanityMarker (string value) |
| Sets value for profanityMarker More... | |
| Translate | SetProfanityMarkerCol (string value) |
| Sets value for profanityMarker column More... | |
| Translate | SetSubscriptionKey (string value) |
| Sets value for subscriptionKey More... | |
| Translate | SetSubscriptionKeyCol (string value) |
| Sets value for subscriptionKey column More... | |
| Translate | SetSubscriptionRegion (string value) |
| Sets value for subscriptionRegion More... | |
| Translate | SetSubscriptionRegionCol (string value) |
| Sets value for subscriptionRegion column More... | |
| Translate | SetSuggestedFrom (string value) |
| Sets value for suggestedFrom More... | |
| Translate | SetSuggestedFromCol (string value) |
| Sets value for suggestedFrom column More... | |
| Translate | SetText (string[] value) |
| Sets value for text More... | |
| Translate | SetTextCol (string value) |
| Sets value for text column More... | |
| Translate | SetTextType (string value) |
| Sets value for textType More... | |
| Translate | SetTextTypeCol (string value) |
| Sets value for textType column More... | |
| Translate | SetTimeout (double value) |
| Sets value for timeout More... | |
| Translate | SetToLanguage (string[] value) |
| Sets value for toLanguage More... | |
| Translate | SetToLanguageCol (string value) |
| Sets value for toLanguage column More... | |
| Translate | SetToScript (string value) |
| Sets value for toScript More... | |
| Translate | SetToScriptCol (string value) |
| Sets value for toScript column More... | |
| Translate | SetUrl (string value) |
| Sets value for url More... | |
| bool | GetAllowFallback () |
| Gets allowFallback value More... | |
| string | GetCategory () |
| Gets category value More... | |
| int | GetConcurrency () |
| Gets concurrency value More... | |
| double | GetConcurrentTimeout () |
| Gets concurrentTimeout value More... | |
| string | GetErrorCol () |
| Gets errorCol value More... | |
| string | GetFromLanguage () |
| Gets fromLanguage value More... | |
| string | GetFromScript () |
| Gets fromScript value More... | |
| object | GetHandler () |
| Gets handler value More... | |
| bool | GetIncludeAlignment () |
| Gets includeAlignment value More... | |
| bool | GetIncludeSentenceLength () |
| Gets includeSentenceLength value More... | |
| string | GetOutputCol () |
| Gets outputCol value More... | |
| string | GetProfanityAction () |
| Gets profanityAction value More... | |
| string | GetProfanityMarker () |
| Gets profanityMarker value More... | |
| string | GetSubscriptionKey () |
| Gets subscriptionKey value More... | |
| string | GetSubscriptionRegion () |
| Gets subscriptionRegion value More... | |
| string | GetSuggestedFrom () |
| Gets suggestedFrom value More... | |
| string [] | GetText () |
| Gets text value More... | |
| string | GetTextType () |
| Gets textType value More... | |
| double | GetTimeout () |
| Gets timeout value More... | |
| string [] | GetToLanguage () |
| Gets toLanguage value More... | |
| string | GetToScript () |
| Gets toScript 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< Translate > | Read () |
| Get the corresponding JavaMLReader instance. More... | |
| Translate | SetLocation (string value) |
| Sets value for location More... | |
| Translate | SetLinkedService (string value) |
| Sets value for linkedService More... | |
Static Public Member Functions | |
| static Translate | Load (string path) |
| Loads the Translate that was previously saved using Save(string). More... | |
|
inline |
Creates a Translate without any parameters.
|
inline |
| bool Synapse.ML.Cognitive.Translate.GetAllowFallback | ( | ) |
Gets allowFallback value
| string Synapse.ML.Cognitive.Translate.GetCategory | ( | ) |
Gets category value
| int Synapse.ML.Cognitive.Translate.GetConcurrency | ( | ) |
Gets concurrency value
| double Synapse.ML.Cognitive.Translate.GetConcurrentTimeout | ( | ) |
Gets concurrentTimeout value
| string Synapse.ML.Cognitive.Translate.GetErrorCol | ( | ) |
Gets errorCol value
| string Synapse.ML.Cognitive.Translate.GetFromLanguage | ( | ) |
Gets fromLanguage value
| string Synapse.ML.Cognitive.Translate.GetFromScript | ( | ) |
Gets fromScript value
| object Synapse.ML.Cognitive.Translate.GetHandler | ( | ) |
Gets handler value
| bool Synapse.ML.Cognitive.Translate.GetIncludeAlignment | ( | ) |
Gets includeAlignment value
| bool Synapse.ML.Cognitive.Translate.GetIncludeSentenceLength | ( | ) |
Gets includeSentenceLength value
| string Synapse.ML.Cognitive.Translate.GetOutputCol | ( | ) |
Gets outputCol value
| string Synapse.ML.Cognitive.Translate.GetProfanityAction | ( | ) |
Gets profanityAction value
| string Synapse.ML.Cognitive.Translate.GetProfanityMarker | ( | ) |
Gets profanityMarker value
| string Synapse.ML.Cognitive.Translate.GetSubscriptionKey | ( | ) |
Gets subscriptionKey value
| string Synapse.ML.Cognitive.Translate.GetSubscriptionRegion | ( | ) |
Gets subscriptionRegion value
| string Synapse.ML.Cognitive.Translate.GetSuggestedFrom | ( | ) |
Gets suggestedFrom value
| string [] Synapse.ML.Cognitive.Translate.GetText | ( | ) |
Gets text value
| string Synapse.ML.Cognitive.Translate.GetTextType | ( | ) |
Gets textType value
| double Synapse.ML.Cognitive.Translate.GetTimeout | ( | ) |
Gets timeout value
| string [] Synapse.ML.Cognitive.Translate.GetToLanguage | ( | ) |
Gets toLanguage value
| string Synapse.ML.Cognitive.Translate.GetToScript | ( | ) |
Gets toScript value
| string Synapse.ML.Cognitive.Translate.GetUrl | ( | ) |
Gets url value
|
static |
Loads the Translate that was previously saved using Save(string).
| path | The path the previous Translate was saved to |
| JavaMLReader<Translate> Synapse.ML.Cognitive.Translate.Read | ( | ) |
Get the corresponding JavaMLReader instance.
| void Synapse.ML.Cognitive.Translate.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 |
| Translate Synapse.ML.Cognitive.Translate.SetAllowFallback | ( | bool | value | ) |
Sets value for allowFallback
| value | Specifies that the service is allowed to fall back to a general system when a custom system does not exist. |
| Translate Synapse.ML.Cognitive.Translate.SetAllowFallbackCol | ( | string | value | ) |
Sets value for allowFallback column
| value | Specifies that the service is allowed to fall back to a general system when a custom system does not exist. |
| Translate Synapse.ML.Cognitive.Translate.SetCategory | ( | string | value | ) |
Sets value for category
| value | A string specifying the category (domain) of the translation. This parameter is used to get translations from a customized system built with Custom Translator. Add the Category ID from your Custom Translator project details to this parameter to use your deployed customized system. Default value is: general. |
| Translate Synapse.ML.Cognitive.Translate.SetCategoryCol | ( | string | value | ) |
Sets value for category column
| value | A string specifying the category (domain) of the translation. This parameter is used to get translations from a customized system built with Custom Translator. Add the Category ID from your Custom Translator project details to this parameter to use your deployed customized system. Default value is: general. |
| Translate Synapse.ML.Cognitive.Translate.SetConcurrency | ( | int | value | ) |
Sets value for concurrency
| value | max number of concurrent calls |
| Translate Synapse.ML.Cognitive.Translate.SetConcurrentTimeout | ( | double | value | ) |
Sets value for concurrentTimeout
| value | max number seconds to wait on futures if concurrency >= 1 |
| Translate Synapse.ML.Cognitive.Translate.SetErrorCol | ( | string | value | ) |
| Translate Synapse.ML.Cognitive.Translate.SetFromLanguage | ( | string | value | ) |
Sets value for fromLanguage
| value | Specifies the language of the input text. Find which languages are available to translate from by looking up supported languages using the translation scope. If the from parameter is not specified, automatic language detection is applied to determine the source language. You must use the from parameter rather than autodetection when using the dynamic dictionary feature. |
| Translate Synapse.ML.Cognitive.Translate.SetFromLanguageCol | ( | string | value | ) |
Sets value for fromLanguage column
| value | Specifies the language of the input text. Find which languages are available to translate from by looking up supported languages using the translation scope. If the from parameter is not specified, automatic language detection is applied to determine the source language. You must use the from parameter rather than autodetection when using the dynamic dictionary feature. |
| Translate Synapse.ML.Cognitive.Translate.SetFromScript | ( | string | value | ) |
Sets value for fromScript
| value | Specifies the script of the input text. |
| Translate Synapse.ML.Cognitive.Translate.SetFromScriptCol | ( | string | value | ) |
Sets value for fromScript column
| value | Specifies the script of the input text. |
| Translate Synapse.ML.Cognitive.Translate.SetHandler | ( | object | value | ) |
Sets value for handler
| value | Which strategy to use when handling requests |
| Translate Synapse.ML.Cognitive.Translate.SetIncludeAlignment | ( | bool | value | ) |
Sets value for includeAlignment
| value | Specifies whether to include alignment projection from source text to translated text. |
| Translate Synapse.ML.Cognitive.Translate.SetIncludeAlignmentCol | ( | string | value | ) |
Sets value for includeAlignment column
| value | Specifies whether to include alignment projection from source text to translated text. |
| Translate Synapse.ML.Cognitive.Translate.SetIncludeSentenceLength | ( | bool | value | ) |
Sets value for includeSentenceLength
| value | Specifies whether to include sentence boundaries for the input text and the translated text. |
| Translate Synapse.ML.Cognitive.Translate.SetIncludeSentenceLengthCol | ( | string | value | ) |
Sets value for includeSentenceLength column
| value | Specifies whether to include sentence boundaries for the input text and the translated text. |
| Translate Synapse.ML.Cognitive.Translate.SetLinkedService | ( | string | value | ) |
| Translate Synapse.ML.Cognitive.Translate.SetLocation | ( | string | value | ) |
Sets value for location
| value | Location of the cognitive service |
| Translate Synapse.ML.Cognitive.Translate.SetOutputCol | ( | string | value | ) |
| Translate Synapse.ML.Cognitive.Translate.SetProfanityAction | ( | string | value | ) |
Sets value for profanityAction
| value | Specifies how profanities should be treated in translations. Possible values are: NoAction (default), Marked or Deleted. |
| Translate Synapse.ML.Cognitive.Translate.SetProfanityActionCol | ( | string | value | ) |
Sets value for profanityAction column
| value | Specifies how profanities should be treated in translations. Possible values are: NoAction (default), Marked or Deleted. |
| Translate Synapse.ML.Cognitive.Translate.SetProfanityMarker | ( | string | value | ) |
Sets value for profanityMarker
| value | Specifies how profanities should be marked in translations. Possible values are: Asterisk (default) or Tag. |
| Translate Synapse.ML.Cognitive.Translate.SetProfanityMarkerCol | ( | string | value | ) |
Sets value for profanityMarker column
| value | Specifies how profanities should be marked in translations. Possible values are: Asterisk (default) or Tag. |
| Translate Synapse.ML.Cognitive.Translate.SetSubscriptionKey | ( | string | value | ) |
| Translate Synapse.ML.Cognitive.Translate.SetSubscriptionKeyCol | ( | string | value | ) |
Sets value for subscriptionKey column
| value | the API key to use |
| Translate Synapse.ML.Cognitive.Translate.SetSubscriptionRegion | ( | string | value | ) |
| Translate Synapse.ML.Cognitive.Translate.SetSubscriptionRegionCol | ( | string | value | ) |
Sets value for subscriptionRegion column
| value | the API region to use |
| Translate Synapse.ML.Cognitive.Translate.SetSuggestedFrom | ( | string | value | ) |
Sets value for suggestedFrom
| value | Specifies a fallback language if the language of the input text can't be identified. Language autodetection is applied when the from parameter is omitted. If detection fails, the suggestedFrom language will be assumed. |
| Translate Synapse.ML.Cognitive.Translate.SetSuggestedFromCol | ( | string | value | ) |
Sets value for suggestedFrom column
| value | Specifies a fallback language if the language of the input text can't be identified. Language autodetection is applied when the from parameter is omitted. If detection fails, the suggestedFrom language will be assumed. |
| Translate Synapse.ML.Cognitive.Translate.SetText | ( | string [] | value | ) |
| Translate Synapse.ML.Cognitive.Translate.SetTextCol | ( | string | value | ) |
| Translate Synapse.ML.Cognitive.Translate.SetTextType | ( | string | value | ) |
Sets value for textType
| value | Defines whether the text being translated is plain text or HTML text. Any HTML needs to be a well-formed, complete element. Possible values are: plain (default) or html. |
| Translate Synapse.ML.Cognitive.Translate.SetTextTypeCol | ( | string | value | ) |
Sets value for textType column
| value | Defines whether the text being translated is plain text or HTML text. Any HTML needs to be a well-formed, complete element. Possible values are: plain (default) or html. |
| Translate Synapse.ML.Cognitive.Translate.SetTimeout | ( | double | value | ) |
Sets value for timeout
| value | number of seconds to wait before closing the connection |
| Translate Synapse.ML.Cognitive.Translate.SetToLanguage | ( | string [] | value | ) |
Sets value for toLanguage
| value | Specifies the language of the output text. The target language must be one of the supported languages included in the translation scope. For example, use to=de to translate to German. It's possible to translate to multiple languages simultaneously by repeating the parameter in the query string. For example, use to=de and to=it to translate to German and Italian. |
| Translate Synapse.ML.Cognitive.Translate.SetToLanguageCol | ( | string | value | ) |
Sets value for toLanguage column
| value | Specifies the language of the output text. The target language must be one of the supported languages included in the translation scope. For example, use to=de to translate to German. It's possible to translate to multiple languages simultaneously by repeating the parameter in the query string. For example, use to=de and to=it to translate to German and Italian. |
| Translate Synapse.ML.Cognitive.Translate.SetToScript | ( | string | value | ) |
Sets value for toScript
| value | Specifies the script of the translated text. |
| Translate Synapse.ML.Cognitive.Translate.SetToScriptCol | ( | string | value | ) |
Sets value for toScript column
| value | Specifies the script of the translated text. |
| Translate Synapse.ML.Cognitive.Translate.SetUrl | ( | string | value | ) |
1.8.13