o

epic.parser.models

ParserTrainer

object ParserTrainer extends ParserPipeline with SerializableLogging

The main entry point for training discriminative parsers. Has a main method inherited from ParserPipeline. Use --help to see options, or just look at the Params class.

Linear Supertypes
ParserPipeline, SerializableLogging, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ParserTrainer
  2. ParserPipeline
  3. SerializableLogging
  4. Serializable
  5. Serializable
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. case class Params (modelFactory: ParserExtractableModelFactory[AnnotatedLabel, String], name: String = null, cache: CacheBroker, parser: File = null, opt: OptParams, useAdadelta: Boolean = false, determinizeTraining: Boolean = false, iterationsPerEval: Int = 100, maxIterations: Int = 1002, iterPerValidate: Int = 30, threads: Int = 1, randomize: Boolean = false, enforceReachability: Boolean = true, useConstraints: Boolean = true, checkGradient: Boolean = false, checkGradientsAt: String = null, maxParseLength: Int = 70, computeTrainLL: Boolean = true, annotator: TreeAnnotator[AnnotatedLabel, String, AnnotatedLabel] = GenerativeParser.defaultAnnotator()) extends 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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def computeLL(trainTrees: IndexedSeq[TreeInstance[AnnotatedLabel, String]], model: Model[TreeInstance[AnnotatedLabel, String]], weights: DenseVector[Double]): Unit
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. def evalParser(testTrees: IndexedSeq[TreeInstance[AnnotatedLabel, String]], parser: Parser[AnnotatedLabel, String], name: String): Statistics
    Definition Classes
    ParserPipeline
  10. def evaluateNow: Boolean
  11. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. def logger: LazyLogger
    Attributes
    protected
    Definition Classes
    SerializableLogging
  16. def main(args: Array[String]): Unit

    Trains a sequence of parsers and evaluates them.

    Trains a sequence of parsers and evaluates them.

    Definition Classes
    ParserPipeline
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  20. val paramManifest: Manifest[Params]
    Attributes
    protected
    Definition Classes
    ParserTrainerParserPipeline
  21. def sentTooLong(p: TreeInstance[AnnotatedLabel, String], maxLength: Int): Boolean
  22. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  23. def toString(): String
    Definition Classes
    AnyRef → Any
  24. def trainParser(trainTrees: IndexedSeq[TreeInstance[AnnotatedLabel, String]], validate: (Parser[AnnotatedLabel, String]) ⇒ Statistics, params: Params): Iterator[(String, Parser[AnnotatedLabel, String])]

    The main point of entry for implementors.

    The main point of entry for implementors. Should return a sequence of parsers

    Definition Classes
    ParserTrainerParserPipeline
  25. def trainParser(treebank: ProcessedTreebank, params: Params): Iterator[(String, Parser[AnnotatedLabel, String])]
    Definition Classes
    ParserPipeline
  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( ... )

Inherited from ParserPipeline

Inherited from SerializableLogging

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped