Packages

c

com.johnsnowlabs.nlp.embeddings

WordEmbeddingsReader

class WordEmbeddingsReader extends StorageReader[Array[Float]] with ReadsFromBytes

Linear Supertypes
ReadsFromBytes, StorageReader[Array[Float]], HasConnection, AutoCloseable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. WordEmbeddingsReader
  2. ReadsFromBytes
  3. StorageReader
  4. HasConnection
  5. AutoCloseable
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new WordEmbeddingsReader(connection: RocksDBConnection, caseSensitiveIndex: Boolean, dimension: Int, maxCacheSize: Int)

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. def _lookup(index: String): Option[Array[Float]]
    Attributes
    protected
    Definition Classes
    StorageReader
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. val caseSensitiveIndex: Boolean
    Definition Classes
    WordEmbeddingsReaderStorageReader
  7. def clear(): Unit
    Definition Classes
    StorageReader
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  9. def close(): Unit
    Definition Classes
    HasConnection → AutoCloseable
  10. val connection: RocksDBConnection
    Definition Classes
    WordEmbeddingsReaderHasConnection
  11. def containsIndex(index: String): Boolean
    Definition Classes
    StorageReader
  12. def emptyValue: Array[Float]
    Definition Classes
    WordEmbeddingsReaderStorageReader
  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  15. def exportStorageToMap(): Map[BytesKey, Array[Byte]]
    Definition Classes
    StorageReader
  16. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. def fromBytes(source: Array[Byte]): Array[Float]
    Definition Classes
    ReadsFromBytes
  18. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. def getConnection: RocksDBConnection
    Definition Classes
    HasConnection
  20. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  21. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  22. def lookup(index: String): Option[Array[Float]]
    Definition Classes
    StorageReader
  23. def lookupDisk(index: String): Option[Array[Float]]
    Attributes
    protected
    Definition Classes
    StorageReader
  24. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  26. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  27. def readCacheSize: Int
    Attributes
    protected
    Definition Classes
    WordEmbeddingsReaderStorageReader
  28. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  29. def toString(): String
    Definition Classes
    AnyRef → Any
  30. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from ReadsFromBytes

Inherited from StorageReader[Array[Float]]

Inherited from HasConnection

Inherited from AutoCloseable

Inherited from AnyRef

Inherited from Any

Ungrouped