com.lucidworks.spark.ml.feature

LuceneTextAnalyzerTransformer

class LuceneTextAnalyzerTransformer extends HasInputColsTransformer with Logging with MLWritable

Specify an analysis schema as a JSON string to build a custom Lucene analyzer, which transforms the input column(s) into a sequence of tokens in the output column. See LuceneTextAnalyzer for a description of the schema format.

Annotations
@Experimental()
Linear Supertypes
HasInputColsTransformer, DefaultParamsWritable, MLWritable, HasOutputCol, HasInputCols, Transformer, PipelineStage, Logging, Params, Serializable, Serializable, Identifiable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. LuceneTextAnalyzerTransformer
  2. HasInputColsTransformer
  3. DefaultParamsWritable
  4. MLWritable
  5. HasOutputCol
  6. HasInputCols
  7. Transformer
  8. PipelineStage
  9. Logging
  10. Params
  11. Serializable
  12. Serializable
  13. Identifiable
  14. AnyRef
  15. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new LuceneTextAnalyzerTransformer()

  2. new LuceneTextAnalyzerTransformer(uid: String)

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def $[T](param: Param[T]): T

    Attributes
    protected
    Definition Classes
    Params
  5. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  6. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  7. val analysisSchema: Param[String]

  8. var analyzerInitFailure: Option[String]

  9. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  10. final def clear(param: Param[_]): LuceneTextAnalyzerTransformer.this.type

    Definition Classes
    Params
  11. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. def copy(extra: ParamMap): LuceneTextAnalyzerTransformer

    Definition Classes
    LuceneTextAnalyzerTransformer → Transformer → PipelineStage → Params
  13. def copyValues[T <: Params](to: T, extra: ParamMap): T

    Attributes
    protected
    Definition Classes
    Params
  14. final def defaultCopy[T <: Params](extra: ParamMap): T

    Attributes
    protected
    Definition Classes
    Params
  15. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  16. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  17. def explainParam(param: Param[_]): String

    Definition Classes
    Params
  18. def explainParams(): String

    Definition Classes
    Params
  19. final def extractParamMap(): ParamMap

    Definition Classes
    Params
  20. final def extractParamMap(extra: ParamMap): ParamMap

    Definition Classes
    Params
  21. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  22. final def get[T](param: Param[T]): Option[T]

    Definition Classes
    Params
  23. def getAnalysisSchema: String

  24. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  25. final def getDefault[T](param: Param[T]): Option[T]

    Definition Classes
    Params
  26. final def getInputCols: Array[String]

    Definition Classes
    HasInputCols
  27. final def getOrDefault[T](param: Param[T]): T

    Definition Classes
    Params
  28. final def getOutputCol: String

    Definition Classes
    HasOutputCol
  29. def getParam(paramName: String): Param[Any]

    Definition Classes
    Params
  30. def getPrefixTokensWithInputCol: Boolean

  31. final def hasDefault[T](param: Param[T]): Boolean

    Definition Classes
    Params
  32. def hasParam(paramName: String): Boolean

    Definition Classes
    Params
  33. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  34. final val inputCols: StringArrayParam

    Definition Classes
    HasInputCols
  35. final def isDefined(param: Param[_]): Boolean

    Definition Classes
    Params
  36. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  37. final def isSet(param: Param[_]): Boolean

    Definition Classes
    Params
  38. def isTraceEnabled(): Boolean

    Attributes
    protected
    Definition Classes
    Logging
  39. def log: Logger

    Attributes
    protected
    Definition Classes
    Logging
  40. def logDebug(msg: ⇒ String, throwable: Throwable): Unit

    Attributes
    protected
    Definition Classes
    Logging
  41. def logDebug(msg: ⇒ String): Unit

    Attributes
    protected
    Definition Classes
    Logging
  42. def logError(msg: ⇒ String, throwable: Throwable): Unit

    Attributes
    protected
    Definition Classes
    Logging
  43. def logError(msg: ⇒ String): Unit

    Attributes
    protected
    Definition Classes
    Logging
  44. def logInfo(msg: ⇒ String, throwable: Throwable): Unit

    Attributes
    protected
    Definition Classes
    Logging
  45. def logInfo(msg: ⇒ String): Unit

    Attributes
    protected
    Definition Classes
    Logging
  46. def logName: String

    Attributes
    protected
    Definition Classes
    Logging
  47. def logTrace(msg: ⇒ String, throwable: Throwable): Unit

    Attributes
    protected
    Definition Classes
    Logging
  48. def logTrace(msg: ⇒ String): Unit

    Attributes
    protected
    Definition Classes
    Logging
  49. def logWarning(msg: ⇒ String, throwable: Throwable): Unit

    Attributes
    protected
    Definition Classes
    Logging
  50. def logWarning(msg: ⇒ String): Unit

    Attributes
    protected
    Definition Classes
    Logging
  51. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  52. final def notify(): Unit

    Definition Classes
    AnyRef
  53. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  54. final val outputCol: Param[String]

    Definition Classes
    HasOutputCol
  55. def outputDataType: DataType

  56. lazy val params: Array[Param[_]]

    Definition Classes
    Params
  57. val prefixTokensWithInputCol: BooleanParam

  58. def save(path: String): Unit

    Definition Classes
    MLWritable
    Annotations
    @Since( "1.6.0" ) @throws( ... )
  59. final def set(paramPair: ParamPair[_]): LuceneTextAnalyzerTransformer.this.type

    Attributes
    protected
    Definition Classes
    Params
  60. final def set(param: String, value: Any): LuceneTextAnalyzerTransformer.this.type

    Attributes
    protected
    Definition Classes
    Params
  61. final def set[T](param: Param[T], value: T): LuceneTextAnalyzerTransformer.this.type

    Definition Classes
    Params
  62. def setAnalysisSchema(value: String): LuceneTextAnalyzerTransformer.this.type

  63. final def setDefault(paramPairs: ParamPair[_]*): LuceneTextAnalyzerTransformer.this.type

    Attributes
    protected
    Definition Classes
    Params
  64. final def setDefault[T](param: Param[T], value: T): LuceneTextAnalyzerTransformer.this.type

    Attributes
    protected
    Definition Classes
    Params
  65. def setInputCol(value: String): LuceneTextAnalyzerTransformer.this.type

  66. def setInputCols(value: Array[String]): LuceneTextAnalyzerTransformer.this.type

  67. def setOutputCol(value: String): LuceneTextAnalyzerTransformer.this.type

  68. def setPrefixTokensWithInputCol(value: Boolean): LuceneTextAnalyzerTransformer.this.type

  69. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  70. def toString(): String

    Definition Classes
    Identifiable → AnyRef → Any
  71. def transform(dataset: DataFrame): DataFrame

    Definition Classes
    LuceneTextAnalyzerTransformer → Transformer
  72. def transform(dataset: DataFrame, paramMap: ParamMap): DataFrame

    Definition Classes
    Transformer
  73. def transform(dataset: DataFrame, firstParamPair: ParamPair[_], otherParamPairs: ParamPair[_]*): DataFrame

    Definition Classes
    Transformer
    Annotations
    @varargs()
  74. def transformSchema(schema: StructType): StructType

    Definition Classes
    LuceneTextAnalyzerTransformer → PipelineStage
  75. def transformSchema(schema: StructType, logging: Boolean): StructType

    Attributes
    protected
    Definition Classes
    PipelineStage
    Annotations
    @DeveloperApi()
  76. val uid: String

    Definition Classes
    LuceneTextAnalyzerTransformer → Identifiable
  77. def validateAnalysisSchema(analysisSchema: String): Boolean

  78. def validateParams(): Unit

    Definition Classes
    LuceneTextAnalyzerTransformer → Params
  79. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  80. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  81. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  82. def write: MLWriter

    Definition Classes
    DefaultParamsWritable → MLWritable

Inherited from HasInputColsTransformer

Inherited from DefaultParamsWritable

Inherited from MLWritable

Inherited from HasOutputCol

Inherited from HasInputCols

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

setParam

Ungrouped