Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

mootm::mootMorph Class Reference

High-level class for morphological analyzers.

#include <mootMorph.h>

List of all members.

Public Types

Public Member Functions

Construction / Destruction
Initialization
Analysis: Top-level
Miscellany

Public Attributes

Ye Olde Guts
Flags
Statistics / performance tracking

Member Enumeration Documentation

enum mootm::mootMorph::VerbosityLevel
 

Some handy values for the 'verbose' flag

Enumerator:
vlSilent  Be as silent as possible
vlErrors  Output runtime errors with carp()
vlWarnings  Output runtime warnings
vlEverything  Output everything


Constructor & Destructor Documentation

mootm::mootMorph::mootMorph void   )  [inline]
 

constructor

mootm::mootMorph::~mootMorph  )  [inline]
 

destructor


Member Function Documentation

bool mootm::mootMorph::analyze_io TokenReader reader,
TokenWriter writer
 

Top-level: tag tokens from a C-stream

bool mootm::mootMorph::analyze_stream FILE *  in = stdin,
FILE *  out = stdout,
const char *  srcname = __null
 

Top-level: tag tokens from a C-stream

bool mootm::mootMorph::analyze_strings int  argc,
char **  argv,
FILE *  out = stdout,
const char *  srcname = __null
 

Top-level: tag a C-array of token-strings

mootToken& mootm::mootMorph::analyze_token mootToken tok  )  [inline]
 

Mid-level analysis utility: analyze a mootToken in-place. Note that any previous analyses in 'tok' are NOT cleared.

Don't even THINK about calling this method unlesss can_tag() returns true.

void mootm::mootMorph::carp char *  fmt,
  ...
const
 

Report an error

bool mootm::mootMorph::load const string &  fst_filename,
const string &  syms_filename = ""
[inline]
 

Load morphology transducer: syms_filename is requird for Uni-Potsdam libFSM

bool mootm::mootMorph::valid void   )  const [inline]
 

Returns true if this is a valid object


Member Data Documentation

bool mootm::mootMorph::first_analysis_is_best
 

Whether first analysis should be used to instantiate 'besttag' (default=false)

bool mootm::mootMorph::force_reanalysis
 

Force re-analysis of pre-analyzed tokens? (default = false)

bool mootm::mootMorph::ignore_first_analysis
 

Whether to (otherwise) ignore first analysis of each input token (re-analysis). Default=false.

mootFSM mootm::mootMorph::mfsm
 

Underlying finite state transducer to use for analysis:

\[ \begin{eqnarray*} Morph(w) &:=& \pi_{2}(ID_w \circ T_{morph})\cr Analyses(w) &:=& strings(Morph(w)) \end{eqnarray*} \]

Warning:
The analyzer FST $T_{morph}$ may not contain any input epsilon cycles!

The analysis FSAs $Morph(w)$ may not contain any epsilon cycles!

unsigned int mootm::mootMorph::nanalyzed
 

number of tokens analyzed

unsigned int mootm::mootMorph::nprogress
 

number of tokens after which to print a progress indicator, 0 (default) for none

unsigned int mootm::mootMorph::ntokens
 

number of tokens processed

unsigned int mootm::mootMorph::nunknown
 

number of unknown tokens encountered

int mootm::mootMorph::verbose
 

verbosity

bool mootm::mootMorph::want_avm
 

Generate output strings in AVM (madwds-"vector") mode? (default = false)


The documentation for this class was generated from the following file:
Generated on Fri Dec 2 18:14:57 2005 for libmootm by  doxygen 1.4.3-20050530