Lingua::JA::Summarize::Extract::Plugin::Parser::NgramSimple - a word parser by N-gram Simply


Lingua-JA-Summarize-Extract documentation  | view source Contained in the Lingua-JA-Summarize-Extract distribution.

Index


NAME

Top

Lingua::JA::Summarize::Extract::Plugin::Parser::NgramSimple - a word parser by N-gram Simply

SYNOPSIS

Top

    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

Top

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

OPTIONS

Top

gram

AUTHOR

Top

Kazuhiro Osawa <ko@yappo.ne.jp>

LICENSE

Top

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


Lingua-JA-Summarize-Extract documentation  | view source Contained in the Lingua-JA-Summarize-Extract distribution.