nat-lex2perl - dumps a lexicon file as Perl hash.
nat-lex2perl <file.lex>
This tool is used mainly for debug of lexicon files (file.lex files). Pass one as parameter and it will output a Data::Dumper file with the lexicon information.
file.lex
NATools documentation, perl(1)
Alberto Manuel Brandão Simões, <ambs@cpan.org>
Copyright (C) 2006-2012 by Alberto Manuel Brandão Simões
To install Lingua::NATools, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Lingua::NATools
CPAN shell
perl -MCPAN -e shell install Lingua::NATools
For more information on module installation, please visit the detailed CPAN module installation guide.