Packages

c

com.johnsnowlabs.nlp.embeddings

WordEmbeddingsWriter

class WordEmbeddingsWriter extends StorageBatchWriter[Array[Float]] with ReadsFromBytes

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

Instance Constructors

  1. new WordEmbeddingsWriter(connection: RocksDBConnection, caseSensitiveIndex: Boolean, dimension: Int, maxCacheSize: Int, writeBuffer: 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 add(word: String, content: Array[Float]): Unit
    Definition Classes
    StorageBatchWriterStorageWriter
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  7. def close(): Unit
    Definition Classes
    StorageBatchWriterStorageWriterHasConnection → AutoCloseable
  8. val connection: RocksDBConnection
    Definition Classes
    WordEmbeddingsWriterHasConnection
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. def flush(batch: WriteBatch): Unit
    Definition Classes
    StorageBatchWriterStorageWriter
  13. def fromBytes(source: Array[Byte]): Array[Float]
    Definition Classes
    ReadsFromBytes
  14. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. def getConnection: RocksDBConnection
    Definition Classes
    HasConnection
  16. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. def merge(word: String, content: Array[Float]): Unit
    Definition Classes
    StorageBatchWriter
  19. def merge(batch: WriteBatch, word: String, content: Array[Float]): Unit
    Attributes
    protected
    Definition Classes
    StorageWriter
  20. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. def put(batch: WriteBatch, word: String, content: Array[Float]): Unit
    Attributes
    protected
    Definition Classes
    StorageWriter
  24. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  25. def toBytes(content: Array[Float]): Array[Byte]
    Definition Classes
    WordEmbeddingsWriterStorageWriter
  26. def toString(): String
    Definition Classes
    AnyRef → Any
  27. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  30. def writeBufferSize: Int
    Attributes
    protected
    Definition Classes
    WordEmbeddingsWriterStorageWriter

Inherited from ReadsFromBytes

Inherited from StorageBatchWriter[Array[Float]]

Inherited from StorageWriter[Array[Float]]

Inherited from HasConnection

Inherited from AutoCloseable

Inherited from AnyRef

Inherited from Any

Ungrouped