public class BuildContextGenerator extends AbstractContextGenerator
Constructor and Description |
---|
BuildContextGenerator() |
Modifier and Type | Method and Description |
---|---|
String[] |
getContext(Object o) |
String[] |
getContext(Parse[] constituents,
int index)
Returns the contexts/features for the decision to build a new constituent for the specified parse
at the specified index.
|
public String[] getContext(Parse[] constituents, int index)
constituents
- The constituents of the parse so far.index
- The index of the constituent where a build decision is being made.Copyright © 2018 The Apache Software Foundation. All rights reserved.