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
Ordering
- Alphabetic
- By Inheritance
Inherited
- ParserTrainer
- ParserPipeline
- SerializableLogging
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
- 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
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- def computeLL(trainTrees: IndexedSeq[TreeInstance[AnnotatedLabel, String]], model: Model[TreeInstance[AnnotatedLabel, String]], weights: DenseVector[Double]): Unit
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
evalParser(testTrees: IndexedSeq[TreeInstance[AnnotatedLabel, String]], parser: Parser[AnnotatedLabel, String], name: String): Statistics
- Definition Classes
- ParserPipeline
- def evaluateNow: Boolean
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
logger: LazyLogger
- Attributes
- protected
- Definition Classes
- SerializableLogging
-
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
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
val
paramManifest: Manifest[Params]
- Attributes
- protected
- Definition Classes
- ParserTrainer → ParserPipeline
- def sentTooLong(p: TreeInstance[AnnotatedLabel, String], maxLength: Int): Boolean
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
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
- ParserTrainer → ParserPipeline
-
def
trainParser(treebank: ProcessedTreebank, params: Params): Iterator[(String, Parser[AnnotatedLabel, String])]
- Definition Classes
- ParserPipeline
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )