epic.sentiment

SentimentLossAugmentation

case class SentimentLossAugmentation[W](trainTrees: IndexedSeq[TreeInstance[AnnotatedLabel, W]], topology: RuleTopology[AnnotatedLabel], lexicon: Lexicon[AnnotatedLabel, W], constraintFactory: Factory[AnnotatedLabel, W], loss: (Int, Int) ⇒ Double = ..., rootLossScaling: Double = 1.0) extends LossAugmentation[TreeInstance[AnnotatedLabel, W], UnrefinedGrammarAnchoring[AnnotatedLabel, W]] with Product with Serializable

TODO

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. SentimentLossAugmentation
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. LossAugmentation
  7. Function1
  8. AnyRef
  9. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SentimentLossAugmentation(trainTrees: IndexedSeq[TreeInstance[AnnotatedLabel, W]], topology: RuleTopology[AnnotatedLabel], lexicon: Lexicon[AnnotatedLabel, W], constraintFactory: Factory[AnnotatedLabel, W], loss: (Int, Int) ⇒ Double = ..., rootLossScaling: Double = 1.0)

Type Members

  1. case class SentimentLossAnchoring[L, W](topology: RuleTopology[L], lexicon: Lexicon[L, W], words: IndexedSeq[W], goldLabels: Map[Span, Int], sparsityPattern: ChartConstraints[L]) extends UnrefinedGrammarAnchoring[L, W] with Product with Serializable

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def anchor(words: IndexedSeq[W]): UnrefinedGrammarAnchoring[AnnotatedLabel, W]

    Returns a epic.parser.UnrefinedGrammarAnchoring for this particular sentence.

    Returns a epic.parser.UnrefinedGrammarAnchoring for this particular sentence.

    words
    returns

  7. def andThen[A](g: (UnrefinedGrammarAnchoring[AnnotatedLabel, W]) ⇒ A): (TreeInstance[AnnotatedLabel, W]) ⇒ A

    Definition Classes
    Function1
    Annotations
    @unspecialized()
  8. def apply(datum: TreeInstance[AnnotatedLabel, W]): UnrefinedGrammarAnchoring[AnnotatedLabel, W]

    Definition Classes
    LossAugmentation → Function1
  9. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  10. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. def compose[A](g: (A) ⇒ TreeInstance[AnnotatedLabel, W]): (A) ⇒ UnrefinedGrammarAnchoring[AnnotatedLabel, W]

    Definition Classes
    Function1
    Annotations
    @unspecialized()
  12. val constraintFactory: Factory[AnnotatedLabel, W]

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

    Definition Classes
    AnyRef
  14. def finalize(): Unit

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

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

    Definition Classes
    Any
  17. val lexicon: Lexicon[AnnotatedLabel, W]

  18. val loss: (Int, Int) ⇒ Double

  19. def lossAugmentation(datum: TreeInstance[AnnotatedLabel, W]): UnrefinedGrammarAnchoring[AnnotatedLabel, W]

  20. val losses: Array[Array[Double]]

  21. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  22. final def notify(): Unit

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

    Definition Classes
    AnyRef
  24. def projectedLabel(l: AnnotatedLabel): Int

  25. val rootLossScaling: Double

  26. val sentimentScores: Array[Int]

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

    Definition Classes
    AnyRef
  28. def toString(): String

    Definition Classes
    Function1 → AnyRef → Any
  29. val topology: RuleTopology[AnnotatedLabel]

  30. val trainTrees: IndexedSeq[TreeInstance[AnnotatedLabel, W]]

  31. val trainingMap: Map[IndexedSeq[W], TreeInstance[AnnotatedLabel, W]]

  32. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped