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), ...
DTA::TokWrap::Intro(3pm), dta-tokwrap.perl(1), ...
Bryan Jurish <jurish@bbaw.de>
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.