The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

App::SocialSKK - SKK Goes Social

SYNOPSIS

  use App::SocialSKK;

  my $social_skk = App::SocialSKK->new({
      plugins => [
          { name => 'SocialIME' },
      ],
  });
  my $candidates = $social_skk->get_candidates($text);

DESCRIPTION

App::SocialSKK provides a internal works for socialskk.pl.

This module is basically designed to perform searches against Social IME. Besides, it has pluggable mechanism, you can add other more data sources into it as you like. This distribution actually provides some plugins, for example, to retrieve candidates from Wikipedia suggest API.

You might want to consult the documentation of sociallskk.pl directly if you're not interested in the internal of this distribution'.

METHODS

new ( \%options )

      my $social_skk = App::SocialSKK->new({
          plugins => [
              { name => 'SocialIME' },
          ],
      });

    Creates and returns a new App::SocialSKK object.

get_candidates ( $text )

      my $candidates = $social_skk->get_candidates($text);

    Gets and returns candidates for the $text from datasources using plugins.

REPOSITORY

http://github.com/kentaro/perl-app-socialskk/tree/master

Please give me feedbacks via GitHub repository above.

SEE ALSO

  • Social IME

    http://www.social-ime.com/

  • socialskk.rb

    http://coderepos.org/share/browser/lang/ruby/misc/socialskk/socialskk.rb

AUTHOR

Kentaro Kuribayashi <kentaro@cpan.org>

COPYRIGHT AND LICENSE (The MIT License)

Copyright (c) Kentaro Kuribayashi <kentaro@cpan.org>

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.