Packages

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
    @native() @HotSpotIntrinsicCandidate() @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. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. val lexicon: Lexicon[AnnotatedLabel, W]
  15. val loss: (Int, Int) ⇒ Double
  16. def lossAugmentation(datum: TreeInstance[AnnotatedLabel, W]): UnrefinedGrammarAnchoring[AnnotatedLabel, W]
  17. val losses: Array[Array[Double]]
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  21. def projectedLabel(l: AnnotatedLabel): Int
  22. val rootLossScaling: Double
  23. val sentimentScores: Array[Int]
  24. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  25. def toString(): String
    Definition Classes
    Function1 → AnyRef → Any
  26. val topology: RuleTopology[AnnotatedLabel]
  27. val trainTrees: IndexedSeq[TreeInstance[AnnotatedLabel, W]]
  28. val trainingMap: Map[IndexedSeq[W], TreeInstance[AnnotatedLabel, W]]
  29. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  31. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped