Uses of Interface
opennlp.tools.parser.HeadRules
Packages that use HeadRules
Package
Description
Package containing common code for performing full syntactic parsing.
Package containing code for performing full syntactic parsing using shift/reduce-style decisions.
Package containing experimental code for performing full syntactic
parsing using attachment decisions.
-
Uses of HeadRules in opennlp.tools.parser
Fields in opennlp.tools.parser declared as HeadRulesModifier and TypeFieldDescriptionprotected HeadRules
AbstractBottomUpParser.headRules
The head rules for the parser.protected final HeadRules
AbstractParserEventStream.rules
Methods in opennlp.tools.parser that return HeadRulesMethods in opennlp.tools.parser with parameters of type HeadRulesModifier and TypeMethodDescriptionvoid
Sister adjoins this node's last child and the specified sister node and returns their new parent node.Parse.adjoinRoot
(Parse node, HeadRules rules, int parseIndex) static Dictionary
AbstractBottomUpParser.buildDictionary
(ObjectStream<Parse> data, HeadRules rules, int cutoff) Creates a n-gramDictionary
from the specified data stream usingHeadRules
and specified cut-off.static Dictionary
AbstractBottomUpParser.buildDictionary
(ObjectStream<Parse> data, HeadRules rules, TrainingParameters params) Creates a n-gramDictionary
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.Constructors in opennlp.tools.parser with parameters of type HeadRulesModifierConstructorDescriptionAbstractBottomUpParser
(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) Initializes aParserCrossValidator
instance via given parameters.ParserModel
(String languageCode, MaxentModel buildModel, MaxentModel checkModel, MaxentModel attachModel, POSModel parserTagger, ChunkerModel chunkerTagger, HeadRules headRules, ParserType modelType) Initializes aParserModel
instance via given parameters.ParserModel
(String languageCode, MaxentModel buildModel, MaxentModel checkModel, MaxentModel attachModel, POSModel parserTagger, ChunkerModel chunkerTagger, HeadRules headRules, ParserType modelType, Map<String, String> manifestInfoEntries) Initializes aParserModel
instance via given parameters.ParserModel
(String languageCode, MaxentModel buildModel, MaxentModel checkModel, POSModel parserTagger, ChunkerModel chunkerTagger, HeadRules headRules, ParserType type, Map<String, String> manifestInfoEntries) Initializes aParserModel
instance via given parameters. -
Uses of HeadRules in opennlp.tools.parser.chunking
Methods in opennlp.tools.parser.chunking with parameters of type HeadRulesModifier and TypeMethodDescriptionstatic ParserModel
Parser.train
(String languageCode, ObjectStream<Parse> parseSamples, HeadRules rules, TrainingParameters mlParams) Starts a training of aParserModel
.Constructors in opennlp.tools.parser.chunking with parameters of type HeadRulesModifierConstructorDescriptionParserEventStream
(ObjectStream<Parse> d, HeadRules rules, ParserEventTypeEnum etype) ParserEventStream
(ObjectStream<Parse> d, HeadRules rules, ParserEventTypeEnum etype, Dictionary dict) -
Uses of HeadRules in opennlp.tools.parser.lang.en
Classes in opennlp.tools.parser.lang.en that implement HeadRules -
Uses of HeadRules in opennlp.tools.parser.lang.es
Classes in opennlp.tools.parser.lang.es that implement HeadRulesModifier and TypeClassDescriptionclass
Class for storing the Ancora Spanish head rules associated with parsing. -
Uses of HeadRules in opennlp.tools.parser.treeinsert
Methods in opennlp.tools.parser.treeinsert with parameters of type HeadRulesModifier and TypeMethodDescriptionstatic ParserModel
Parser.train
(String languageCode, ObjectStream<Parse> parseSamples, HeadRules rules, int iterations, int cutoff) Starts a training of aParserModel
.static ParserModel
Parser.train
(String languageCode, ObjectStream<Parse> parseSamples, HeadRules rules, TrainingParameters mlParams) Starts a training of aParserModel
.Constructors in opennlp.tools.parser.treeinsert with parameters of type HeadRulesModifierConstructorDescriptionParserEventStream
(ObjectStream<Parse> d, HeadRules rules, ParserEventTypeEnum etype) ParserEventStream
(ObjectStream<Parse> d, HeadRules rules, ParserEventTypeEnum etype, Dictionary dict)