Lingua::TFIDF::WordSegmenter::JA::MeCab - Word segmenter for Japanese documents
version 0.01
use utf8; use Lingua::TFIDF::WordSegmenter::JA::MeCab; my $segmenter = Lingua::TFIDF::WordSegmenter::JA::MeCab->new; my $iter = $segmenter->segment('思い出せ、思い出せ 11月5日を...'); while (defined(my $word = $iter->())) { ... }
This class is a word segmenter for documents written in Japanese.
Constructor.
Executes word segmentation on given $document and returns an word iterator.
$document
Text::MeCab
Koichi SATOH <sekia@cpan.org>
This software is Copyright (c) 2014 by Koichi SATOH.
This is free software, licensed under:
The MIT (X11) License
To install Lingua::TFIDF, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Lingua::TFIDF
CPAN shell
perl -MCPAN -e shell install Lingua::TFIDF
For more information on module installation, please visit the detailed CPAN module installation guide.