public class StackElement extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
StackElement.FormulaArg |
static class |
StackElement.StackState |
| Constructor and Description |
|---|
StackElement(Map<String,SumoProcessCollector> spcMap,
List<String> args)
Instantiate a StackElement with a sumoProcess map and a list of formula args.
|
| Modifier and Type | Method and Description |
|---|---|
void |
argsInit(Formula formula,
List<String> args)
Init the formulaArgs for this StackElement.
|
com.google.common.collect.Multimap<String,SumoProcessEntityProperty> |
getEntityProperties()
Getter and setter for translated field.
|
Map<String,SumoProcessCollector> |
getSumoProcessMap() |
boolean |
getTranslated()
Getter and setter for translated field.
|
String |
getTranslation() |
void |
setEntityProperties(com.google.common.collect.Multimap<String,SumoProcessEntityProperty> entityProperties) |
void |
setProcessPolarity(String predicate,
VerbProperties.Polarity polarity)
Set the polarity of current stack element's process.
|
void |
setProcessPolarity(VerbProperties.Polarity polarity)
Set polarity.
|
void |
setTranslation(String translation,
boolean translated)
Mark this stack element as having been translated.
|
public StackElement(Map<String,SumoProcessCollector> spcMap, List<String> args)
spcMap - args - public void argsInit(Formula formula, List<String> args)
formula - args - public void setTranslation(String translation, boolean translated)
translation - translated - public void setProcessPolarity(String predicate, VerbProperties.Polarity polarity)
predicate - polarity - public void setProcessPolarity(VerbProperties.Polarity polarity)
polarity - public boolean getTranslated()
public String getTranslation()
public com.google.common.collect.Multimap<String,SumoProcessEntityProperty> getEntityProperties()
public void setEntityProperties(com.google.common.collect.Multimap<String,SumoProcessEntityProperty> entityProperties)
public Map<String,SumoProcessCollector> getSumoProcessMap()
Copyright © 2015. All rights reserved.