アットウィキロゴ

yahoo gijiroku

import java.net.URLEncoder;

class yahoo{

String bun;
String str,urlx;

void makedata(String word){

bun="";
urlx="";

try{

str = URLEncoder.encode(word,"utf-8");

urlx="http://jlp.yahooapis.jp/MAService/V1/parse?appid=WoXaNHexg668pKcMtkTiHW1IEwmWXxh55u41_G.ivEbV70qjf2UqLvdMYd4S7A--&results=ma,uniq&uniq_filter=9|10&sentence=";
urlx=urlx+str;

}catch(Exception e) { System.err.println(e); }  

getdata gt=new getdata();
gt.makedata(urlx);
bun=gt.data;  

}


}
最終更新:2011年05月07日 16:14