Packages

class Translate extends TextTranslatorBase with TextAsOnlyEntity with BasicLogging

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Translate
  2. TextAsOnlyEntity
  3. HasCognitiveServiceInput
  4. HasTextInput
  5. TextTranslatorBase
  6. HasSetLinkedServiceUsingLocation
  7. HasSetLinkedService
  8. HasSetLocation
  9. HasUrlPath
  10. HasSubscriptionRegion
  11. HasInternalJsonOutputParser
  12. CognitiveServicesBase
  13. HasHandler
  14. CognitiveServicesBaseNoHandler
  15. BasicLogging
  16. HasErrorCol
  17. HasSubscriptionKey
  18. HasServiceParams
  19. ComplexParamsWritable
  20. MLWritable
  21. HasURL
  22. HasOutputCol
  23. ConcurrencyParams
  24. Wrappable
  25. RWrappable
  26. PythonWrappable
  27. BaseWrappable
  28. Transformer
  29. PipelineStage
  30. Logging
  31. Params
  32. Serializable
  33. Serializable
  34. Identifiable
  35. AnyRef
  36. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Translate()
  2. new Translate(uid: String)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def $[T](param: Param[T]): T
    Attributes
    protected
    Definition Classes
    Params
  4. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  5. val allowFallback: ServiceParam[Boolean]
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. val category: ServiceParam[String]
  8. lazy val classNameHelper: String
    Attributes
    protected
    Definition Classes
    BaseWrappable
  9. final def clear(param: Param[_]): Translate.this.type
    Definition Classes
    Params
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  11. def companionModelClassName: String
    Attributes
    protected
    Definition Classes
    BaseWrappable
  12. val concurrency: Param[Int]
    Definition Classes
    ConcurrencyParams
  13. val concurrentTimeout: Param[Double]
    Definition Classes
    ConcurrencyParams
  14. def contentType: (Row) ⇒ String
    Attributes
    protected
    Definition Classes
    HasCognitiveServiceInput
  15. def copy(extra: ParamMap): Transformer
    Definition Classes
    CognitiveServicesBaseNoHandler → Transformer → PipelineStage → Params
  16. def copyValues[T <: Params](to: T, extra: ParamMap): T
    Attributes
    protected
    Definition Classes
    Params
  17. lazy val copyrightLines: String
    Attributes
    protected
    Definition Classes
    BaseWrappable
  18. def customGetInternalTransformer(schema: StructType, parameterNames: Seq[String]): PipelineModel
    Attributes
    protected
    Definition Classes
    TextTranslatorBase
  19. final def defaultCopy[T <: Params](extra: ParamMap): T
    Attributes
    protected
    Definition Classes
    Params
  20. def emptyParamData[T](row: Row, p: ServiceParam[T]): Boolean
    Attributes
    protected
    Definition Classes
    HasServiceParams
  21. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  23. val errorCol: Param[String]
    Definition Classes
    HasErrorCol
  24. def explainParam(param: Param[_]): String
    Definition Classes
    Params
  25. def explainParams(): String
    Definition Classes
    Params
  26. final def extractParamMap(): ParamMap
    Definition Classes
    Params
  27. final def extractParamMap(extra: ParamMap): ParamMap
    Definition Classes
    Params
  28. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  29. val fromLanguage: ServiceParam[String]
  30. val fromScript: ServiceParam[String]
  31. final def get[T](param: Param[T]): Option[T]
    Definition Classes
    Params
  32. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  33. def getConcurrency: Int

    Definition Classes
    ConcurrencyParams
  34. def getConcurrentTimeout: Double

    Definition Classes
    ConcurrencyParams
  35. final def getDefault[T](param: Param[T]): Option[T]
    Definition Classes
    Params
  36. def getErrorCol: String
    Definition Classes
    HasErrorCol
  37. def getHandler: HandlerFunc

    Definition Classes
    HasHandler
  38. def getInternalInputParser(schema: StructType): HTTPInputParser
    Attributes
    protected
    Definition Classes
    HasCognitiveServiceInput
  39. def getInternalOutputParser(schema: StructType): HTTPOutputParser
    Attributes
    protected
    Definition Classes
    HasInternalJsonOutputParser
  40. def getInternalTransformer(schema: StructType): PipelineModel
    Attributes
    protected
    Definition Classes
    TranslateTextTranslatorBaseCognitiveServicesBaseNoHandler
  41. final def getOrDefault[T](param: Param[T]): T
    Definition Classes
    Params
  42. def getOutputCol: String

    Definition Classes
    HasOutputCol
  43. def getParam(paramName: String): Param[Any]
    Definition Classes
    Params
  44. def getRequiredParams: Array[ServiceParam[_]]
    Attributes
    protected
    Definition Classes
    HasServiceParams
  45. def getScalarParam[T](name: String): T
    Definition Classes
    HasServiceParams
  46. def getScalarParam[T](p: ServiceParam[T]): T
    Definition Classes
    HasServiceParams
  47. def getSubscriptionKey: String
    Definition Classes
    HasSubscriptionKey
  48. def getSubscriptionKeyCol: String
    Definition Classes
    HasSubscriptionKey
  49. def getSubscriptionRegion: String
    Definition Classes
    HasSubscriptionRegion
  50. def getSubscriptionRegionCol: String
    Definition Classes
    HasSubscriptionRegion
  51. def getText: Seq[String]
    Definition Classes
    HasTextInput
  52. def getTextCol: String
    Definition Classes
    HasTextInput
  53. def getTimeout: Double

    Definition Classes
    ConcurrencyParams
  54. def getUrl: String

    Definition Classes
    HasURL
  55. def getUrlParams: Array[ServiceParam[_]]
    Attributes
    protected
    Definition Classes
    HasServiceParams
  56. def getValue[T](row: Row, p: ServiceParam[T]): T
    Attributes
    protected
    Definition Classes
    HasServiceParams
  57. def getValueAny(row: Row, p: ServiceParam[_]): Any
    Attributes
    protected
    Definition Classes
    HasServiceParams
  58. def getValueAnyOpt(row: Row, p: ServiceParam[_]): Option[Any]
    Attributes
    protected
    Definition Classes
    HasServiceParams
  59. def getValueMap(row: Row, excludes: Set[ServiceParam[_]] = Set()): Map[String, Any]
    Attributes
    protected
    Definition Classes
    HasServiceParams
  60. def getValueOpt[T](row: Row, p: ServiceParam[T]): Option[T]
    Attributes
    protected
    Definition Classes
    HasServiceParams
  61. def getVectorParam(name: String): String
    Definition Classes
    HasServiceParams
  62. def getVectorParam(p: ServiceParam[_]): String
    Definition Classes
    HasServiceParams
  63. def getVectorParamMap: Map[String, String]
    Attributes
    protected
    Definition Classes
    HasServiceParams
  64. val handler: UDFParam
    Definition Classes
    HasHandler
  65. def handlingFunc(client: CloseableHttpClient, request: HTTPRequestData): HTTPResponseData
    Definition Classes
    HasHandler
  66. final def hasDefault[T](param: Param[T]): Boolean
    Definition Classes
    Params
  67. def hasParam(paramName: String): Boolean
    Definition Classes
    Params
  68. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  69. val includeAlignment: ServiceParam[Boolean]
  70. val includeSentenceLength: ServiceParam[Boolean]
  71. def initializeLogIfNecessary(isInterpreter: Boolean, silent: Boolean): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  72. def initializeLogIfNecessary(isInterpreter: Boolean): Unit
    Attributes
    protected
    Definition Classes
    Logging
  73. def inputFunc(schema: StructType): (Row) ⇒ Option[HttpRequestBase]
    Attributes
    protected
    Definition Classes
    TranslateTextAsOnlyEntityHasCognitiveServiceInput
  74. final def isDefined(param: Param[_]): Boolean
    Definition Classes
    Params
  75. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  76. final def isSet(param: Param[_]): Boolean
    Definition Classes
    Params
  77. def isTraceEnabled(): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  78. def log: Logger
    Attributes
    protected
    Definition Classes
    Logging
  79. def logBase(methodName: String): Unit
    Attributes
    protected
    Definition Classes
    BasicLogging
  80. def logClass(): Unit
    Definition Classes
    BasicLogging
  81. def logDebug(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  82. def logDebug(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  83. def logError(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  84. def logError(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  85. def logErrorBase(methodName: String, e: Exception): Unit
    Attributes
    protected
    Definition Classes
    BasicLogging
  86. def logFit[T](f: ⇒ T): T
    Definition Classes
    BasicLogging
  87. def logInfo(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  88. def logInfo(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  89. def logName: String
    Attributes
    protected
    Definition Classes
    Logging
  90. def logPredict[T](f: ⇒ T): T
    Definition Classes
    BasicLogging
  91. def logTrace(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  92. def logTrace(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  93. def logTrain[T](f: ⇒ T): T
    Definition Classes
    BasicLogging
  94. def logTransform[T](f: ⇒ T): T
    Definition Classes
    BasicLogging
  95. def logVerb[T](verb: String, f: ⇒ T): T
    Definition Classes
    BasicLogging
  96. def logWarning(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  97. def logWarning(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  98. def makePyFile(conf: CodegenConfig): Unit
    Definition Classes
    PythonWrappable
  99. def makeRFile(conf: CodegenConfig): Unit
    Definition Classes
    RWrappable
  100. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  101. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  102. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  103. val outputCol: Param[String]

    The name of the output column

    The name of the output column

    Definition Classes
    HasOutputCol
  104. lazy val params: Array[Param[_]]
    Definition Classes
    Params
  105. def prepareEntity: (Row) ⇒ Option[AbstractHttpEntity]
    Attributes
    protected
    Definition Classes
    TextAsOnlyEntityHasCognitiveServiceInput
  106. def prepareMethod(): HttpRequestBase
    Attributes
    protected
    Definition Classes
    HasCognitiveServiceInput
  107. def prepareUrl: (Row) ⇒ String
    Attributes
    protected
    Definition Classes
    HasCognitiveServiceInput
  108. val profanityAction: ServiceParam[String]
  109. val profanityMarker: ServiceParam[String]
  110. def pyAdditionalMethods: String
    Definition Classes
    HasSetLinkedServicePythonWrappable
  111. lazy val pyClassDoc: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  112. lazy val pyClassName: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  113. def pyExtraEstimatorImports: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  114. def pyExtraEstimatorMethods: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  115. lazy val pyInheritedClasses: Seq[String]
    Attributes
    protected
    Definition Classes
    PythonWrappable
  116. def pyInitFunc(): String
    Definition Classes
    PythonWrappable
  117. lazy val pyInternalWrapper: Boolean
    Attributes
    protected
    Definition Classes
    PythonWrappable
  118. lazy val pyObjectBaseClass: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  119. def pyParamArg[T](p: Param[T]): String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  120. def pyParamDefault[T](p: Param[T]): Option[String]
    Attributes
    protected
    Definition Classes
    PythonWrappable
  121. def pyParamGetter(p: Param[_]): String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  122. def pyParamSetter(p: Param[_]): String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  123. def pyParamsArgs: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  124. def pyParamsDefaults: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  125. lazy val pyParamsDefinitions: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  126. def pyParamsGetters: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  127. def pyParamsSetters: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  128. def pythonClass(): String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  129. def rClass(): String
    Attributes
    protected
    Definition Classes
    RWrappable
  130. def rDocString: String
    Attributes
    protected
    Definition Classes
    RWrappable
  131. def rExtraBodyLines: String
    Attributes
    protected
    Definition Classes
    RWrappable
  132. def rExtraInitLines: String
    Attributes
    protected
    Definition Classes
    RWrappable
  133. lazy val rFuncName: String
    Attributes
    protected
    Definition Classes
    RWrappable
  134. lazy val rInternalWrapper: Boolean
    Attributes
    protected
    Definition Classes
    RWrappable
  135. def rParamArg[T](p: Param[T]): String
    Attributes
    protected
    Definition Classes
    RWrappable
  136. def rParamsArgs: String
    Attributes
    protected
    Definition Classes
    RWrappable
  137. def rSetterLines: String
    Attributes
    protected
    Definition Classes
    RWrappable
  138. def reshapeColumns(schema: StructType, parameterNames: Seq[String]): Seq[(Transformer, String, String)]
    Attributes
    protected
    Definition Classes
    TextTranslatorBase
  139. def responseDataType: DataType
    Definition Classes
    TranslateHasInternalJsonOutputParser
  140. def save(path: String): Unit
    Definition Classes
    MLWritable
    Annotations
    @Since( "1.6.0" ) @throws( ... )
  141. final def set(paramPair: ParamPair[_]): Translate.this.type
    Attributes
    protected
    Definition Classes
    Params
  142. final def set(param: String, value: Any): Translate.this.type
    Attributes
    protected
    Definition Classes
    Params
  143. final def set[T](param: Param[T], value: T): Translate.this.type
    Definition Classes
    Params
  144. def setAllowFallback(v: Boolean): Translate.this.type
  145. def setAllowFallbackCol(v: String): Translate.this.type
  146. def setCategory(v: String): Translate.this.type
  147. def setCategoryCol(v: String): Translate.this.type
  148. def setConcurrency(value: Int): Translate.this.type

    Definition Classes
    ConcurrencyParams
  149. def setConcurrentTimeout(value: Option[Double]): Translate.this.type
    Definition Classes
    ConcurrencyParams
  150. def setConcurrentTimeout(value: Double): Translate.this.type

    Definition Classes
    ConcurrencyParams
  151. final def setDefault(paramPairs: ParamPair[_]*): Translate.this.type
    Attributes
    protected
    Definition Classes
    Params
  152. final def setDefault[T](param: Param[T], value: T): Translate.this.type
    Attributes
    protected
    Definition Classes
    Params
  153. def setErrorCol(v: String): Translate.this.type
    Definition Classes
    HasErrorCol
  154. def setFromLanguage(v: String): Translate.this.type
  155. def setFromLanguageCol(v: String): Translate.this.type
  156. def setFromScript(v: String): Translate.this.type
  157. def setFromScriptCol(v: String): Translate.this.type
  158. def setHandler(v: HandlerFunc): Translate.this.type
    Definition Classes
    HasHandler
  159. def setIncludeAlignment(v: Boolean): Translate.this.type
  160. def setIncludeAlignmentCol(v: String): Translate.this.type
  161. def setIncludeSentenceLength(v: Boolean): Translate.this.type
  162. def setIncludeSentenceLengthCol(v: String): Translate.this.type
  163. def setLinkedService(v: String): Translate.this.type
  164. def setLocation(v: String): Translate.this.type
    Definition Classes
    TextTranslatorBaseHasSetLocation
  165. def setOutputCol(value: String): Translate.this.type

    Definition Classes
    HasOutputCol
  166. def setProfanityAction(v: String): Translate.this.type
  167. def setProfanityActionCol(v: String): Translate.this.type
  168. def setProfanityMarker(v: String): Translate.this.type
  169. def setProfanityMarkerCol(v: String): Translate.this.type
  170. def setScalarParam[T](name: String, value: T): Translate.this.type
    Definition Classes
    HasServiceParams
  171. def setScalarParam[T](p: ServiceParam[T], value: T): Translate.this.type
    Definition Classes
    HasServiceParams
  172. def setSubscriptionKey(v: String): Translate.this.type
    Definition Classes
    HasSubscriptionKey
  173. def setSubscriptionKeyCol(v: String): Translate.this.type
    Definition Classes
    HasSubscriptionKey
  174. def setSubscriptionRegion(v: String): Translate.this.type
    Definition Classes
    HasSubscriptionRegion
  175. def setSubscriptionRegionCol(v: String): Translate.this.type
    Definition Classes
    HasSubscriptionRegion
  176. def setSuggestedFrom(v: String): Translate.this.type
  177. def setSuggestedFromCol(v: String): Translate.this.type
  178. def setText(v: String): Translate.this.type
    Definition Classes
    HasTextInput
  179. def setText(v: Seq[String]): Translate.this.type
    Definition Classes
    HasTextInput
  180. def setTextCol(v: String): Translate.this.type
    Definition Classes
    HasTextInput
  181. def setTextType(v: String): Translate.this.type
  182. def setTextTypeCol(v: String): Translate.this.type
  183. def setTimeout(value: Double): Translate.this.type

    Definition Classes
    ConcurrencyParams
  184. def setToLanguage(v: String): Translate.this.type
  185. def setToLanguage(v: Seq[String]): Translate.this.type
  186. def setToLanguageCol(v: String): Translate.this.type
  187. def setToScript(v: String): Translate.this.type
  188. def setToScriptCol(v: String): Translate.this.type
  189. def setUrl(value: String): Translate.this.type

    Definition Classes
    HasURL
  190. def setVectorParam(name: String, value: String): Translate.this.type
    Definition Classes
    HasServiceParams
  191. def setVectorParam[T](p: ServiceParam[T], value: String): Translate.this.type
    Definition Classes
    HasServiceParams
  192. def shouldSkip(row: Row): Boolean
    Attributes
    protected
    Definition Classes
    HasServiceParams
  193. val subscriptionKey: ServiceParam[String]
    Definition Classes
    HasSubscriptionKey
  194. val subscriptionKeyHeaderName: String
    Attributes
    protected
    Definition Classes
    HasCognitiveServiceInput
  195. val subscriptionRegion: ServiceParam[String]
    Definition Classes
    HasSubscriptionRegion
  196. val suggestedFrom: ServiceParam[String]
  197. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  198. val text: ServiceParam[Seq[String]]
    Definition Classes
    HasTextInput
  199. val textType: ServiceParam[String]
  200. val timeout: Param[Double]
    Definition Classes
    ConcurrencyParams
  201. val toLanguage: ServiceParam[Seq[String]]
  202. val toScript: ServiceParam[String]
  203. def toString(): String
    Definition Classes
    Identifiable → AnyRef → Any
  204. def transform(dataset: Dataset[_]): DataFrame
    Definition Classes
    CognitiveServicesBaseNoHandler → Transformer
  205. def transform(dataset: Dataset[_], paramMap: ParamMap): DataFrame
    Definition Classes
    Transformer
    Annotations
    @Since( "2.0.0" )
  206. def transform(dataset: Dataset[_], firstParamPair: ParamPair[_], otherParamPairs: ParamPair[_]*): DataFrame
    Definition Classes
    Transformer
    Annotations
    @Since( "2.0.0" ) @varargs()
  207. def transformSchema(schema: StructType): StructType
    Definition Classes
    CognitiveServicesBaseNoHandler → PipelineStage
  208. def transformSchema(schema: StructType, logging: Boolean): StructType
    Attributes
    protected
    Definition Classes
    PipelineStage
    Annotations
    @DeveloperApi()
  209. val uid: String
    Definition Classes
    TranslateTextTranslatorBaseCognitiveServicesBaseNoHandlerBasicLogging → Identifiable
  210. val url: Param[String]
    Definition Classes
    HasURL
  211. def urlPath: String
    Definition Classes
    TranslateHasUrlPath
  212. val ver: String
    Definition Classes
    BasicLogging
  213. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  214. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  215. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  216. def write: MLWriter
    Definition Classes
    ComplexParamsWritable → MLWritable

Inherited from TextAsOnlyEntity

Inherited from HasCognitiveServiceInput

Inherited from HasTextInput

Inherited from TextTranslatorBase

Inherited from HasSetLinkedService

Inherited from HasSetLocation

Inherited from HasUrlPath

Inherited from HasSubscriptionRegion

Inherited from CognitiveServicesBase

Inherited from HasHandler

Inherited from BasicLogging

Inherited from HasErrorCol

Inherited from HasSubscriptionKey

Inherited from HasServiceParams

Inherited from ComplexParamsWritable

Inherited from MLWritable

Inherited from HasURL

Inherited from HasOutputCol

Inherited from ConcurrencyParams

Inherited from Wrappable

Inherited from RWrappable

Inherited from PythonWrappable

Inherited from BaseWrappable

Inherited from Transformer

Inherited from PipelineStage

Inherited from Logging

Inherited from Params

Inherited from Serializable

Inherited from Serializable

Inherited from Identifiable

Inherited from AnyRef

Inherited from Any

getParam

param

setParam

Ungrouped