NAME

Treex::Core::Node::Interset

VERSION

version 2.20210102

DESCRIPTION

Moose role for nodes that have the Interset feature structure.

ATTRIBUTES

iset/*

Attributes corresponding to Interset features.

METHODS

Access to Interset features

my $boolean = $node->match_iset('pos' => 'noun', 'gender' => '!masc', ...);

Do the feature values of this node match the specification? (Values of other features do not matter.) A value preceded by exclamation mark is tested on string inequality. A value preceded by a tilde is tested on regex match. A value preceded by exclamation mark and tilde is tested on regex mismatch. Other values are tested on string equality.

AUTHOR

Dan Zeman <zeman@ufal.mff.cuni.cz>

Martin Popel <popel@ufal.mff.cuni.cz>

COPYRIGHT AND LICENSE

Copyright © 2011, 2013, 2014, 2015 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.