The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Treex::Tool::Tagger::MorphoDiTa - wrapper for Ufal::MorphoDiTa

VERSION

version 2.20151102

SYNOPSIS

 use Treex::Tool::Tagger::MorphoDiTa;
 my $tagger = Treex::Tool::Tagger::MorphoDiTa->new(
    model => 'data/models/morphodita/cs/czech-morfflex-pdt-131112.tagger-fast',
 );
 # or czech-morfflex-pdt-131112.tagger-best_accuracy
 my @tokens = qw(Jak to jde ?);
 my ($tags_rf, $lemmas_rf) = $tagger->tag_sentence(\@tokens);

DESCRIPTION

Wrapper for state-of-the-art part-of-speech (morphological) tagger MorphoDiTa by Milan Straka and Jana Straková.

PARAMETERS

model

Path to the model file within Treex share (or relative path starting with "./" or absolute path starting with "/").

METHODS

($tags_rf, $lemmas_rf) = $tagger->tag_sentence(\@tokens);

Returns a list of tags and lemmas for tokenized input.

SEE ALSO

http://ufal.mff.cuni.cz/morphodita

https://metacpan.org/pod/Ufal::MorphoDiTa

AUTHOR

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

COPYRIGHT AND LICENSE

Copyright © 2014-2015 by Institute of Formal and Applied Linguistics, Charles University in Prague The development of this resource is partly funded by the European Commision, project QTLeap FP7-ICT-2013.4.1-610516 http://qtleap.eu

This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.