Class

com.johnsnowlabs.ml.tensorflow

NerDatasetEncoder

Related Doc: package tensorflow

Permalink

class NerDatasetEncoder extends AnyRef

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. NerDatasetEncoder
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new NerDatasetEncoder(embeddingsResolver: Function[String, Array[Float]], params: DatasetEncoderParams)

    Permalink

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. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. val char2Id: Map[Char, Int]

    Permalink
  6. val chars: Array[Char]

    Permalink
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def convertBatchTags(tags: Array[String], sentenceLength: Array[Int]): Array[Array[String]]

    Permalink

    Converts Tensorflow tags output to 2-dimensional Array with shape: (Batch, Sentence Length).

    Converts Tensorflow tags output to 2-dimensional Array with shape: (Batch, Sentence Length).

    tags

    2-dimensional tensor in plain array

    sentenceLength

    Every sentence length (number of words).

    returns

    List of tags for each sentence

  9. def decodeOutputData(tagIds: Array[Int]): Array[String]

    Permalink

    Converts Tag Identifiers to Source Names

    Converts Tag Identifiers to Source Names

    tagIds

    Tag Ids encoded for Tensorflow Model.

    returns

    Tag names

  10. val embeddingsResolver: Function[String, Array[Float]]

    Permalink
  11. def encodeInputData(sentences: Array[Array[String]]): NerBatch

    Permalink
  12. def encodeTags(tags: Array[Array[String]]): Array[Array[Int]]

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  17. def getOrElse[T](source: Array[T], i: Int, value: ⇒ T): T

    Permalink
  18. def hashCode(): Int

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

    Permalink
    Definition Classes
    Any
  20. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  21. def normalize(word: String): String

    Permalink
  22. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  24. val params: DatasetEncoderParams

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

    Permalink
    Definition Classes
    AnyRef
  26. val tag2Id: Map[String, Int]

    Permalink
  27. val tags: Array[String]

    Permalink
  28. def toString(): String

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

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped