public class AnchoredPath extends Object
| Modifier and Type | Field and Description |
|---|---|
String |
arg1 |
String |
arg2 |
String |
path |
String |
source |
static Stemmer |
stemmer |
| Constructor and Description |
|---|
AnchoredPath(String line) |
AnchoredPath(String arg1,
String path,
String arg2,
String source,
int sentenceSpanStart,
int sentenceSpanEnd) |
| Modifier and Type | Method and Description |
|---|---|
static String |
lemmatizePath(String path)
given a lexicalized dependency path
path,
consisting of arcs and lexical items separated by colons,
replaces each lexical item by its lemma. |
static String |
reduceConjunction(String path)
if the path includes a constituent conjoined with either
arg1 or arg2, eliminate the conjoined constituent:
arg1 ...
|
String |
toString() |
public static Stemmer stemmer
public String arg1
public String path
public String arg2
public String source
public AnchoredPath(String arg1, String path, String arg2, String source, int sentenceSpanStart, int sentenceSpanEnd)
public AnchoredPath(String line)
public static String lemmatizePath(String path)
path,
consisting of arcs and lexical items separated by colons,
replaces each lexical item by its lemma.public static String reduceConjunction(String path)
Copyright © 2016 New York University. All rights reserved.