Parser inference for parses that have only observed annotations.
Parser inference for parses that have only observed annotations. Handles Structured, Span, and Lexicalized annotations.
epic.parser.models.IndexedFeaturizer are featurizers for "normal" unanchored grammars.
epic.parser.models.IndexedFeaturizer are featurizers for "normal" unanchored grammars. They define an indexed encoding of the features for each rule and label using indexed rule and indexed labels. Handles epic.parser.ProductionFeaturizer instances
Indexes and caches features for more efficient access.
Indexes and caches features for more efficient access. Two kinds of features: features we observed in a gold tree (true Features), and features we haven't. The latter are binned by hashcode into the higher-end of the feature index
Label
Word
Model for latent annotated grammars (Petrov and Klein, 2008).
Model for latent annotated grammars (Petrov and Klein, 2008).
Base trait for "normal" Parser-type models
A rather more sophisticated discriminative parser.
A rather more sophisticated discriminative parser. Uses features on the underlying span.
Model for structural annotations, a la Klein and Manning 2003.
Model for structural annotations, a la Klein and Manning 2003.
TODO
TODO
The main entry point for training discriminative parsers.
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.