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
    @HotSpotIntrinsicCandidate() @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. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  13. final def isInstanceOf[T0]: Boolean

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  20. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  21. def projectedLabel(l: AnnotatedLabel): Int

    Permalink
  22. val rootLossScaling: Double

    Permalink
  23. val sentimentScores: Array[Int]

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

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

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

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

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

    Permalink
  29. final def wait(arg0: Long, arg1: Int): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(): Unit

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

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    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