Treex::Tool::EnglishMorpho::Analysis - rule based morphological analyzer for English
version 2.20151102
use Treex::Tool::EnglishMorpho::Analysis; my $analyser = Treex::Tool::EnglishMorpho::Analysis->new(); foreach my $wordform (qw(John loves the yellow ball of his sister .)) { my @tags = $analyser->get_possible_tags($wordform); print "$wordform -> @tags\n"; }
Method get_possible_tags($wordform) returns the list of PennTreebank-style morphological tags for the given word form.
Given wordform returns list of possible POS tags.
Johanka Drahomíra Doležalová
Zdeněk Žabokrtský <zabokrtsky@ufal.mff.cuni.cz>
Tomáš Kraut <kraut@ufal.mff.cuni.cz>
Copyright © 2008-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.
1 POD Error
The following errors were encountered while parsing the POD:
Non-ASCII character seen before =encoding in 'Drahomíra'. Assuming UTF-8
To install Treex::EN, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Treex::EN
CPAN shell
perl -MCPAN -e shell install Treex::EN
For more information on module installation, please visit the detailed CPAN module installation guide.