Class/Object

epic.parser.models

LatentModelFactory

Related Docs: object LatentModelFactory | package models

Permalink

case class LatentModelFactory(annotator: TreeAnnotator[AnnotatedLabel, String, AnnotatedLabel] = Xbarize(), substates: File = null, splitUselessStates: Boolean = false, numStates: Int = 2, oldWeights: File = null) extends ParserModelFactory[AnnotatedLabel, String] with SafeLogging with Product with Serializable

Model for latent annotated grammars (Petrov and Klein, 2008).

Linear Supertypes
Serializable, Serializable, Product, Equals, SafeLogging, ParserModelFactory[AnnotatedLabel, String], ParserExtractableModelFactory[AnnotatedLabel, String], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LatentModelFactory
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. SafeLogging
  7. ParserModelFactory
  8. ParserExtractableModelFactory
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new LatentModelFactory(annotator: TreeAnnotator[AnnotatedLabel, String, AnnotatedLabel] = Xbarize(), substates: File = null, splitUselessStates: Boolean = false, numStates: Int = 2, oldWeights: File = null)

    Permalink

Type Members

  1. type MyModel = LatentParserModel[AnnotatedLabel, (AnnotatedLabel, Int), String]

    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. val annotator: TreeAnnotator[AnnotatedLabel, String, AnnotatedLabel]

    Permalink
  5. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  8. def extractBasicCounts[L, W](trees: IndexedSeq[TreeInstance[L, W]]): (Counter2[L, W, Double], Counter2[L, BinaryRule[L], Double], Counter2[L, UnaryRule[L], Double])

    Permalink
    Attributes
    protected
    Definition Classes
    ParserExtractableModelFactory
  9. def finalize(): Unit

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

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

    Permalink
    Definition Classes
    Any
  12. def logger: Logger

    Permalink
    Definition Classes
    SafeLogging
  13. def make(trainTrees: IndexedSeq[TreeInstance[AnnotatedLabel, String]], topology: RuleTopology[AnnotatedLabel], lexicon: Lexicon[AnnotatedLabel, String], constrainer: Factory[AnnotatedLabel, String]): MyModel

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

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

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

    Permalink
    Definition Classes
    AnyRef
  17. val numStates: Int

    Permalink
  18. val oldWeights: File

    Permalink
  19. def readWeights(in: File): Counter[Feature, Double]

    Permalink
  20. val splitUselessStates: Boolean

    Permalink
  21. val substates: File

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

    Permalink
    Definition Classes
    AnyRef
  23. final def wait(): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. 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 SafeLogging

Inherited from ParserModelFactory[AnnotatedLabel, String]

Inherited from AnyRef

Inherited from Any

Ungrouped