This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
x = c.eval("res");//複数ファイルの頻度情報の結果(式は略) | |
REXPList temp1 = x._attr(); | |
RList list1 = temp1.asList(); | |
REXP temp = list1.at(1); | |
RList temp2 = temp.asList(); | |
//区切られた単語が1次元配列に入っている | |
String[] words =temp2.at(0).asStrings(); | |
//頻度情報が1次元配列で入っている | |
double[] freq = x.asDoubles(); |