Xueron Nee > Text-Scws-0.01 > Text::Scws

Download:
Text-Scws-0.01.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.01   Source  

NAME ^

Text::Scws - Perl interface to libscws

SYNOPSIS ^

  use Text::Scws;
  $scws = Text::Scws->new();
  $scws->set_dict('/path/to/dict.xdb');
  $scws->set_rule('/path/to/rule.ini');
  $scws->set_ignore(1);
  $scws->set_multi(1);

  $s = shift;
  $scws->send_text($s);
  while ($r = $scws->get_result()) {
    foreach (@$r) {
        print $_->{word}, " ";
    }
  }
  print "\n";

DESCRIPTION ^

The Text::Scws module provides a Perl interface to the libscws (by hightman).

Utility methods

Text::Scws objects provide the following methods:

todo

ERRORS ^

todo

NOTES ^

todo

AUTHOR ^

Xueron Nee <xueron@xueron.com>

SEE ALSO ^

SCWS - http://www.hightman.cn/index.php?scws

syntax highlighting: