Synapseml
0.10.0
|
DocumentTranslator implements DocumentTranslator More...
Public Member Functions | |
DocumentTranslator () | |
Creates a DocumentTranslator without any parameters. More... | |
DocumentTranslator (string uid) | |
Creates a DocumentTranslator with a UID that is used to give the DocumentTranslator a unique ID. More... | |
DocumentTranslator | SetBackoffs (int[] value) |
Sets value for backoffs More... | |
DocumentTranslator | SetConcurrency (int value) |
Sets value for concurrency More... | |
DocumentTranslator | SetConcurrentTimeout (double value) |
Sets value for concurrentTimeout More... | |
DocumentTranslator | SetErrorCol (string value) |
Sets value for errorCol More... | |
DocumentTranslator | SetFilterPrefix (string value) |
Sets value for filterPrefix More... | |
DocumentTranslator | SetFilterPrefixCol (string value) |
Sets value for filterPrefix column More... | |
DocumentTranslator | SetFilterSuffix (string value) |
Sets value for filterSuffix More... | |
DocumentTranslator | SetFilterSuffixCol (string value) |
Sets value for filterSuffix column More... | |
DocumentTranslator | SetInitialPollingDelay (int value) |
Sets value for initialPollingDelay More... | |
DocumentTranslator | SetMaxPollingRetries (int value) |
Sets value for maxPollingRetries More... | |
DocumentTranslator | SetOutputCol (string value) |
Sets value for outputCol More... | |
DocumentTranslator | SetPollingDelay (int value) |
Sets value for pollingDelay More... | |
DocumentTranslator | SetServiceName (string value) |
Sets value for serviceName More... | |
DocumentTranslator | SetSourceLanguage (string value) |
Sets value for sourceLanguage More... | |
DocumentTranslator | SetSourceLanguageCol (string value) |
Sets value for sourceLanguage column More... | |
DocumentTranslator | SetSourceStorageSource (string value) |
Sets value for sourceStorageSource More... | |
DocumentTranslator | SetSourceStorageSourceCol (string value) |
Sets value for sourceStorageSource column More... | |
DocumentTranslator | SetSourceUrl (string value) |
Sets value for sourceUrl More... | |
DocumentTranslator | SetSourceUrlCol (string value) |
Sets value for sourceUrl column More... | |
DocumentTranslator | SetStorageType (string value) |
Sets value for storageType More... | |
DocumentTranslator | SetStorageTypeCol (string value) |
Sets value for storageType column More... | |
DocumentTranslator | SetSubscriptionKey (string value) |
Sets value for subscriptionKey More... | |
DocumentTranslator | SetSubscriptionKeyCol (string value) |
Sets value for subscriptionKey column More... | |
DocumentTranslator | SetSuppressMaxRetriesExceededException (bool value) |
Sets value for suppressMaxRetriesExceededException More... | |
DocumentTranslator | SetTargets (TargetInput[] value) |
Sets value for targets More... | |
DocumentTranslator | SetTargetsCol (string value) |
Sets value for targets column More... | |
DocumentTranslator | SetTimeout (double value) |
Sets value for timeout More... | |
DocumentTranslator | SetUrl (string value) |
Sets value for url More... | |
int [] | GetBackoffs () |
Gets backoffs value More... | |
int | GetConcurrency () |
Gets concurrency value More... | |
double | GetConcurrentTimeout () |
Gets concurrentTimeout value More... | |
string | GetErrorCol () |
Gets errorCol value More... | |
string | GetFilterPrefix () |
Gets filterPrefix value More... | |
string | GetFilterSuffix () |
Gets filterSuffix value More... | |
int | GetInitialPollingDelay () |
Gets initialPollingDelay value More... | |
int | GetMaxPollingRetries () |
Gets maxPollingRetries value More... | |
string | GetOutputCol () |
Gets outputCol value More... | |
int | GetPollingDelay () |
Gets pollingDelay value More... | |
string | GetServiceName () |
Gets serviceName value More... | |
string | GetSourceLanguage () |
Gets sourceLanguage value More... | |
string | GetSourceStorageSource () |
Gets sourceStorageSource value More... | |
string | GetSourceUrl () |
Gets sourceUrl value More... | |
string | GetStorageType () |
Gets storageType value More... | |
string | GetSubscriptionKey () |
Gets subscriptionKey value More... | |
bool | GetSuppressMaxRetriesExceededException () |
Gets suppressMaxRetriesExceededException value More... | |
TargetInput [] | GetTargets () |
Gets targets 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< DocumentTranslator > | Read () |
Get the corresponding JavaMLReader instance. More... | |
DocumentTranslator | SetLinkedService (string value) |
Sets value for linkedService More... | |
Static Public Member Functions | |
static DocumentTranslator | Load (string path) |
Loads the DocumentTranslator that was previously saved using Save(string). More... | |
DocumentTranslator implements DocumentTranslator
|
inline |
Creates a DocumentTranslator without any parameters.
|
inline |
Creates a DocumentTranslator with a UID that is used to give the DocumentTranslator a unique ID.
uid | An immutable unique ID for the object and its derivatives. |
int [] Synapse.ML.Cognitive.DocumentTranslator.GetBackoffs | ( | ) |
Gets backoffs value
int Synapse.ML.Cognitive.DocumentTranslator.GetConcurrency | ( | ) |
Gets concurrency value
double Synapse.ML.Cognitive.DocumentTranslator.GetConcurrentTimeout | ( | ) |
Gets concurrentTimeout value
string Synapse.ML.Cognitive.DocumentTranslator.GetErrorCol | ( | ) |
Gets errorCol value
string Synapse.ML.Cognitive.DocumentTranslator.GetFilterPrefix | ( | ) |
Gets filterPrefix value
string Synapse.ML.Cognitive.DocumentTranslator.GetFilterSuffix | ( | ) |
Gets filterSuffix value
int Synapse.ML.Cognitive.DocumentTranslator.GetInitialPollingDelay | ( | ) |
Gets initialPollingDelay value
int Synapse.ML.Cognitive.DocumentTranslator.GetMaxPollingRetries | ( | ) |
Gets maxPollingRetries value
string Synapse.ML.Cognitive.DocumentTranslator.GetOutputCol | ( | ) |
Gets outputCol value
int Synapse.ML.Cognitive.DocumentTranslator.GetPollingDelay | ( | ) |
Gets pollingDelay value
string Synapse.ML.Cognitive.DocumentTranslator.GetServiceName | ( | ) |
Gets serviceName value
string Synapse.ML.Cognitive.DocumentTranslator.GetSourceLanguage | ( | ) |
Gets sourceLanguage value
string Synapse.ML.Cognitive.DocumentTranslator.GetSourceStorageSource | ( | ) |
Gets sourceStorageSource value
string Synapse.ML.Cognitive.DocumentTranslator.GetSourceUrl | ( | ) |
Gets sourceUrl value
string Synapse.ML.Cognitive.DocumentTranslator.GetStorageType | ( | ) |
Gets storageType value
string Synapse.ML.Cognitive.DocumentTranslator.GetSubscriptionKey | ( | ) |
Gets subscriptionKey value
bool Synapse.ML.Cognitive.DocumentTranslator.GetSuppressMaxRetriesExceededException | ( | ) |
Gets suppressMaxRetriesExceededException value
|
inline |
Gets targets value
double Synapse.ML.Cognitive.DocumentTranslator.GetTimeout | ( | ) |
Gets timeout value
string Synapse.ML.Cognitive.DocumentTranslator.GetUrl | ( | ) |
Gets url value
|
static |
Loads the DocumentTranslator that was previously saved using Save(string).
path | The path the previous DocumentTranslator was saved to |
JavaMLReader<DocumentTranslator> Synapse.ML.Cognitive.DocumentTranslator.Read | ( | ) |
Get the corresponding JavaMLReader instance.
void Synapse.ML.Cognitive.DocumentTranslator.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 |
DocumentTranslator Synapse.ML.Cognitive.DocumentTranslator.SetBackoffs | ( | int [] | value | ) |
Sets value for backoffs
value | array of backoffs to use in the handler |
DocumentTranslator Synapse.ML.Cognitive.DocumentTranslator.SetConcurrency | ( | int | value | ) |
Sets value for concurrency
value | max number of concurrent calls |
DocumentTranslator Synapse.ML.Cognitive.DocumentTranslator.SetConcurrentTimeout | ( | double | value | ) |
Sets value for concurrentTimeout
value | max number seconds to wait on futures if concurrency >= 1 |
DocumentTranslator Synapse.ML.Cognitive.DocumentTranslator.SetErrorCol | ( | string | value | ) |
Sets value for errorCol
value | column to hold http errors |
DocumentTranslator Synapse.ML.Cognitive.DocumentTranslator.SetFilterPrefix | ( | string | value | ) |
Sets value for filterPrefix
value | A case-sensitive prefix string to filter documents in the source path for translation. For example, when using an Azure storage blob Uri, use the prefix to restrict sub folders for translation. |
DocumentTranslator Synapse.ML.Cognitive.DocumentTranslator.SetFilterPrefixCol | ( | string | value | ) |
Sets value for filterPrefix column
value | A case-sensitive prefix string to filter documents in the source path for translation. For example, when using an Azure storage blob Uri, use the prefix to restrict sub folders for translation. |
DocumentTranslator Synapse.ML.Cognitive.DocumentTranslator.SetFilterSuffix | ( | string | value | ) |
Sets value for filterSuffix
value | A case-sensitive suffix string to filter documents in the source path for translation. This is most often use for file extensions. |
DocumentTranslator Synapse.ML.Cognitive.DocumentTranslator.SetFilterSuffixCol | ( | string | value | ) |
Sets value for filterSuffix column
value | A case-sensitive suffix string to filter documents in the source path for translation. This is most often use for file extensions. |
DocumentTranslator Synapse.ML.Cognitive.DocumentTranslator.SetInitialPollingDelay | ( | int | value | ) |
Sets value for initialPollingDelay
value | number of milliseconds to wait before first poll for result |
DocumentTranslator Synapse.ML.Cognitive.DocumentTranslator.SetLinkedService | ( | string | value | ) |
Sets value for linkedService
value | linkedService name |
DocumentTranslator Synapse.ML.Cognitive.DocumentTranslator.SetMaxPollingRetries | ( | int | value | ) |
Sets value for maxPollingRetries
value | number of times to poll |
DocumentTranslator Synapse.ML.Cognitive.DocumentTranslator.SetOutputCol | ( | string | value | ) |
Sets value for outputCol
value | The name of the output column |
DocumentTranslator Synapse.ML.Cognitive.DocumentTranslator.SetPollingDelay | ( | int | value | ) |
Sets value for pollingDelay
value | number of milliseconds to wait between polling |
DocumentTranslator Synapse.ML.Cognitive.DocumentTranslator.SetServiceName | ( | string | value | ) |
DocumentTranslator Synapse.ML.Cognitive.DocumentTranslator.SetSourceLanguage | ( | string | value | ) |
Sets value for sourceLanguage
value | Language code. If none is specified, we will perform auto detect on the document. |
DocumentTranslator Synapse.ML.Cognitive.DocumentTranslator.SetSourceLanguageCol | ( | string | value | ) |
Sets value for sourceLanguage column
value | Language code. If none is specified, we will perform auto detect on the document. |
DocumentTranslator Synapse.ML.Cognitive.DocumentTranslator.SetSourceStorageSource | ( | string | value | ) |
Sets value for sourceStorageSource
value | Storage source of source input. |
DocumentTranslator Synapse.ML.Cognitive.DocumentTranslator.SetSourceStorageSourceCol | ( | string | value | ) |
Sets value for sourceStorageSource column
value | Storage source of source input. |
DocumentTranslator Synapse.ML.Cognitive.DocumentTranslator.SetSourceUrl | ( | string | value | ) |
Sets value for sourceUrl
value | Location of the folder / container or single file with your documents. |
DocumentTranslator Synapse.ML.Cognitive.DocumentTranslator.SetSourceUrlCol | ( | string | value | ) |
Sets value for sourceUrl column
value | Location of the folder / container or single file with your documents. |
DocumentTranslator Synapse.ML.Cognitive.DocumentTranslator.SetStorageType | ( | string | value | ) |
Sets value for storageType
value | Storage type of the input documents source string. Required for single document translation only. |
DocumentTranslator Synapse.ML.Cognitive.DocumentTranslator.SetStorageTypeCol | ( | string | value | ) |
Sets value for storageType column
value | Storage type of the input documents source string. Required for single document translation only. |
DocumentTranslator Synapse.ML.Cognitive.DocumentTranslator.SetSubscriptionKey | ( | string | value | ) |
Sets value for subscriptionKey
value | the API key to use |
DocumentTranslator Synapse.ML.Cognitive.DocumentTranslator.SetSubscriptionKeyCol | ( | string | value | ) |
Sets value for subscriptionKey column
value | the API key to use |
DocumentTranslator Synapse.ML.Cognitive.DocumentTranslator.SetSuppressMaxRetriesExceededException | ( | bool | value | ) |
Sets value for suppressMaxRetriesExceededException
value | set true to suppress the maxumimum retries exception and report in the error column |
DocumentTranslator Synapse.ML.Cognitive.DocumentTranslator.SetTargets | ( | TargetInput [] | value | ) |
Sets value for targets
value | Destination for the finished translated documents. |
DocumentTranslator Synapse.ML.Cognitive.DocumentTranslator.SetTargetsCol | ( | string | value | ) |
Sets value for targets column
value | Destination for the finished translated documents. |
DocumentTranslator Synapse.ML.Cognitive.DocumentTranslator.SetTimeout | ( | double | value | ) |
Sets value for timeout
value | number of seconds to wait before closing the connection |
DocumentTranslator Synapse.ML.Cognitive.DocumentTranslator.SetUrl | ( | string | value | ) |