Treex::Tool::Lexicon::CS::Reflexivity
version 0.13100
use Treex::Tool::Lexicon::CS::Reflexivity; foreach my $lemma (qw(chodit zeptat troufat)) { print Treex::Tool::Lexicon::CS::Reflexivity::fix_reflexivity($lemma)."\n"; } if (!Treex::Tool::Lexicon::CS::Reflexivity::is_possible_tantum('zvýhodnit_se')){ # do something about it }
If the given Czech verb lemma is reflexivum tantum, then the reflexive suffix "_si" or "_se" is added to the lemma. Based on a list of reflexives extracted from VALLEX 2.5.
Returns true only if the given lemma (such as "ptát_se", "jistý_si", "kolísat_se") is on the list of possible reflexive tantums (which is not true for the last example). The list is based on VALLEX 2.5, PDT-VALLEX 2.0 and the PDT 2.0 data.
The list of possible reflexives should be probably narrowed down, since it contains also verbs in which the reflexive tantum variant from the dictionary is either highly unlikely to occur (e.g. "dělat_se" as in "Dělá se hezky.") or not entirely justifiable (e.g. "seznámit se" or "zabít se").
Zdeněk Žabokrtský <zabokrtsky@ufal.mff.cuni.cz>
Ondřej Dušek <odusek@ufal.mff.cuni.cz>
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.
1 POD Error
The following errors were encountered while parsing the POD:
Non-ASCII character seen before =encoding in '(!Treex::Tool::Lexicon::CS::Reflexivity::is_possible_tantum('zvýhodnit_se')){'. Assuming UTF-8
To install Treex::CS, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Treex::CS
CPAN shell
perl -MCPAN -e shell install Treex::CS
For more information on module installation, please visit the detailed CPAN module installation guide.