Class/Object

epic.sentiment

SentimentLossAugmentation

Related Docs: object SentimentLossAugmentation | package sentiment

Permalink

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)

    Permalink

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

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

    Permalink

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

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

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

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

    Permalink
    Definition Classes
    Any
  8. def clone(): AnyRef

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

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

    Permalink
  11. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  12. def finalize(): Unit

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

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

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

    Permalink
  16. val loss: (Int, Int) ⇒ Double

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

    Permalink
  18. val losses: Array[Array[Double]]

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

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

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

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

    Permalink
  23. val rootLossScaling: Double

    Permalink
  24. val sentimentScores: Array[Int]

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

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

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

    Permalink
  28. val trainTrees: IndexedSeq[TreeInstance[AnnotatedLabel, W]]

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

    Permalink
  30. final def wait(): Unit

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

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

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

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped