public class AddSyntacticRelations extends Object
| Modifier and Type | Field and Description |
|---|---|
static String[] |
comlexDeterminers |
static String[] |
possessivePronouns |
static String[] |
prepositions |
| Constructor and Description |
|---|
AddSyntacticRelations() |
| Modifier and Type | Method and Description |
|---|---|
static void |
annotate(Document doc,
Span span)
annotate the constituents of document 'doc' within Span 'span'.
|
static int |
findPrepositionIndex(Annotation pp)
starting from a PP constituent node, returns the index of the
child node of category P or DP, or -1 if no such category is found.
|
public static final String[] prepositions
public static final String[] comlexDeterminers
public static final String[] possessivePronouns
public static void annotate(Document doc, Span span)
public static int findPrepositionIndex(Annotation pp)
Copyright © 2016 New York University. All rights reserved.