Moot::TokPP - libmoot : heuristic token analyzer (pseudo-morphology, wraps for Moot::Waste::Annotator)
use Moot::TokPP; ##===================================================================== ## Usage $pp = Moot::TokPP->new(); ##-- create a new pseudo-morphology $astr = $pp->analyze_text($str); ##-- analyze a single token text string $w = $pp->analyze_token($w); ##-- analyze a token HASH-ref $line = $pp->analyze_line($line); ##-- analyze a 'native' text line undef = $pp->analyze_stream($infh,$outfh); ##-- analyze a 'native' text stream $oref = $pp->analyze_buffer(\$ibuf); ##-- analyze a 'native' text buffer
The Moot::TokPP module provides a drop-in replacement for dwds_tomasotath-style tokenizer-supplied pseudo-morphological analyses.
This module is currently implemented as a thin wrapper around Moot::Waste::Annotator, which see.
Moot::Waste(3perl), Moot(3perl), waste(1), perl(1).
Bryan Jurish <moocow@cpan.org>
Copyright (C) 2013 by Bryan Jurish
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.14.2 or, at your option, any later version of Perl 5 you may have available.
To install Moot, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Moot
CPAN shell
perl -MCPAN -e shell install Moot
For more information on module installation, please visit the detailed CPAN module installation guide.