Trait

com.johnsnowlabs.nlp.annotators.sbd

SentenceDetectorParams

Related Doc: package sbd

Permalink

trait SentenceDetectorParams extends Params

See https://github.com/JohnSnowLabs/spark-nlp/tree/master/src/test/scala/com/johnsnowlabs/nlp/annotators/sbd/pragmatic for further reference on how to use this API

Linear Supertypes
Params, Serializable, Serializable, Identifiable, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SentenceDetectorParams
  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

    Permalink
    Definition Classes
    Params
  2. abstract val uid: String

    Permalink
    Definition Classes
    Identifiable

Concrete Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Attributes
    protected
    Definition Classes
    Params
  4. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. final def clear(param: Param[_]): SentenceDetectorParams.this.type

    Permalink
    Definition Classes
    Params
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def copyValues[T <: Params](to: T, extra: ParamMap): T

    Permalink
    Attributes
    protected
    Definition Classes
    Params
  9. val customBounds: StringArrayParam

    Permalink

    characters used to explicitly mark sentence bounds

  10. final def defaultCopy[T <: Params](extra: ParamMap): T

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

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

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

    Permalink
    Definition Classes
    Params
  14. def explainParams(): String

    Permalink
    Definition Classes
    Params
  15. val explodeSentences: BooleanParam

    Permalink

    whether to explode each sentence into a different row, for better parallelization.

    whether to explode each sentence into a different row, for better parallelization. Defaults to false.

  16. final def extractParamMap(): ParamMap

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

    Permalink
    Definition Classes
    Params
  18. def finalize(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  21. def getCustomBounds: Array[String]

    Permalink

    Custom sentence separator text

  22. final def getDefault[T](param: Param[T]): Option[T]

    Permalink
    Definition Classes
    Params
  23. def getExplodeSentences: Boolean

    Permalink

    Whether to split sentences into different Dataset rows.

    Whether to split sentences into different Dataset rows. Useful for higher parallelism in fat rows. Defaults to false.

  24. def getMaxLength(value: Int): Int

    Permalink

    Get the maximum allowed length for each sentence

  25. def getMinLength(value: Int): Int

    Permalink

    Get the minimum allowed length for each sentence

  26. final def getOrDefault[T](param: Param[T]): T

    Permalink
    Definition Classes
    Params
  27. def getParam(paramName: String): Param[Any]

    Permalink
    Definition Classes
    Params
  28. def getSplitLength: Int

    Permalink

    Length at which sentences will be forcibly split

  29. def getUseAbbreviations: Boolean

    Permalink

    Whether to consider abbreviation strategies for better accuracy but slower performance.

    Whether to consider abbreviation strategies for better accuracy but slower performance. Defaults to true.

  30. def getUseCustomBoundsOnly: Boolean

    Permalink

    Use only custom bounds without considering those of Pragmatic Segmenter.

    Use only custom bounds without considering those of Pragmatic Segmenter. Defaults to false. Needs customBounds.

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

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

    Permalink
    Definition Classes
    Params
  33. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  34. final def isDefined(param: Param[_]): Boolean

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

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

    Permalink
    Definition Classes
    Params
  37. val maxLength: IntParam

    Permalink

    Set the maximum allowed length for each sentence

  38. val minLength: IntParam

    Permalink

    Set the minimum allowed length for each sentence

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

    Permalink
    Definition Classes
    AnyRef
  40. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  41. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  42. lazy val params: Array[Param[_]]

    Permalink
    Definition Classes
    Params
  43. final def set(paramPair: ParamPair[_]): SentenceDetectorParams.this.type

    Permalink
    Attributes
    protected
    Definition Classes
    Params
  44. final def set(param: String, value: Any): SentenceDetectorParams.this.type

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

    Permalink
    Definition Classes
    Params
  46. def setCustomBounds(value: Array[String]): SentenceDetectorParams.this.type

    Permalink

    Custom sentence separator text

  47. final def setDefault(paramPairs: ParamPair[_]*): SentenceDetectorParams.this.type

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

    Permalink
    Attributes
    protected
    Definition Classes
    Params
  49. def setExplodeSentences(value: Boolean): SentenceDetectorParams.this.type

    Permalink

    Whether to split sentences into different Dataset rows.

    Whether to split sentences into different Dataset rows. Useful for higher parallelism in fat rows. Defaults to false.

  50. def setMaxLength(value: Int): SentenceDetectorParams.this.type

    Permalink

    Set the maximum allowed length for each sentence

  51. def setMinLength(value: Int): SentenceDetectorParams.this.type

    Permalink

    Set the minimum allowed length for each sentence

  52. def setSplitLength(value: Int): SentenceDetectorParams.this.type

    Permalink

    Length at which sentences will be forcibly split

  53. def setUseAbbreviations(value: Boolean): SentenceDetectorParams.this.type

    Permalink

    Whether to consider abbreviation strategies for better accuracy but slower performance.

    Whether to consider abbreviation strategies for better accuracy but slower performance. Defaults to true.

  54. def setUseCustomBoundsOnly(value: Boolean): SentenceDetectorParams.this.type

    Permalink

    Use only custom bounds without considering those of Pragmatic Segmenter.

    Use only custom bounds without considering those of Pragmatic Segmenter. Defaults to false. Needs customBounds.

  55. val splitLength: IntParam

    Permalink

    length at which sentences will be forcibly split.

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

    Permalink
    Definition Classes
    AnyRef
  57. def toString(): String

    Permalink
    Definition Classes
    Identifiable → AnyRef → Any
  58. def truncateSentence(sentence: String, maxLength: Int): Array[String]

    Permalink
  59. val useAbbrevations: BooleanParam

    Permalink

    whether to apply abbreviations at sentence detection

  60. val useCustomBoundsOnly: BooleanParam

    Permalink

    whether to only utilize custom bounds for sentence detection

  61. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Params

Inherited from Serializable

Inherited from Serializable

Inherited from Identifiable

Inherited from AnyRef

Inherited from Any

Ungrouped