epic.parser.models

ParserTrainer

object ParserTrainer extends ParserPipeline with LazyLogging

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, LazyLogging, Logging, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ParserTrainer
  2. ParserPipeline
  3. LazyLogging
  4. Logging
  5. AnyRef
  6. Any
  1. Hide All
  2. Show all
Learn more about member selection
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, 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, annotator: TreeAnnotator[AnnotatedLabel, String, AnnotatedLabel] = ...) extends Product with Serializable

    The type of the parameters to read in via dlwh.

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

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

    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  10. def evalParser(testTrees: IndexedSeq[TreeInstance[AnnotatedLabel, String]], parser: Parser[AnnotatedLabel, String], name: String): Statistics

    Definition Classes
    ParserPipeline
  11. def evaluateNow: Boolean

  12. def finalize(): Unit

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

    Definition Classes
    AnyRef → Any
  14. def hashCode(): Int

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

    Definition Classes
    Any
  16. lazy val logger: Logger

    Attributes
    protected
    Definition Classes
    LazyLogging → Logging
  17. 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
  18. final def ne(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  21. val paramManifest: Manifest[Params]

    Required manifest for the params

    Required manifest for the params

    Attributes
    protected
    Definition Classes
    ParserTrainerParserPipeline
  22. def sentTooLong(p: TreeInstance[AnnotatedLabel, String], maxLength: Int): Boolean

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

    Definition Classes
    AnyRef
  24. def toString(): String

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

    Definition Classes
    ParserPipeline
  27. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from ParserPipeline

Inherited from LazyLogging

Inherited from Logging

Inherited from AnyRef

Inherited from Any

Ungrouped