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


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

Index


NAME

Top

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

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); # default plugin
    print "$summary";

DESCRIPTION

Top

parse dose the word by using N-gram. the number of N can be changed by KATAKANA, KANJI, and the Latin character.

OPTIONS

Top

latin_gram

latin character

kana_gram

katakana character

han_gram

kanji character

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.