Packages

t

com.johnsnowlabs.nlp.annotators.params

ResetSentenceIndicesParam

trait ResetSentenceIndicesParam extends Params

Trait for annotators that reset sentence indices to treat the entire output as if it originates from a single document.

Linear Supertypes
Params, Serializable, Serializable, Identifiable, AnyRef, Any
Ordering
  1. Grouped
  2. Alphabetic
  3. By Inheritance
Inherited
  1. ResetSentenceIndicesParam
  2. Params
  3. Serializable
  4. Serializable
  5. Identifiable
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def copy(extra: ParamMap): Params
    Definition Classes
    Params
  2. abstract val uid: String
    Definition Classes
    Identifiable

Concrete 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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. final def clear(param: Param[_]): ResetSentenceIndicesParam.this.type
    Definition Classes
    Params
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  8. def copyValues[T <: Params](to: T, extra: ParamMap): T
    Attributes
    protected
    Definition Classes
    Params
  9. final def defaultCopy[T <: Params](extra: ParamMap): T
    Attributes
    protected
    Definition Classes
    Params
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  12. def explainParam(param: Param[_]): String
    Definition Classes
    Params
  13. def explainParams(): String
    Definition Classes
    Params
  14. final def extractParamMap(): ParamMap
    Definition Classes
    Params
  15. final def extractParamMap(extra: ParamMap): ParamMap
    Definition Classes
    Params
  16. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. final def get[T](param: Param[T]): Option[T]
    Definition Classes
    Params
  18. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. final def getDefault[T](param: Param[T]): Option[T]
    Definition Classes
    Params
  20. final def getOrDefault[T](param: Param[T]): T
    Definition Classes
    Params
  21. def getParam(paramName: String): Param[Any]
    Definition Classes
    Params
  22. def getResetSentenceIndices: Boolean

    Gets resetSentenceIndices parameter

  23. final def hasDefault[T](param: Param[T]): Boolean
    Definition Classes
    Params
  24. def hasParam(paramName: String): Boolean
    Definition Classes
    Params
  25. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  26. final def isDefined(param: Param[_]): Boolean
    Definition Classes
    Params
  27. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  28. final def isSet(param: Param[_]): Boolean
    Definition Classes
    Params
  29. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  30. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  31. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  32. lazy val params: Array[Param[_]]
    Definition Classes
    Params
  33. def resetSentenceIndices(metadata: Map[String, String]): Map[String, String]

    Reset sentence index in metadata by adding "sentence" -> "0"

    Reset sentence index in metadata by adding "sentence" -> "0"

    Attributes
    protected
  34. val resetSentenceIndices: BooleanParam

    Whether to reset sentence indices to treat the entire output as if it originates from a single document.

    Whether to reset sentence indices to treat the entire output as if it originates from a single document.

    When set to true, the metadata of each entity will be updated by assigning the sentence key a value of 0, effectively treating the entire output as if it comes from a single document, regardless of the original sentence boundaries. Default: False.

  35. final def set(paramPair: ParamPair[_]): ResetSentenceIndicesParam.this.type
    Attributes
    protected
    Definition Classes
    Params
  36. final def set(param: String, value: Any): ResetSentenceIndicesParam.this.type
    Attributes
    protected
    Definition Classes
    Params
  37. final def set[T](param: Param[T], value: T): ResetSentenceIndicesParam.this.type
    Definition Classes
    Params
  38. final def setDefault(paramPairs: ParamPair[_]*): ResetSentenceIndicesParam.this.type
    Attributes
    protected
    Definition Classes
    Params
  39. final def setDefault[T](param: Param[T], value: T): ResetSentenceIndicesParam.this.type
    Attributes
    protected[org.apache.spark.ml]
    Definition Classes
    Params
  40. def setResetSentenceIndices(value: Boolean): ResetSentenceIndicesParam.this.type

    Set whether to reset sentence indices to treat the entire output as if it originates from a single document.

    Set whether to reset sentence indices to treat the entire output as if it originates from a single document.

    When set to true, the metadata of each entity will be updated by assigning the sentence key a value of 0, effectively treating the entire output as if it comes from a single document, regardless of the original sentence boundaries. Default: False.

  41. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  42. def toString(): String
    Definition Classes
    Identifiable → AnyRef → Any
  43. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  44. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  45. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from Params

Inherited from Serializable

Inherited from Serializable

Inherited from Identifiable

Inherited from AnyRef

Inherited from Any

getParam

param

setParam

Ungrouped