Treex::Tool::Tagger::MorphoDiTa - wrapper for Ufal::MorphoDiTa
version 2.20151102
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);
Wrapper for state-of-the-art part-of-speech (morphological) tagger MorphoDiTa by Milan Straka and Jana Straková.
Path to the model file within Treex share (or relative path starting with "./" or absolute path starting with "/").
Returns a list of tags and lemmas for tokenized input.
http://ufal.mff.cuni.cz/morphodita
https://metacpan.org/pod/Ufal::MorphoDiTa
Martin Popel <popel@ufal.mff.cuni.cz>
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.
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.