Kazuhiro Osawa > Lingua-JA-Summarize-Extract > Lingua::JA::Summarize::Extract::Plugin::Parser::NgramSimple

Download:
Lingua-JA-Summarize-Extract-0.02.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Source  

NAME ^

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

DESCRIPTION ^

parse dose the word by using N-gram. all the character kinds are similarly treated. the number of N can be changed.

OPTIONS ^

gram

AUTHOR ^

Kazuhiro Osawa <ko@yappo.ne.jp>

LICENSE ^

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

syntax highlighting: