#include <language.h>
Public Member Functions | |
analysis () | |
constructor | |
analysis (const string &, const string &) | |
constructor | |
void | set_lemma (const string &) |
Set lemma for analysis. | |
void | set_parole (const string &) |
Set parole PoS tag for analysis. | |
void | set_prob (double) |
Set probability for analysis. | |
void | set_retokenizable (const list< word > &) |
Set retokenization info for analysis. | |
bool | has_prob (void) const |
Check whether probability has been set. | |
string | get_lemma (void) const |
Get lemma value for analysis. | |
string | get_parole (void) const |
Get parole PoS tag value for analysis. | |
string | get_short_parole (const string &) const |
Get short version of parole PoS tag value for analysis. | |
double | get_prob (void) const |
Get probability value for analysis (-1 if not set). | |
bool | is_retokenizable (void) const |
Find out if the analysis may imply retokenization. | |
list< word > | get_retokenizable (void) const |
Get retokenization info for analysis. | |
list< string > | get_senses (void) const |
get analysis sense list | |
void | set_senses (const list< string > &) |
set analiysis sense list | |
Private Attributes | |
string | lemma |
lemma | |
string | parole |
PoS tag. | |
double | prob |
probability of that lemma-tag given the word | |
list< string > | senses |
list of possible senses for that analysis | |
list< word > | retok |
information to retokenize the word after tagging if this analysis is selected |
|
constructor
|
|
constructor
|
|
Get lemma value for analysis.
|
|
Get parole PoS tag value for analysis.
|
|
Get probability value for analysis (-1 if not set).
|
|
Get retokenization info for analysis.
|
|
get analysis sense list
|
|
Get short version of parole PoS tag value for analysis.
|
|
Check whether probability has been set.
|
|
Find out if the analysis may imply retokenization.
|
|
Set lemma for analysis.
|
|
Set parole PoS tag for analysis.
|
|
Set probability for analysis.
|
|
Set retokenization info for analysis.
|
|
set analiysis sense list
|
|
lemma
|
|
PoS tag.
|
|
probability of that lemma-tag given the word
|
|
information to retokenize the word after tagging if this analysis is selected
|
|
list of possible senses for that analysis
|