Object/Class

com.johnsnowlabs.nlp.embeddings

UniversalSentenceEncoder

Related Docs: class UniversalSentenceEncoder | package embeddings

Permalink

object UniversalSentenceEncoder extends ReadablePretrainedUSEModel with ReadUSETensorflowModel with Serializable

This is the companion object of UniversalSentenceEncoder. Please refer to that class for the documentation.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. UniversalSentenceEncoder
  2. Serializable
  3. Serializable
  4. ReadUSETensorflowModel
  5. ReadTensorflowModel
  6. ReadablePretrainedUSEModel
  7. HasPretrained
  8. ParamsAndFeaturesReadable
  9. DefaultParamsReadable
  10. MLReadable
  11. AnyRef
  12. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

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 ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def addReader(reader: (UniversalSentenceEncoder, String, SparkSession) ⇒ Unit): Unit

    Permalink
    Definition Classes
    ParamsAndFeaturesReadable
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. val defaultLang: String

    Permalink
    Definition Classes
    HasPretrained
  8. lazy val defaultLoc: String

    Permalink
    Definition Classes
    HasPretrained
  9. val defaultModelName: Some[String]

    Permalink
  10. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  14. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. def load(path: String): UniversalSentenceEncoder

    Permalink
    Definition Classes
    MLReadable
    Annotations
    @Since( "1.6.0" )
  17. def loadSavedModel(folder: String, spark: SparkSession, loadSP: Boolean = false): UniversalSentenceEncoder

    Permalink
    Definition Classes
    ReadUSETensorflowModel
  18. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  21. def pretrained(name: String, lang: String, remoteLoc: String): UniversalSentenceEncoder

    Permalink

    Java default argument interoperability

    Java default argument interoperability

    Definition Classes
    ReadablePretrainedUSEModelHasPretrained
  22. def pretrained(name: String, lang: String): UniversalSentenceEncoder

    Permalink
  23. def pretrained(name: String): UniversalSentenceEncoder

    Permalink
  24. def pretrained(): UniversalSentenceEncoder

    Permalink

    Java compliant-overrides

    Java compliant-overrides

    Definition Classes
    ReadablePretrainedUSEModelHasPretrained
  25. def read: MLReader[UniversalSentenceEncoder]

    Permalink
    Definition Classes
    ParamsAndFeaturesReadable → DefaultParamsReadable → MLReadable
  26. def readTensorflow(instance: UniversalSentenceEncoder, path: String, spark: SparkSession): Unit

    Permalink
    Definition Classes
    ReadUSETensorflowModel
  27. def readTensorflowChkPoints(path: String, spark: SparkSession, suffix: String, zipped: Boolean = true, tags: Array[String] = Array.empty, initAllTables: Boolean = false): TensorflowWrapper

    Permalink
    Definition Classes
    ReadTensorflowModel
  28. def readTensorflowHub(path: String, spark: SparkSession, suffix: String, zipped: Boolean = true, useBundle: Boolean = false, tags: Array[String] = Array.empty): TensorflowWrapper

    Permalink
    Definition Classes
    ReadTensorflowModel
  29. def readTensorflowModel(path: String, spark: SparkSession, suffix: String, zipped: Boolean = true, useBundle: Boolean = false, tags: Array[String] = Array.empty, initAllTables: Boolean = false, savedSignatures: Option[Map[String, String]] = None): TensorflowWrapper

    Permalink
    Definition Classes
    ReadTensorflowModel
  30. def readTensorflowWithSPModel(path: String, spark: SparkSession, suffix: String, zipped: Boolean = true, useBundle: Boolean = false, tags: Array[String] = Array.empty, initAllTables: Boolean = false, loadSP: Boolean = false): TensorflowWrapper

    Permalink
    Definition Classes
    ReadTensorflowModel
  31. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  32. val tfFile: String

    Permalink
  33. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  34. final def wait(): Unit

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

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

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

Inherited from Serializable

Inherited from Serializable

Inherited from ReadUSETensorflowModel

Inherited from ReadTensorflowModel

Inherited from DefaultParamsReadable[UniversalSentenceEncoder]

Inherited from MLReadable[UniversalSentenceEncoder]

Inherited from AnyRef

Inherited from Any

Ungrouped