Treex::Tool::Lexicon::CS
version 2.20151102
use Treex::Tool::Lexicon::CS;
if ( Treex::Tool::Lexicon::CS::is_dicendi_verb('říci')) { print "OK\n"; }
print Treex::Tool::Lexicon::CS::number_for('sedm'); # prints 7
print Treex::Tool::Lexicon::CS::truncate_lemma('jak-1_;L_^(živočich)'); # prints jak-1 print Treex::Tool::Lexicon::CS::truncate_lemma('jak-1_;L_^(živočich)', 1); # prints jak
if ( Treex::Tool::Lexicon::CS::is_modal_verb('muset')){ print "OK\n"; }
print Treex::Tool::Lexicon::CS::get_term_types('jak-1_;L_^(živočich)'); # prints L
This module should include support for miscellaneous queries involving Czech lexicon and morphology.
Martin Popel <popel@ufal.mff.cuni.cz>
Copyright © 2009-2012 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.
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.