edu.stanford.nlp.parser.nndep.Example Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of stanford-parser Show documentation
Show all versions of stanford-parser Show documentation
Stanford Parser processes raw text in English, Chinese, German, Arabic, and French, and extracts constituency parse trees.
package edu.stanford.nlp.parser.nndep;
import java.util.List;
/**
* @author Christopher Manning
*/
class Example {
private final List feature;
private final List label;
public Example(List feature, List label) {
this.feature = feature;
this.label = label;
}
public List getFeature() {
return feature;
}
public List getLabel() {
return label;
}
}