Packages

object NGram extends DefaultParamsReadable[NGram] with Serializable

Annotations
@Since( "1.6.0" )
Source
NGram.scala
Linear Supertypes
Serializable, Serializable, DefaultParamsReadable[NGram], MLReadable[NGram], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. NGram
  2. Serializable
  3. Serializable
  4. DefaultParamsReadable
  5. MLReadable
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. def load(path: String): NGram

    Reads an ML instance from the input path, a shortcut of read.load(path).

    Reads an ML instance from the input path, a shortcut of read.load(path).

    Definition Classes
    NGramMLReadable
    Annotations
    @Since( "1.6.0" )
    Note

    Implementing classes should override this to be Java-friendly.

  2. def read: MLReader[NGram]

    Returns an MLReader instance for this class.

    Returns an MLReader instance for this class.

    Definition Classes
    DefaultParamsReadableMLReadable