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

FSTProcessor Class Reference

#include <FSTProcessor.H>

List of all members.


Detailed Description

Class that implement the FST-based modules of the system

Definition at line 38 of file FSTProcessor.H.


Public Member Functions

void analysis (FILE *input=stdin, FILE *output=stdout)
string biltrans (string const &input_word, bool with_delim=true)
void generation (FILE *input=stdin, FILE *output=stdout, bool unknown_words=true)
void initAnalysis ()
void initBiltrans ()
void initGeneration ()
void initPostgeneration ()
void initSAO ()
void load (FILE *input)
void postgeneration (FILE *input=stdin, FILE *output=stdout)
void SAO (FILE *input=stdin, FILE *output=stdout)
bool valid () const

Private Member Functions

void calcInitial ()
void classifyFinals ()
void flushBlanks (FILE *output)
bool isAlphabetic (unsigned short const c) const
bool isEscaped (unsigned short const c) const
unsigned int lastBlank (string const &str)
void printSAOWord (string const &lf, FILE *output)
void printSpace (unsigned short const val, FILE *output)
void printUnknownWord (string const &sf, FILE *output)
void printWord (string const &sf, string const &lf, FILE *output)
unsigned short readAnalysis (FILE *input)
unsigned short readEscaped (FILE *input)
string readFullBlock (FILE *input, char const delim1, char const delim2)
unsigned short readGeneration (FILE *input, FILE *output)
unsigned short readSAO (FILE *input)
void skipUntil (FILE *input, FILE *output, int const character)
void streamError ()
void writeEscaped (string const &str, FILE *output)

Static Private Member Functions

static bool endsWith (string const &a, string const &b)

Private Attributes

set< Node * > all_finals
Alphabet alphabet
set< unsigned short > alphabetic_chars
queue< string > blankqueue
State current_state
set< unsigned short > escaped_chars
set< Node * > inconditional
State initial_state
Buffer< unsigned short > input_buffer
bool outOfWord
set< Node * > postblank
Node root
set< Node * > standard
map< string, TransExe, Ltstr > transducers

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

Generated by  Doxygen 1.6.0   Back to index