public class QuantifiableEntityExtractor
extends java.lang.Object
src/edu/stanford/nlp/ie/qe/rules/
Constructor and Description |
---|
QuantifiableEntityExtractor() |
Modifier and Type | Method and Description |
---|---|
java.util.List<MatchedExpression> |
extract(CoreMap annotation) |
SimpleQuantifiableEntity |
get(double amount,
java.lang.String unitName) |
void |
init(Options options) |
void |
init(java.lang.String name,
java.util.Properties props) |
static void |
main(java.lang.String[] args) |
public SimpleQuantifiableEntity get(double amount, java.lang.String unitName)
public java.util.List<MatchedExpression> extract(CoreMap annotation)
public void init(java.lang.String name, java.util.Properties props)
public void init(Options options)
public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception