|
NAMELingua::JA::Summarize::Extract::Plugin::Parser::NgramSimple - a word parser by N-gram Simply SYNOPSIS use strict;
use warnings;
use utf8;
use Lingua::JA::Summarize::Extract;
my $text = '';
my $text = '日本語の文章を適当に書く。';
my $summary = Lingua::JA::Summarize::Extract->extract($text, { plugins => [ 'ParserNgramSimple' ], gram => 2 });
print "$summary";
DESCRIPTIONparse dose the word by using N-gram. all the character kinds are similarly treated. the number of N can be changed. OPTIONSAUTHORKazuhiro Osawa <ko@yappo.ne.jp> LICENSEThis library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. POD ERRORSHey! The above document had some coding errors, which are explained below:
|