Tomáš Kraut > Treex-Unilang > Treex::Block::W2A::ParseMSTperl

Download:
Treex-Unilang-0.08170.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.08170   Source  

NAME ^

Treex::Block::W2A::ParseMSTperl

VERSION ^

version 0.08170

DECRIPTION ^

MST parser (maximum spanning tree dependency parser by R. McDonald) is used to determine the topology of a-layer trees. This is its reimplementation in Perl, with simplified MIRA algorithm (single-best MIRA is used).

Settings are provided via a config file accompanying the model file. The script loads the model model_dir/model_name.model and its config <model_dir/model_name.config>. The default is the English model share/data/models/mst_perl_parser/en/conll_2007.model (and conll_2007.config in the same directory).

It is not sensible to change the config file unless you decide to train your own model. However if you do decide to train your own model, then see Treex::Tool::Parser::MSTperl::Config.

TODO: provide a treex interface for the trainer?

SEE ALSO ^

Treex::Block::W2A::BaseChunkParser base clase (see the reparse parameter)

Treex::Block::W2A::MarkChunks this block can be used before parsing to improve the performance by marking chunks (phrases) that are supposed to form a (dependency) subtree

AUTHORS ^

Rudolf Rosa <rosa@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.

syntax highlighting: