Class/Object

org.clulab.dynet

ConstEmbeddingsGlove

Related Docs: object ConstEmbeddingsGlove | package dynet

Permalink

class ConstEmbeddingsGlove extends ConstEmbeddings

Implements the ConstEmbeddings using GloVe vectors Note: two difference from the vanilla GloVe vectors are: - Words with low frequency may be filtered out of the matrix - The empty string ("") stands for UNK; it is typically computed by averaging the embeddings of the culled words

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

Instance Constructors

  1. new ConstEmbeddingsGlove(matrixResourceName: String, isResource: Boolean = true)

    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. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def dim: Int

    Permalink
    Definition Classes
    ConstEmbeddingsGloveConstEmbeddings
  7. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. def get(word: String): Expression

    Permalink
  11. final def getClass(): Class[_]

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

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

    Permalink
    Definition Classes
    Any
  14. val lookupParameters: LookupParameter

    Permalink
  15. def mkEmbeddings(words: Iterable[String]): ExpressionVector

    Permalink

    The generated Expressions must be const, i.e., they are not updated during the backprop phase This is necessary so we can share the same (large) object between different tasks

    The generated Expressions must be const, i.e., they are not updated during the backprop phase This is necessary so we can share the same (large) object between different tasks

    Definition Classes
    ConstEmbeddingsGloveConstEmbeddings
  16. def mkLookupParams(): (LookupParameter, Map[String, Int])

    Permalink
  17. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  20. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  21. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  22. val w2i: Map[String, Int]

    Permalink
  23. final def wait(): Unit

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

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

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

Inherited from ConstEmbeddings

Inherited from AnyRef

Inherited from Any

Ungrouped