DTA::TokWrap::Processor::tokenize::http - DTA tokenizer wrappers: http: external tokenizer via http (hack)
use DTA::TokWrap::Processor::tokenize::http; $tz = DTA::TokWrap::Processor::tokenize::http->new(%args); $doc_or_undef = $tz->tokenize($doc);
This class is currently just a wrapper for the band-aid CGI script at http://kaskade.dwds.de/~moocow/opensearch/tok-cgi.perl .
Most users should use the high-level DTA::TokWrap wrapper class instead of using this module directly.
DTA::TokWrap::Processor::tokenize::http::tomasotath inherits from DTA::TokWrap::Processor::tokenize::http.
$tz = $CLASS_OR_OBJ->new(%args);
%args, %$tz: (none yet)
serverurl => $url, ##-- server url (default='http://kaskade.dwds.de/~moocow/opensearch/tok-cgi.perl') txtparam => $param, ##-- text query parameter (default='t') timeout => $secs, ##-- user agent timeout (default=300) ua => $ua, ##-- low-level underlying LWP::UserAgent
%defaults = CLASS->defaults();
Static class-dependent defaults.
$doc_or_undef = $CLASS_OR_OBJECT->tokenize($doc);
See DTA::TokWrap::Processor::tokenize::http::tokenize::http().
DTA::TokWrap::Intro(3pm), dta-tokwrap.perl(1), ...
Bryan Jurish <moocow@cpan.org>
Copyright (C) 2009-2018 by Bryan Jurish
This package 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 DTA::TokWrap, copy and paste the appropriate command in to your terminal.
cpanm
cpanm DTA::TokWrap
CPAN shell
perl -MCPAN -e shell install DTA::TokWrap
For more information on module installation, please visit the detailed CPAN module installation guide.