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

TaggerWord Class Reference

#include <tagger_word.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 39 of file tagger_word.h.


Public Member Functions

void add_ignored_string (wstring const &s)
void add_tag (TTag &t, const wstring &lf, vector< wstring > const &prefer_rules)
wstring get_all_choosen_tag_first (TTag &t, int const TAG_kEOF)
wstring get_lexical_form (TTag &t, int const TAG_kEOF)
wstring get_lexical_form_without_ignored_string (TTag &t, int const TAG_kEOF)
bool get_plus_cut ()
wstring get_string_tags ()
wstring & 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 wstring &s)
 TaggerWord (const TaggerWord &w)
 TaggerWord (bool prev_plus_cut=false)
 ~TaggerWord ()

Static Public Member Functions

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

Static Public Attributes

static vector< wstring > array_tags
static bool show_ingnored_string = true

Private Member Functions

bool match (wstring const &s, wstring const &pattern)

Private Attributes

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

Static Private Attributes

static map< wstring,
ApertiumRE, Ltstr > 
patterns

Friends

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

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

Generated by  Doxygen 1.6.0   Back to index