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
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: 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 anchor(words: IndexedSeq[W]): UnrefinedGrammarAnchoring[AnnotatedLabel, W]

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

  5. def andThen[A](g: (UnrefinedGrammarAnchoring[AnnotatedLabel, W]) ⇒ A): (TreeInstance[AnnotatedLabel, W]) ⇒ A
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  6. def apply(datum: TreeInstance[AnnotatedLabel, W]): UnrefinedGrammarAnchoring[AnnotatedLabel, W]
    Definition Classes
    LossAugmentation → Function1
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def compose[A](g: (A) ⇒ TreeInstance[AnnotatedLabel, W]): (A) ⇒ UnrefinedGrammarAnchoring[AnnotatedLabel, W]
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  10. val constraintFactory: Factory[AnnotatedLabel, W]
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. val lexicon: Lexicon[AnnotatedLabel, W]
  16. val loss: (Int, Int) ⇒ Double
  17. def lossAugmentation(datum: TreeInstance[AnnotatedLabel, W]): UnrefinedGrammarAnchoring[AnnotatedLabel, W]
  18. val losses: Array[Array[Double]]
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  22. def projectedLabel(l: AnnotatedLabel): Int
  23. val rootLossScaling: Double
  24. val sentimentScores: Array[Int]
  25. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  26. def toString(): String
    Definition Classes
    Function1 → AnyRef → Any
  27. val topology: RuleTopology[AnnotatedLabel]
  28. val trainTrees: IndexedSeq[TreeInstance[AnnotatedLabel, W]]
  29. val trainingMap: Map[IndexedSeq[W], TreeInstance[AnnotatedLabel, W]]
  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( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped