t

epic.parser.models

ParserModel

trait ParserModel[L, W] extends Model[TreeInstance[L, W]] with ParserExtractable[L, W]

Base trait for "normal" Parser-type models

Linear Supertypes
ParserExtractable[L, W], Model[TreeInstance[L, W]], Model[TreeInstance[L, W]], SerializableLogging, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ParserModel
  2. ParserExtractable
  3. Model
  4. Model
  5. SerializableLogging
  6. Serializable
  7. Serializable
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type ExpectedCounts = StandardExpectedCounts[Feature]
    Definition Classes
    ModelModel
  2. abstract type Inference <: ParserInference[L, W]
    Definition Classes
    ParserModelModel
  3. type Marginal = ParseMarginal[L, W]
    Definition Classes
    ParserModelModel
  4. type Scorer = GrammarAnchoring[L, W]
    Definition Classes
    ParserModelModel

Abstract Value Members

  1. abstract def accumulateCounts(inf: Inference, s: Scorer, d: TreeInstance[L, W], m: Marginal, accum: ExpectedCounts, scale: Double): Unit
    Definition Classes
    Model
  2. abstract def constrainer: Factory[L, W]
    Definition Classes
    ParserExtractable
  3. abstract def featureIndex: Index[Feature]

    Models have features, and this defines the mapping from indices in the weight vector to features.

    Models have features, and this defines the mapping from indices in the weight vector to features.

    Definition Classes
    Model
  4. abstract def inferenceFromWeights(weights: DenseVector[Double]): Inference
    Definition Classes
    Model
  5. abstract def initialValueForFeature(f: Feature): Double
    Definition Classes
    Model
  6. abstract def lexicon: Lexicon[L, W]
    Definition Classes
    ParserExtractable
  7. abstract def topology: RuleTopology[L]
    Definition Classes
    ParserExtractable

Concrete 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. final def accumulateCounts(inf: Inference, d: TreeInstance[L, W], accum: ExpectedCounts, scale: Double): Unit
    Definition Classes
    Model
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def cacheFeatureWeights(weights: DenseVector[Double], suffix: String = ""): Unit

    Caches the weights using the cache broker.

    Caches the weights using the cache broker.

    Definition Classes
    Model
  7. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def emptyCounts: StandardExpectedCounts[Feature]
    Definition Classes
    ModelModel
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. final def expectedCounts(inf: Inference, d: TreeInstance[L, W], scale: Double = 1.0): ExpectedCounts
    Definition Classes
    Model
  12. def expectedCountsToObjective(ecounts: ExpectedCounts): (Double, DenseVector[Double])
    Definition Classes
    ModelModel
  13. def extractParser(weights: DenseVector[Double])(implicit deb: Debinarizer[L]): Parser[L, W]
    Definition Classes
    ParserModelParserExtractable
  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. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. def logger: LazyLogger
    Attributes
    protected
    Definition Classes
    SerializableLogging
  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 numFeatures: Int
    Definition Classes
    Model
  23. def readCachedFeatureWeights(suffix: String = ""): Option[DenseVector[Double]]

    just saves feature weights to disk as a serialized counter.

    just saves feature weights to disk as a serialized counter. The file is prefix.ser.gz

    Definition Classes
    Model
  24. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  25. def toString(): String
    Definition Classes
    AnyRef → Any
  26. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. def weightsCacheName: String
    Attributes
    protected
    Definition Classes
    Model

Inherited from ParserExtractable[L, W]

Inherited from Model[TreeInstance[L, W]]

Inherited from Model[TreeInstance[L, W]]

Inherited from SerializableLogging

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped