まぁ需要はないと思うんですが一応。内部的にはWebService::Simpleみたいになってるんでサクッと対応できます。
ダウンロード
使い方
python code
import yahooapi.jlp as jlpclient = jlp.JIMServiceAPI("your_apikey")result = client.conversion(sentence=u"かなかんじへんかんたいしょうのてきすとです")for i in result.Result.SegmentList.Segment[0].CandidateList.Candidate:print i#=>#かな#佳な#仮名#カナ#カナ#加奈#可奈#佳奈#香奈#香菜#華奈#花奈#哉#金
うむ。
No comments yet
trackback uriLeave a Comment