This software provides a Perl Object-Oriented (OO) interface to the BabelFish translation service, allowing developers to integrate it into their applications.
To use the module, simply include the following code in the script:
use AltaVista::BabelFish;
Then, create a new BabelFish object using one of the four available options:
my $phish = AltaVista::BabelFish->new();
my $phish = AltaVista::BabelFish->new({ source => $src });
my $phish = AltaVista::BabelFish->new({ target => $trg });
my $phish = AltaVista::BabelFish->new({ source => $src, target => $trg });
By default, if $source and/or $target are not specified, the module will assume 'en' and 'es', respectively.
Overall, this module provides a simple, object oriented interface for integrating translation functionality into Perl scripts.
Version 42.0.2: N/A