|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectjsparky.OperationManager
フィールドの概要 | |
protected boolean |
debug
|
protected AggregatedElement |
prev
|
protected ReferringExpression |
ref
|
コンストラクタの概要 | |
OperationManager()
|
メソッドの概要 | |
protected AggregationResult |
aggregate(Operation operation,
RSTElement rst_elem,
Aggregatable a1,
Aggregatable a2)
Utility Functions below |
SentencePlan |
aggregate(RSTPlan rst_plan)
main loop |
protected void |
aggregate(SentencePlan splan,
RSTElement elem)
perform main aggregation |
protected java.util.List |
getAggregatableChildren(RSTElement parent)
get SentencePlanElement or PropositionElement |
protected java.util.List |
getAllOperations()
get all registered operations |
protected Operation |
getRandomOperation()
get random group and random operation |
java.lang.String |
getText(AggregatedElement elem)
get all the text under AggregatedElement |
void |
getText(AggregatedElement elem,
java.io.StringWriter sw)
|
RSTElement |
nextTarget(org.w3c.dom.Document doc)
|
void |
postProcess(SentencePlan splan)
this can be overriden to do other things |
void |
register(OperationGroup group,
int prob)
|
protected java.lang.Object[] |
selectTwo(java.util.List lis)
select two sequential objects |
void |
setDebug(boolean b)
|
void |
setRealizer(Realizer realizer)
|
void |
setTopPlan(boolean b)
set top plan flag to all operations |
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
フィールドの詳細 |
protected ReferringExpression ref
protected boolean debug
protected AggregatedElement prev
コンストラクタの詳細 |
public OperationManager()
メソッドの詳細 |
public void setRealizer(Realizer realizer)
public void register(OperationGroup group, int prob)
protected Operation getRandomOperation()
protected java.util.List getAllOperations()
public void setTopPlan(boolean b)
public SentencePlan aggregate(RSTPlan rst_plan)
public void postProcess(SentencePlan splan)
public RSTElement nextTarget(org.w3c.dom.Document doc)
protected java.util.List getAggregatableChildren(RSTElement parent)
protected void aggregate(SentencePlan splan, RSTElement elem)
protected AggregationResult aggregate(Operation operation, RSTElement rst_elem, Aggregatable a1, Aggregatable a2) throws AggregationException
AggregationException
protected java.lang.Object[] selectTwo(java.util.List lis)
public void setDebug(boolean b)
public java.lang.String getText(AggregatedElement elem)
public void getText(AggregatedElement elem, java.io.StringWriter sw)
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |