Packages

trait ReadSaTDLModel extends ReadOnnxModel with ReadSentencePieceModel

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ReadSaTDLModel
  2. ReadSentencePieceModel
  3. ReadOnnxModel
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. def loadSavedModel(modelPath: String, spark: SparkSession): SentenceDetectorSaTModel

    Load a SaT model from a local folder exported by the Hugging Face / ONNX export script.

    Load a SaT model from a local folder exported by the Hugging Face / ONNX export script.

    modelPath

    Local or remote (HDFS / S3 / GCS) path to the model folder.

    spark

    Active SparkSession.

    returns

    A ready-to-use SentenceDetectorSaTModel.

  13. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  15. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  16. val onnxFile: String
    Definition Classes
    ReadSaTDLModel → ReadOnnxModel
  17. def readModel(instance: SentenceDetectorSaTModel, path: String, spark: SparkSession): Unit
  18. def readOnnxModel(path: String, spark: SparkSession, suffix: String, zipped: Boolean = true, useBundle: Boolean = false, modelName: Option[String] = None, tmpFolder: Option[String] = None, dataFilePostfix: Option[String] = None): OnnxWrapper
    Definition Classes
    ReadOnnxModel
  19. def readOnnxModels(path: String, spark: SparkSession, modelNames: Seq[String], suffix: String, zipped: Boolean = true, useBundle: Boolean = false, dataFilePostfix: String = "_data"): Map[String, OnnxWrapper]
    Definition Classes
    ReadOnnxModel
  20. def readSentencePieceModel(path: String, spark: SparkSession, suffix: String, filename: String): SentencePieceWrapper
    Definition Classes
    ReadSentencePieceModel
  21. val sppFile: String
    Definition Classes
    ReadSaTDLModel → ReadSentencePieceModel
  22. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  23. def toString(): String
    Definition Classes
    AnyRef → Any
  24. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from ReadSentencePieceModel

Inherited from ReadOnnxModel

Inherited from AnyRef

Inherited from Any

Ungrouped