NAME
Treex::Core::Run + treex - applying Treex blocks and/or scenarios on data
VERSION
version 0.08157
SYNOPSIS
In bash:
> treex myscenario.scen -- data/*.treex
> treex My::Block1 My::Block2 -- data/*.treex
In Perl:
use Treex::Core::Run q(treex);
treex([qw(myscenario.scen -- data/*.treex)]);
treex([qw(My::Block1 My::Block2 -- data/*.treex)]);
DESCRIPTION
Treex::Core::Run
allows to apply a block, a scenario, or their mixture on a set of data files. It is designed to be used primarily from bash command line, using a thin front-end script called treex
. However, the same list of arguments can be passed by an array reference to the function treex()
imported from Treex::Core::Run
.
Note that this module supports distributed processing, simply by adding switch -p
. Then there are two ways to process the data in a parallel fashion. By default, SGE cluster\'s qsub
is expected to be available. If you have no cluster but want to make the computation parallelized at least on a multicore machine, add the --local
switch.
SUBROUTINES
- treex
-
create new runner and runs scenario given in parameters
USAGE
Can't locate Treex/Core/Run.pm in @INC (@INC contains: /ha/work/projects/perl_repo/Ubuntu/10.04/i686/lib/perl5/5.12.2/i686-linux-thread-multi /ha/work/projects/perl_repo/Ubuntu/10.04/i686/lib/perl5/5.12.2 /ha/work/projects/perl_repo/Ubuntu/10.04/i686/lib/perl5/site_perl/5.12.2/i686-linux-thread-multi /ha/work/projects/perl_repo/Ubuntu/10.04/i686/lib/perl5/site_perl/5.12.2 /net/projects/hadoop/perl /home/kraut/hadoop/tutorial /opt/lib/perl5/site_perl/5.12.2/i686-linux-thread-multi /opt/lib/perl5/site_perl/5.12.2 /opt/lib/perl5/vendor_perl/5.12.2/i686-linux-thread-multi /opt/lib/perl5/vendor_perl/5.12.2 /opt/lib/perl5/5.12.2/i686-linux-thread-multi /opt/lib/perl5/5.12.2 .) at bin/treex line 5.
BEGIN failed--compilation aborted at bin/treex line 5.
AUTHOR
Zdeněk Žabokrtský <zabokrtsky@ufal.mff.cuni.cz>
Martin Popel <popel@ufal.mff.cuni.cz>
COPYRIGHT AND LICENSE
Copyright © 2011 by Institute of Formal and Applied Linguistics, Charles University in Prague
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.