public class AttachContextGenerator extends AbstractContextGenerator
| Constructor and Description |
|---|
AttachContextGenerator(java.util.Set<java.lang.String> punctSet) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String[] |
getContext(java.lang.Object o) |
java.lang.String[] |
getContext(Parse[] constituents,
int index,
java.util.List<Parse> rightFrontier,
int rfi) |
public AttachContextGenerator(java.util.Set<java.lang.String> punctSet)
public java.lang.String[] getContext(java.lang.Object o)
public java.lang.String[] getContext(Parse[] constituents, int index, java.util.List<Parse> rightFrontier, int rfi)
constituents - The constituents as they have been constructed so far.index - The constituent index of the node being attached.rightFrontier - The nodes which have been not attach to so far.Copyright © 2010 - 2020 Adobe. All Rights Reserved