Package

org.clulab

dynet

Permalink

package dynet

Visibility
  1. Public
  2. All

Type Members

  1. case class AnnotatedSentence(words: IndexedSeq[String], posTags: Option[IndexedSeq[String]] = None, neTags: Option[IndexedSeq[String]] = None) extends Product with Serializable

    Permalink
  2. class Chart extends AnyRef

    Permalink
  3. class CoNLLSRLToMetal extends AnyRef

    Permalink

    Reads a CoNLL-2008 formatted file (containing semantic roles) and converts it to our own Metal format User: mihais Date: 5/5/15 Last Modified: 08/05/2020: Added the latest Metal format Update for Scala 2.12: bug #10151 workaround.

  4. case class ConstEmbeddingParameters(collection: ParameterCollection, lookupParameters: LookupParameter, w2i: Map[String, Int]) extends Product with Serializable

    Permalink

    Stores lookup parameters + the map from strings to ids

  5. class ConstEmbeddingsGlove extends AnyRef

    Permalink
  6. case class Dependency(mod: Int, head: Int, score: Float, rank: Int, label: String = "") extends Product with Serializable

    Permalink

    Stores one dependency for the Eisner algorithm Indexes for head and mod start at 1 for the first word in the sentence; 0 is reserved for root

  7. case class DualLabel(modifier: Int, head: Int, label: String) extends Label with Product with Serializable

    Permalink

    Label information for a dual task that classifies pairs of words (modifier and head) Note: offsets for modifier and head start at 0.

    Label information for a dual task that classifies pairs of words (modifier and head) Note: offsets for modifier and head start at 0. "root" heads have index -1

  8. class Eisner extends AnyRef

    Permalink
  9. class EmbeddingLayer extends InitialLayer

    Permalink

    This layer takes a sequence of words and produces a sequence of Expression that stores the words' full embeddings

  10. trait FinalLayer extends Saveable

    Permalink
  11. abstract class ForwardLayer extends FinalLayer

    Permalink
  12. class GreedyForwardLayer extends ForwardLayer

    Permalink
  13. trait InitialLayer extends Saveable

    Permalink

    First layer that occurs in a sequence modeling architecture: goes from words to Expressions

  14. trait IntermediateLayer extends Saveable

    Permalink

    Intermediate layer in a sequence modeling architecture: goes from ExpressionVector to ExpressionVector

  15. trait Label extends AnyRef

    Permalink
  16. class Layers extends Saveable

    Permalink

    A sequence of layers that implements a complete NN architecture for sequence modeling

  17. class Metal extends AnyRef

    Permalink

    Multi-task learning (MeTaL) for sequence modeling Designed to model any sequence task (e.g., POS tagging, NER), and SRL

  18. class MetalRowReader extends RowReader

    Permalink
  19. class MetalShell extends Shell

    Permalink
  20. case class ModifierHeadPair(modifier: Int, head: Int) extends Product with Serializable

    Permalink

    Indexes for pairs of words (modifier and head) Note: offsets for modifier and head start at 0.

    Indexes for pairs of words (modifier and head) Note: offsets for modifier and head start at 0. "root" heads have index -1

  21. case class PrimalLabel(label: String) extends Label with Product with Serializable

    Permalink
  22. class RnnLayer extends IntermediateLayer

    Permalink

    This layer applies a biLSTM over the sequence of Expressions produced by a previous layer

  23. trait RowReader extends AnyRef

    Permalink
  24. class SafeTrainer extends AnyRef

    Permalink
  25. trait Saveable extends AnyRef

    Permalink
  26. case class ScoreCounts(correct: Int = 0, gold: Int = 0, predicted: Int = 0) extends Product with Serializable

    Permalink
  27. class ScoreCountsByLabel extends AnyRef

    Permalink
  28. class SentenceIterator extends Iterator[(Int, Array[Row])]

    Permalink
  29. case class Shard(taskId: Int, startPosition: Int, endPosition: Int) extends Product with Serializable

    Permalink
  30. class Span extends AnyRef

    Permalink
  31. class Task extends AnyRef

    Permalink
  32. class TaskManager extends Configured

    Permalink

    Manages the tasks in LstmCrfMtl

  33. class Utils extends AnyRef

    Permalink
  34. class ViterbiForwardLayer extends ForwardLayer

    Permalink

Value Members

  1. object ArrayMath

    Permalink

    Some really basic vector math that happens outside of DyNet

  2. object CnnExample extends App

    Permalink
  3. object CoNLLSRLToMetal

    Permalink
  4. object CoNLLUToMetal

    Permalink

    Converts the standard CoNLLU syntactic dependency format to Metal

  5. object CoNLLYToMetal

    Permalink

    Converts Robert's CoNLLY format (for syntactic dependencies, from his LREC 2020 paper) to Metal

  6. object ConstEmbeddingsGlove

    Permalink

    Implements the ConstEmbeddings as a thin wrapper around WordEmbeddingMap with additional functionality to produce embeddings as DyNet Expressions

  7. object Eisner

    Permalink
  8. object EmbeddingLayer

    Permalink
  9. object EvalEisner extends App

    Permalink

    Evaluates the Eisner algorithm as an unlabeled parsing algorithm

  10. object ForwardLayer

    Permalink
  11. object GreedyForwardLayer

    Permalink
  12. object Layers

    Permalink
  13. object Metal

    Permalink
  14. object MetalRowReader

    Permalink
  15. object ModelAveraging extends App

    Permalink

    Averages the parameter weights from multiple DyNet model files

  16. object ModelDiff extends App

    Permalink

    Diffs 2 DyNet models Necessary to

  17. object RnnLayer

    Permalink
  18. object SafeTrainer

    Permalink
  19. object SeqScorer

    Permalink

    Scores the labels assigned to a sequence of words Unlike the CoNLL-2003 scorer, this scorer operates over individual tokens rather than entity spans

  20. object Span

    Permalink
  21. object TaskManager

    Permalink
  22. object Utils

    Permalink

    Utility methods used by DyNet applications

  23. object ViterbiForwardLayer

    Permalink

Ungrouped