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. val detectLists: BooleanParam

    Permalink

    whether take lists into consideration at sentence detection

  12. final def eq(arg0: AnyRef): Boolean

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

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

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

    Permalink
    Definition Classes
    Params
  16. 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.

  17. final def extractParamMap(): ParamMap

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

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

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

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

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

    Permalink

    Custom sentence separator text

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

    Permalink
    Definition Classes
    Params
  24. def getDetectLists: Boolean

    Permalink

    Whether to take lists into consideration at sentence detection.

    Whether to take lists into consideration at sentence detection. Defaults to true.

  25. 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.

  26. def getMaxLength(value: Int): Int

    Permalink

    Get the maximum allowed length for each sentence

  27. def getMinLength(value: Int): Int

    Permalink

    Get the minimum allowed length for each sentence

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

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

    Permalink
    Definition Classes
    Params
  30. def getSplitLength: Int

    Permalink

    Length at which sentences will be forcibly split

  31. 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.

  32. 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.

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

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

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

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

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

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

    Permalink
    Definition Classes
    Params
  39. val maxLength: IntParam

    Permalink

    Set the maximum allowed length for each sentence

  40. val minLength: IntParam

    Permalink

    Set the minimum allowed length for each sentence

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

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

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

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

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

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

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

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

    Permalink

    Custom sentence separator text

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

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

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

    Permalink

    Whether to take lists into consideration at sentence detection.

    Whether to take lists into consideration at sentence detection. Defaults to true.

  52. 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.

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

    Permalink

    Set the maximum allowed length for each sentence

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

    Permalink

    Set the minimum allowed length for each sentence

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

    Permalink

    Length at which sentences will be forcibly split

  56. 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.

  57. 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.

  58. val splitLength: IntParam

    Permalink

    length at which sentences will be forcibly split.

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

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

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

    Permalink
  62. val useAbbrevations: BooleanParam

    Permalink

    whether to apply abbreviations at sentence detection

  63. val useCustomBoundsOnly: BooleanParam

    Permalink

    whether to only utilize custom bounds for sentence detection

  64. final def wait(): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  66. 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