Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

moot::mootEval Class Reference

Tagger-evaluation utility class.

#include <mootEval.h>

List of all members.

Public Types

Public Methods

Public Attributes


Member Enumeration Documentation

enum moot::mootEval::evalStatus
 

Enum for evaluation flags

Enumeration values:
MEF_None  no errors
MEF_TokMismatch  token-text mismatch
MEF_BestMismatch  best-tag mismatch
MEF_EmptyClass1  empty class in 1st token
MEF_EmptyClass2  empty class in 2nd token
MEF_ImpClass1  Impossible class in 1st token (besttag1 \not\in class1)
MEF_ImpClass2  Impossible class in 2nd token (besttag2 \not\in class2)
MEF_XImpClass1  X-Impossible class in 2nd token (besttag1 \not\in class2)
MEF_XImpClass2  X-Impossible class in 2nd token (besttag2 \not\in class1)


Constructor & Destructor Documentation

moot::mootEval::mootEval void    [inline]
 


Member Function Documentation

void moot::mootEval::clear void    [inline]
 

Clear the object

int moot::mootEval::compareTokens const mootToken   tok1,
const mootToken   tok2
 

Compare content of two mootToken objects : returns binary OR'd evalStatus flags

Note:
You must call this before any of the is*() methods will return meaningful values.

bool moot::mootEval::isBestMismatch void    [inline]
 

True after compareTokens(tok1,tok2) iff best-tags mismatched

bool moot::mootEval::isEmptyClass1 void    [inline]
 

True after compareTokens(tok1,tok2) iff tok1 had empty analyses: iff

bool moot::mootEval::isEmptyClass2 void    [inline]
 

True after compareTokens(tok1,tok2) iff tok2 had empty analyses: iff

bool moot::mootEval::isImpClass1 void    [inline]
 

True after compareTokens(tok1,tok2) iff tok1 had impossible non-empty analysis-set: iff

bool moot::mootEval::isImpClass2 void    [inline]
 

bool moot::mootEval::isTokenMismatch void    [inline]
 

True after compareTokens(tok1,tok2) iff tokens mismatchedw

bool moot::mootEval::isXImpClass1 void    [inline]
 

True after compareTokens(tok1,tok2) iff tok1 had cross-impossible non-empty analysis-set: iff

bool moot::mootEval::isXImpClass2 void    [inline]
 

string moot::mootEval::status_string void   
 

Returns canonical string-form of a mootEvalFlag: this string 3 fields of 2 ASCII characters each, each character corresponding to one of the bits in flags. The output looks like:

{:Tok:}{:Best:}":"{:Empty1:}{:Imp1:}{:XImp1:}":"{:Empty2:}{:Imp2:}{:XImp2:}

where a literal '-' indicates an unset flag, and any other character indicates that the flag is set. The actual characters used are mnemonics for the corresponding flags:

(t|-)(b|-):(e|-)(i|-)(x|-):(e|-)(i|-)(x|-)


Member Data Documentation

int moot::mootEval::status
 

status flags for this object


The documentation for this class was generated from the following file:
Generated on Mon Sep 11 16:10:35 2006 for libmoot by doxygen1.2.18