Treex::Block::W2A::BaseChunkParser
version 2.20151102
This class serves as a base class for dependency parsers that just need to override the parse_chunk method.
parse_chunk
The goal of segmenting a sentence into chunks is to guarantee that each chunk will be parsed into its own subtree.
Process only bundles where the root node has the attribute reparse set.
reparse
Set the edge label of a parenthesis (round bracket) token. This implementation sets conll_deprel attribute to P and afun to AuxG, but the method can be overriden if needed to set.
conll_deprel
afun
Martin Popel <popel@ufal.mff.cuni.cz>
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.
To install Treex::Unilang, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Treex::Unilang
CPAN shell
perl -MCPAN -e shell install Treex::Unilang
For more information on module installation, please visit the detailed CPAN module installation guide.