Package | Description |
---|---|
opennlp.tools.parser |
Package containing common code for performing full syntactic parsing.
|
opennlp.tools.parser.chunking |
Package containing code for performing full syntactic parsing using shift/reduce-style decisions.
|
opennlp.tools.parser.lang.en | |
opennlp.tools.parser.lang.es | |
opennlp.tools.parser.treeinsert |
Package containing experimental code for performing full syntactic
parsing using attachment decisions.
|
Modifier and Type | Field and Description |
---|---|
protected HeadRules |
AbstractBottomUpParser.headRules
The head rules for the parser.
|
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 Dictionary |
AbstractBottomUpParser.buildDictionary(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 Dictionary |
AbstractBottomUpParser.buildDictionary(ObjectStream<Parse> data,
HeadRules rules,
TrainingParameters params)
Creates a n-gram dictionary from the specified data stream using the specified
head rule and specified cut-off.
|
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 |
---|
AbstractBottomUpParser(POSTagger tagger,
Chunker chunker,
HeadRules headRules,
int beamSize,
double advancePercentage) |
AbstractParserEventStream(ObjectStream<Parse> d,
HeadRules rules,
ParserEventTypeEnum etype) |
AbstractParserEventStream(ObjectStream<Parse> d,
HeadRules rules,
ParserEventTypeEnum etype,
Dictionary dict) |
ParserCrossValidator(String languageCode,
TrainingParameters params,
HeadRules rules,
ParserType parserType,
ParserEvaluationMonitor... monitors) |
ParserModel(String languageCode,
MaxentModel buildModel,
MaxentModel checkModel,
MaxentModel attachModel,
POSModel parserTagger,
ChunkerModel chunkerTagger,
HeadRules headRules,
ParserType modelType) |
ParserModel(String languageCode,
MaxentModel buildModel,
MaxentModel checkModel,
MaxentModel attachModel,
POSModel parserTagger,
ChunkerModel chunkerTagger,
HeadRules headRules,
ParserType modelType,
Map<String,String> manifestInfoEntries) |
ParserModel(String languageCode,
MaxentModel buildModel,
MaxentModel checkModel,
POSModel parserTagger,
ChunkerModel chunkerTagger,
HeadRules headRules,
ParserType type,
Map<String,String> manifestInfoEntries) |
Modifier and Type | Method and Description |
---|---|
static ParserModel |
Parser.train(String languageCode,
ObjectStream<Parse> parseSamples,
HeadRules rules,
TrainingParameters mlParams) |
Constructor and Description |
---|
ParserEventStream(ObjectStream<Parse> d,
HeadRules rules,
ParserEventTypeEnum etype) |
ParserEventStream(ObjectStream<Parse> d,
HeadRules rules,
ParserEventTypeEnum etype,
Dictionary dict)
Create an event stream based on the specified data stream of the specified type using
the specified head rules.
|
Modifier and Type | Class and Description |
---|---|
class |
HeadRules
Class for storing the English head rules associated with parsing.
|
Modifier and Type | Class and Description |
---|---|
class |
AncoraSpanishHeadRules
Class for storing the Ancora Spanish head rules associated with parsing.
|
Modifier and Type | Method and Description |
---|---|
static ParserModel |
Parser.train(String languageCode,
ObjectStream<Parse> parseSamples,
HeadRules rules,
int iterations,
int cut) |
static ParserModel |
Parser.train(String languageCode,
ObjectStream<Parse> parseSamples,
HeadRules rules,
TrainingParameters mlParams) |
Constructor and Description |
---|
ParserEventStream(ObjectStream<Parse> d,
HeadRules rules,
ParserEventTypeEnum etype) |
ParserEventStream(ObjectStream<Parse> d,
HeadRules rules,
ParserEventTypeEnum etype,
Dictionary dict) |
Copyright © 2017 The Apache Software Foundation. All rights reserved.