Logo Search packages:      
Sourcecode: apertium version File versions  Download package

Public Member Functions | Private Member Functions | Private Attributes

TaggerData Class Reference

Collaboration diagram for TaggerData:
Collaboration graph

List of all members.

Public Member Functions

virtual double ** getA ()
vector< wstring > & getArrayTags ()
virtual double ** getB ()
ConstantManagergetConstants ()
vector< TEnforceAfterRule > & getEnforceRules ()
vector< TForbidRule > & getForbidRules ()
virtual int getM ()
virtual int getN ()
set< TTag > & getOpenClass ()
virtual CollectiongetOutput ()
PatternList & getPatternList ()
vector< wstring > & getPreferRules ()
map< wstring, TTag, Ltstr > & getTagIndex ()
TaggerDataoperator= (TaggerData const &o)
void read (FILE *in)
void setArrayTags (vector< wstring > const &at)
void setConstants (ConstantManager const &c)
void setEnforceRules (vector< TEnforceAfterRule > const &tear)
void setForbidRules (vector< TForbidRule > &fr)
void setOpenClass (set< TTag > const &oc)
void setOutput (Collection const &c)
void setPatternList (PatternList const &pl)
void setPreferRules (vector< wstring > const &pr)
void setProbabilities (int const myN, int const myM, double **myA=NULL, double **myB=NULL)
void setTagIndex (map< wstring, TTag, Ltstr > const &ti)
 TaggerData (TaggerData const &o)
void write (FILE *out)

Private Member Functions

void copy (TaggerData const &o)
void destroy ()

Private Attributes

double ** a
vector< wstring > array_tags
double ** b
ConstantManager constants
vector< TEnforceAfterRuleenforce_rules
vector< TForbidRuleforbid_rules
int M
int N
set< TTag > open_class
Collection output
PatternList plist
vector< wstring > prefer_rules
map< wstring, TTag, Ltstr > tag_index

Detailed Description

Definition at line 35 of file tagger_data.h.

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index