edu.stanford.nlp.util.ValuedInterval 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.
The newest version!
package edu.stanford.nlp.util;
/**
* Interval with value
*
* @author Angel Chang
*/
public class ValuedInterval> implements HasInterval {
T value;
Interval interval;
public ValuedInterval(T value, Interval interval) {
this.value = value;
this.interval = interval;
}
public T getValue() {
return value;
}
public Interval getInterval() {
return interval;
}
}