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

TaggerWord Class Reference

#include <TaggerWord.H>

List of all members.

Detailed Description

Class TaggerWord. It stores the superficial form and all possible tags that it can receive. It has the fine tags delivered by the morphological analyzer and the coarse ones used by the PoS tagger.

Definition at line 37 of file TaggerWord.H.

Public Member Functions

void add_ignored_string (string s)
void add_tag (TTag &t, const string &lf, vector< string > const &prefer_rules)
string get_lexical_form (TTag &t, int const TAG_kEOF)
string get_lexical_form_without_ignored_string (TTag &t, int const TAG_kEOF)
bool get_plus_cut ()
string get_string_tags ()
string & get_superficial_form ()
set< TTag > & get_tags ()
void outputOriginal (FILE *output)
void print ()
void set_plus_cut (const bool &c)
void set_superficial_form (const string &s)
 TaggerWord (const TaggerWord &w)
 TaggerWord (bool prev_plus_cut=false)
 ~TaggerWord ()

Static Public Member Functions

static void setArrayTags (vector< string > const &at)

Static Public Attributes

static vector< string > array_tags
static bool show_ingnored_string = true

Private Attributes

string ignored_string
map< TTag, string > lexical_forms
bool plus_cut
bool previous_plus_cut
string superficial_form
set< TTag > tags


ostream & operator<< (ostream &os, TaggerWord &w)

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

Generated by  Doxygen 1.6.0   Back to index