NAME
MetaTrans::SlovnikZcuCz - MetaTrans plug-in for http://slovnik.zcu.cz/
CONSTRUCTOR METHODS
- MetaTrans::SlovnikZcuCz->new(%options)
-
This method constructs a new MetaTrans::SlovnikZcuCz object and returns it. All
%options
are passed toMetaTrans::Base->new
. The method also sets supported translation directions and thehost_server
attribute.
METHODS
Methods are inherited from MetaTrans::Base
. Following methods are overriden:
- $plugin->create_request($expression, $src_lang_code, $dest_lang_code)
-
Create and return a
HTTP::Request
object to be used for retrieving translation of the$expression
from$src_lang_code
language to$dest_lang_code
language. - $plugin->process_response($contents, $src_lang_code, $dest_lang_code)
-
Process the server response contents. Return the result of the translation in an array of following form:
(expression_1, translation_1, expression_2, translation_2, ...)
BUGS
Please report any bugs or feature requests to bug-metatrans@rt.cpan.org
, or through the web interface at http://rt.cpan.org. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
AUTHOR
Michal Spacek, <skim@cpan.org>
COPYRIGHT & LICENSE
Copyright 2009 Michal Spacek, All Rights Reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
SEE ALSO
MetaTrans, MetaTrans::Base, MetaTrans::Languages, Encode HTTP::Request, URI::Escape.