Treex::Block::Util::DefinedAttr - Special block for checking undef attributes
undef
version 0.08664
# on the command line: treex Util::DefinedAttr anode=lemma on_error=die -- myfile.treex # in a scenario: Util::SetGlobal language=en selector=T Util::DefinedAttr tnode=t_lemma,nodetype,formeme Block::XY Util::DefinedAttr anode=lemma on_error=die message="after block XY"
Warns/dies if a given attribute is undefined (in any node).
One of parameters tnode, anode, nnode, pnode must be always specified. By default: on_error=warn and message is empty.
tnode
anode
nnode
pnode
on_error=warn
message
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.
1 POD Error
The following errors were encountered while parsing the POD:
Non-ASCII character seen before =encoding in '©'. Assuming UTF-8
To install Treex::Core, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Treex::Core
CPAN shell
perl -MCPAN -e shell install Treex::Core
For more information on module installation, please visit the detailed CPAN module installation guide.