Package opennlp.tools.parser.treeinsert
Klasse BuildContextGenerator
java.lang.Object
opennlp.tools.parser.AbstractContextGenerator
opennlp.tools.parser.treeinsert.BuildContextGenerator
Creates the features or contexts for the building phase of parsing.
 This phase builds constituents from the left-most node of these
 constituents.
- Siehe auch:
- 
KonstruktorübersichtKonstruktoren
- 
MethodenübersichtModifizierer und TypMethodeBeschreibungString[]getContext(Object o) String[]getContext(Parse[] constituents, int index) Finds the contexts/features for the decision to build a new constituent for the specified parse at the specifiedindex.
- 
Konstruktordetails- 
BuildContextGeneratorpublic BuildContextGenerator()Instantiates aBuildContextGeneratorfor making decisions.
 
- 
- 
Methodendetails- 
getContext
- 
getContextFinds the contexts/features for the decision to build a new constituent for the specified parse at the specifiedindex.- Parameter:
- constituents- The- constituentsof the parse so far.
- index- The index of the constituent where a build decision is being made.
- Gibt zurück:
- The contexts/features for the decision to build a new constituent.
 
 
-