Alberto Manuel Brandão Simões > Lingua-NATools-v0.7.8 > nat-dumpDicts

Download:
Lingua/Lingua-NATools-v0.7.8.tar.gz

Annotate this POD

View/Report Bugs
Source  

NAME ^

nat-dumpDicts - Command line tool to dump NATools PTDs

SYNOPSIS ^

   nat-dumpDicts <natools-dir>

   nat-dumpDicts -self <natools-dir>

DESCRIPTION ^

This command is used to dump NATools Probabilistic Translation Dictionaries in different formats. By default a Perl Data::Dumper format is used, but other formats are also available, like SQLite database.

Data::Dumper

To dump a PTD in Perl can be performed in three different ways:

SQLite database

When running this command you can supply a -sqlite=databasename option. In this case, instead of dumping in Perl Data::Dumper format, a sqlite database will be created. You can use this option with or without the -full flag, but there isn't a -self option as the output filename is supplied in the command line.

SEE ALSO ^

NATools documentation, perl(1)

AUTHOR ^

Alberto Manuel Brandão Simões, <ambs@cpan.org>

COPYRIGHT AND LICENSE ^

Copyright (C) 2006-2012 by Alberto Manuel Brandão Simões

syntax highlighting: