| Package | Description |
|---|---|
| eus.ixa.ixa.pipe.ml |
Package containing common code for training and evaluating IXA pipes models.
|
| eus.ixa.ixa.pipe.ml.parse |
Package containing the Parser classes.
|
| Modifier and Type | Method and Description |
|---|---|
static HeadRules |
ShiftReduceParserTrainer.getHeadRules(opennlp.tools.util.TrainingParameters params) |
| Modifier and Type | Class and Description |
|---|---|
class |
AncoraHeadRules
Class for obtaining head rules from Spanish Ancora parse trees.
|
class |
PennTreebankHeadRules
Class for storing the English head rules associated with parsing.
|
| Modifier and Type | Field and Description |
|---|---|
protected HeadRules |
AbstractParserEventStream.rules |
| Modifier and Type | Method and Description |
|---|---|
HeadRules |
ParserModel.getHeadRules() |
| Modifier and Type | Method and Description |
|---|---|
void |
Parse.add(Parse daughter,
HeadRules rules) |
Parse |
Parse.adjoin(Parse sister,
HeadRules rules)
Sister adjoins this node's last child and the specified sister node and
returns their new parent node.
|
Parse |
Parse.adjoinRoot(Parse node,
HeadRules rules,
int parseIndex) |
static opennlp.tools.dictionary.Dictionary |
ShiftReduceParser.buildDictionary(opennlp.tools.util.ObjectStream<Parse> data,
HeadRules rules,
int cutoff)
Creates a n-gram dictionary from the specified data stream using the
specified head rule and specified cut-off.
|
static opennlp.tools.dictionary.Dictionary |
ShiftReduceParser.buildDictionary(opennlp.tools.util.ObjectStream<Parse> data,
HeadRules rules,
opennlp.tools.util.TrainingParameters params)
Creates a n-gram dictionary from the specified data stream using the
specified head rule and specified cut-off.
|
static ParserModel |
ShiftReduceParser.train(String languageCode,
opennlp.tools.util.ObjectStream<Parse> parseSamples,
HeadRules rules,
opennlp.tools.util.TrainingParameters trainParams,
ParserFactory parserFactory,
SequenceLabelerModel posModel,
opennlp.tools.util.TrainingParameters chunkerParams,
SequenceLabelerFactory chunkerFactory) |
static ParserModel |
ShiftReduceParser.train(String languageCode,
opennlp.tools.util.ObjectStream<Parse> parseSamples,
HeadRules rules,
opennlp.tools.util.TrainingParameters trainParams,
ParserFactory parserFactory,
opennlp.tools.util.TrainingParameters taggerParams,
SequenceLabelerFactory taggerFactory,
opennlp.tools.util.TrainingParameters chunkerParams,
SequenceLabelerFactory chunkerFactory) |
void |
Parse.updateHeads(HeadRules rules)
Computes the head parses for this parse and its sub-parses and stores this
information in the parse data structure.
|
| Constructor and Description |
|---|
AbstractParserEventStream(opennlp.tools.util.ObjectStream<Parse> dataStream,
HeadRules rules,
opennlp.tools.parser.ParserEventTypeEnum etype) |
ParserEventStream(opennlp.tools.util.ObjectStream<Parse> d,
HeadRules rules,
opennlp.tools.parser.ParserEventTypeEnum etype) |
ParserEventStream(opennlp.tools.util.ObjectStream<Parse> samples,
HeadRules rules,
opennlp.tools.parser.ParserEventTypeEnum etype,
ParserFactory factory) |
ParserModel(String languageCode,
opennlp.tools.ml.model.MaxentModel buildModel,
opennlp.tools.ml.model.MaxentModel checkModel,
SequenceLabelerModel parserTagger,
SequenceLabelerModel chunkerTagger,
int beamSize,
HeadRules headRules) |
ParserModel(String languageCode,
opennlp.tools.ml.model.MaxentModel buildModel,
opennlp.tools.ml.model.MaxentModel checkModel,
SequenceLabelerModel parserTagger,
SequenceLabelerModel chunkerTagger,
int beamSize,
HeadRules headRules,
Map<String,String> manifestInfoEntries) |
ShiftReduceParser(opennlp.tools.ml.model.MaxentModel buildModel,
opennlp.tools.ml.model.MaxentModel checkModel,
SequenceLabelerME tagger,
SequenceLabelerME chunker,
HeadRules headRules,
int beamSize,
double advancePercentage)
Creates a new parser using the specified models and head rules using the
specified beam size and advance percentage.
|
Copyright © 2017 IXA pipes. All rights reserved.