Object

epic.parser.models

ParserTrainer

Related Doc: package models

Permalink

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

    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. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  6. def computeLL(trainTrees: IndexedSeq[TreeInstance[AnnotatedLabel, String]], model: Model[TreeInstance[AnnotatedLabel, String]], weights: DenseVector[Double]): Unit

    Permalink
  7. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    ParserPipeline
  10. def evaluateNow: Boolean

    Permalink
  11. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  12. def hashCode(): Int

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

    Permalink
    Definition Classes
    Any
  14. def logger: LazyLogger

    Permalink
    Attributes
    protected
    Definition Classes
    SerializableLogging
  15. def main(args: Array[String]): Unit

    Permalink

    Trains a sequence of parsers and evaluates them.

    Trains a sequence of parsers and evaluates them.

    Definition Classes
    ParserPipeline
  16. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  19. val paramManifest: Manifest[Params]

    Permalink

    Required manifest for the params

    Required manifest for the params

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  23. def trainParser(trainTrees: IndexedSeq[TreeInstance[AnnotatedLabel, String]], validate: (Parser[AnnotatedLabel, String]) ⇒ Statistics, params: Params): Iterator[(String, Parser[AnnotatedLabel, String])]

    Permalink

    The main point of entry for implementors.

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

    Definition Classes
    ParserTrainerParserPipeline
  24. def trainParser(treebank: ProcessedTreebank, params: Params): Iterator[(String, Parser[AnnotatedLabel, String])]

    Permalink
    Definition Classes
    ParserPipeline
  25. final def wait(arg0: Long, arg1: Int): Unit

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

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

Inherited from SerializableLogging

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped