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.
PARAMETERS: reparse - 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
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.