Packages

t

com.johnsnowlabs.nlp.annotators.sbd

SentenceDetectorParams

trait SentenceDetectorParams extends Params

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
    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[_]): SentenceDetectorParams.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. val customBounds: StringArrayParam

    characters used to explicitly mark sentence bounds

  10. final def defaultCopy[T <: Params](extra: ParamMap): T
    Attributes
    protected
    Definition Classes
    Params
  11. val detectLists: BooleanParam

    whether take lists into consideration at sentence detection

  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  14. def explainParam(param: Param[_]): String
    Definition Classes
    Params
  15. def explainParams(): String
    Definition Classes
    Params
  16. val explodeSentences: BooleanParam

    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
    Definition Classes
    Params
  18. final def extractParamMap(extra: ParamMap): ParamMap
    Definition Classes
    Params
  19. def finalize(): Unit
    Attributes
    protected[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
    Annotations
    @native()
  22. def getCustomBounds: Array[String]

    Custom sentence separator text

  23. final def getDefault[T](param: Param[T]): Option[T]
    Definition Classes
    Params
  24. def getDetectLists: Boolean

    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

    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

    Get the maximum allowed length for each sentence

  27. def getMinLength(value: Int): Int

    Get the minimum allowed length for each sentence

  28. final def getOrDefault[T](param: Param[T]): T
    Definition Classes
    Params
  29. def getParam(paramName: String): Param[Any]
    Definition Classes
    Params
  30. def getSplitLength: Int

    Length at which sentences will be forcibly split

  31. def getUseAbbreviations: Boolean

    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

    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
    Definition Classes
    Params
  34. def hasParam(paramName: String): Boolean
    Definition Classes
    Params
  35. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  36. final def isDefined(param: Param[_]): Boolean
    Definition Classes
    Params
  37. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  38. final def isSet(param: Param[_]): Boolean
    Definition Classes
    Params
  39. val maxLength: IntParam

    Set the maximum allowed length for each sentence

  40. val minLength: IntParam

    Set the minimum allowed length for each sentence

  41. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  42. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  43. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  44. lazy val params: Array[Param[_]]
    Definition Classes
    Params
  45. final def set(paramPair: ParamPair[_]): SentenceDetectorParams.this.type
    Attributes
    protected
    Definition Classes
    Params
  46. final def set(param: String, value: Any): SentenceDetectorParams.this.type
    Attributes
    protected
    Definition Classes
    Params
  47. final def set[T](param: Param[T], value: T): SentenceDetectorParams.this.type
    Definition Classes
    Params
  48. def setCustomBounds(value: Array[String]): SentenceDetectorParams.this.type

    Custom sentence separator text

  49. final def setDefault(paramPairs: ParamPair[_]*): SentenceDetectorParams.this.type
    Attributes
    protected
    Definition Classes
    Params
  50. final def setDefault[T](param: Param[T], value: T): SentenceDetectorParams.this.type
    Attributes
    protected
    Definition Classes
    Params
  51. def setDetectLists(value: Boolean): SentenceDetectorParams.this.type

    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

    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

    Set the maximum allowed length for each sentence

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

    Set the minimum allowed length for each sentence

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

    Length at which sentences will be forcibly split

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

    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

    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

    length at which sentences will be forcibly split.

  59. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  60. def toString(): String
    Definition Classes
    Identifiable → AnyRef → Any
  61. def truncateSentence(sentence: String, maxLength: Int): Array[String]
  62. val useAbbrevations: BooleanParam

    whether to apply abbreviations at sentence detection

  63. val useCustomBoundsOnly: BooleanParam

    whether to only utilize custom bounds for sentence detection

  64. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  65. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  66. 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

Ungrouped