NAME
Dict::Db - Perl extension for translating Arabic words into another language
SYNOPSIS
use Dict::Db;
use Dict::Word;
my $db=Dict::Db->new("./dicts","en"); my $word=Dict::Word->new(ARABIC_WORD_IN_UTF8);
open FOUTPUT, ">>TEST" or die "Cannot create TEST: $!\n"; binmode(FOUTPUT,":utf8"); print FOUTPUT $word->get_translation($db); close FOUTPUT;
$db->display_html(); $db->display_latex(); $db->import("file");
DESCRIPTION
This module will take care of the translation DB. You just need to create the DB object, specifying the folder and the language. Translations will be looked for in the files under that folder, according to the "%".$radix_of_the_word. This is necessary because the shell will treat as hidden all the files beginning with a dot, whilch may be a beginning ArabTex character.
This module may also export in HTML or ArabTeX all the files, as well as import from other DBs.
SEE ALSO
You may find more info about ArabTeX at ftp://ftp.informatik.uni-stuttgart.de/pub/arabtex/arabtex.htm
AUTHOR
Andrea Benazzo, <andy@slacky.it>
COPYRIGHT AND LICENSE
Copyright (c) 2005 Andrea Benazzo. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.