NAME

Treex::Block::W2A::BaseChunkParser

VERSION

version 2.20151102

DESCRIPTION

This class serves as a base class for dependency parsers that just need to override the parse_chunk method.

The goal of segmenting a sentence into chunks is to guarantee that each chunk will be parsed into its own subtree.

PARAMETERS

reparse

Process only bundles where the root node has the attribute reparse set.

METHODS

label_parenthesis_token

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.

AUTHOR

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.