|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectjsparky.review.TermSwap
コンストラクタの概要 | |
TermSwap(java.lang.String dir)
load dictionary dir |
メソッドの概要 | |
java.lang.String |
getRandomAdjective(java.lang.String word,
int score)
get adjective based on the true distribution of adjective space |
java.util.Hashtable |
loadFile(java.lang.String path)
load food5.txt and so on made by getadjectives.pl |
void |
registerHash(java.lang.String word,
int score,
java.util.Hashtable hash)
register word-score adjective-list pair to hash |
void |
swapAdjective(org.w3c.dom.Document dss,
java.lang.String search_word,
java.lang.String word,
int score)
replace search_word's adjective with that of word with score |
void |
swapAdjective(Proposition prop)
|
void |
swapAdjective(RSTPlan rst_plan)
|
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
public TermSwap(java.lang.String dir)
メソッドの詳細 |
public java.lang.String getRandomAdjective(java.lang.String word, int score)
public void registerHash(java.lang.String word, int score, java.util.Hashtable hash)
public java.util.Hashtable loadFile(java.lang.String path) throws java.lang.Exception
java.lang.Exception
public void swapAdjective(RSTPlan rst_plan)
public void swapAdjective(Proposition prop)
public void swapAdjective(org.w3c.dom.Document dss, java.lang.String search_word, java.lang.String word, int score)
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |