org.apache.spark.ml.odkl.texts

NGramExtractor

class NGramExtractor extends Transformer with DefaultParamsWritable with HasInputCol with HasOutputCol

Created by eugeny.malyutin on 17.05.16. Simple NGramExtractor Transformer with option to extract from lowerNGrams to UPper together

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

Instance Constructors

  1. new NGramExtractor()

  2. new NGramExtractor(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. final def asInstanceOf[T0]: T0

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

    Definition Classes
    Params
  9. def clone(): AnyRef

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

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

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

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

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

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

    Definition Classes
    Params
  16. def explainParams(): String

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

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

    Definition Classes
    Params
  19. def finalize(): Unit

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

    Definition Classes
    Params
  21. final def getClass(): Class[_]

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

    Definition Classes
    Params
  23. final def getInputCol: String

    Definition Classes
    HasInputCol
  24. final def getOrDefault[T](param: Param[T]): T

    Definition Classes
    Params
  25. final def getOutputCol: String

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

    Definition Classes
    Params
  27. def getUpperN: Int

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

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

    Definition Classes
    Params
  30. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  31. final val inputCol: Param[String]

    Definition Classes
    HasInputCol
  32. final def isDefined(param: Param[_]): Boolean

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

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

    Definition Classes
    Params
  35. def isTraceEnabled(): Boolean

    Attributes
    protected
    Definition Classes
    Logging
  36. def log: Logger

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

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

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

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

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

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

    Attributes
    protected
    Definition Classes
    Logging
  43. def logName: String

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

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

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

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

    Attributes
    protected
    Definition Classes
    Logging
  48. val lowerN: IntParam

  49. final def ne(arg0: AnyRef): Boolean

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

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

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

    Definition Classes
    HasOutputCol
  53. lazy val params: Array[Param[_]]

    Definition Classes
    Params
  54. def save(path: String): Unit

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

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

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

    Definition Classes
    Params
  58. final def setDefault(paramPairs: ParamPair[_]*): NGramExtractor.this.type

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

    Attributes
    protected
    Definition Classes
    Params
  60. def setInputCol(value: String): NGramExtractor.this.type

  61. def setLowerN(value: Int): NGramExtractor.this.type

  62. def setOutputCol(value: String): NGramExtractor.this.type

  63. def setUpperN(value: Int): NGramExtractor.this.type

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

    Definition Classes
    AnyRef
  65. def toString(): String

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

    Definition Classes
    NGramExtractor → Transformer
  67. def transform(dataset: DataFrame, paramMap: ParamMap): DataFrame

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

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

    Definition Classes
    NGramExtractor → PipelineStage
    Annotations
    @DeveloperApi()
  70. def transformSchema(schema: StructType, logging: Boolean): StructType

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

    Definition Classes
    NGramExtractor → Identifiable
  72. val upperN: IntParam

  73. def validateParams(): Unit

    Definition Classes
    Params
  74. final def wait(): Unit

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

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

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

    Definition Classes
    DefaultParamsWritable → MLWritable

Inherited from HasOutputCol

Inherited from HasInputCol

Inherited from DefaultParamsWritable

Inherited from MLWritable

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