
Text::Scws - Perl interface to libscws

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";

The Text::Scws module provides a Perl interface to the libscws (by hightman).
Text::Scws objects provide the following methods:
todo

todo

todo

Xueron Nee <xueron@xueron.com>
