NAME
DTA::TokWrap::Processor::tokenize::http - DTA tokenizer wrappers: http: external tokenizer via http (hack)
SYNOPSIS
use DTA::TokWrap::Processor::tokenize::http;
$tz = DTA::TokWrap::Processor::tokenize::http->new(%args);
$doc_or_undef = $tz->tokenize($doc);
DESCRIPTION
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.
Constants
- @ISA
-
DTA::TokWrap::Processor::tokenize::http::tomasotath inherits from DTA::TokWrap::Processor::tokenize::http.
Constructors etc.
- new
-
$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
-
%defaults = CLASS->defaults();
Static class-dependent defaults.
Methods
- tokenize
-
$doc_or_undef = $CLASS_OR_OBJECT->tokenize($doc);
See DTA::TokWrap::Processor::tokenize::http::tokenize::http().
SEE ALSO
DTA::TokWrap::Intro(3pm), dta-tokwrap.perl(1), ...
SEE ALSO
DTA::TokWrap::Intro(3pm), dta-tokwrap.perl(1), ...
AUTHOR
Bryan Jurish <moocow@cpan.org>
COPYRIGHT AND LICENSE
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.