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

MorphoStream Class Reference

#include <morpho_stream.h>

List of all members.


Detailed Description

Class MorphoStream. This class processes the output of class yyFlexLexer (lex.yy.cc), and builds the TaggerWord objects managed by the tagger

Definition at line 48 of file morpho_stream.h.


Public Member Functions

TaggerWordget_next_word ()
 MorphoStream (FILE *ftxt, bool d, TaggerData *t)
 ~MorphoStream ()

Private Member Functions

void lrlmClassify (wstring const &str, int &ivwords)
void readRestOfWord (int &ivwords)

Private Attributes

Alphabet alphabet
int ca_any_char
int ca_any_tag
int ca_kbarra
int ca_kbegin
int ca_kdollar
int ca_kignorar
int ca_kmas
int ca_kmot
int ca_kunknown
int ca_tag_keof
int ca_tag_kundef
bool debug
bool foundEOF
FILE * input
wstring last_string_tag
MatchExe * me
MatchState ms
TaggerData * td
vector< TaggerWord * > vwords

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

Generated by  Doxygen 1.6.0   Back to index