| 1 | package WebService::Simple::Yahoo::JP::API::Jlp; | ||
| 2 | our $VERSION = '0.01'; | ||
| 3 | use base qw(WebService::Simple::Yahoo::JP::API); | ||
| 4 | __PACKAGE__->config( | ||
| 5 | base_url => 'http://jlp.yahooapis.jp/', | ||
| 6 | ); | ||
| 7 | |||
| 8 | sub ma { shift->_post('MAService/V1/parse', @_); } | ||
| 9 | sub jim { shift->_post('JIMService/V1/conversion', @_); } | ||
| 10 | sub furigana { shift->_post('FuriganaService/V1/furigana', @_); } | ||
| 11 | sub kousei { shift->_post('KouseiService/V1/kousei', @_); } | ||
| 12 | sub da { shift->_post('DAService/V1/parse', @_); } | ||
| 13 | sub keyphrase { shift->_post('KeyphraseService/V1/extract', @_); } | ||
| 14 | 1; | ||
| 15 | __END__ |