NAME

Moot::TokPP - libmoot : heuristic token analyzer (pseudo-morphology, wraps for Moot::Waste::Annotator)

SYNOPSIS

  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

DESCRIPTION

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.

SEE ALSO

Moot::Waste(3perl), Moot(3perl), waste(1), perl(1).

AUTHOR

Bryan Jurish <moocow@cpan.org>

COPYRIGHT AND LICENSE

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.