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

Public Member Functions | Static Public Member Functions | Static Public Attributes | Private Member Functions | Private Attributes | Static Private Attributes | Friends

TaggerWord Class Reference

#include <tagger_word.h>

List of all members.

Public Member Functions

void add_ignored_string (wstring const &s)
virtual void add_tag (TTag &t, const wstring &lf, vector< wstring > const &prefer_rules)
wstring get_all_chosen_tag_first (TTag &t, int const TAG_kEOF)
virtual 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 ()
bool get_show_sf ()
virtual wstring get_string_tags ()
wstring & get_superficial_form ()
virtual set< TTag > & get_tags ()
bool isAmbiguous () const
void outputOriginal (FILE *output)
void print ()
void set_plus_cut (const bool &c)
void set_show_sf (bool sf)
void set_superficial_form (const wstring &s)
 TaggerWord (const TaggerWord &w)
 TaggerWord (bool prev_plus_cut=false)
virtual ~TaggerWord ()

Static Public Member Functions

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

Static Public Attributes

static vector< wstring > array_tags
static bool generate_marks = false
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
bool show_sf
wstring superficial_form
set< TTag > tags

Static Private Attributes

static map< wstring,
ApertiumRE, Ltstr > 
patterns

Friends

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

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.


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

Generated by  Doxygen 1.6.0   Back to index