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

Public Member Functions | Private Types | Private Member Functions | Private Attributes

Transfer Class Reference

Collaboration diagram for Transfer:
Collaboration graph

List of all members.

Public Member Functions

bool getUseBilingual (void) const
Transferoperator= (Transfer const &o)
void read (string const &transferfile, string const &datafile, string const &fstfile="")
void setCaseSensitiveness (bool value)
void setExtendedDictionary (string const &fstfile)
void setUseBilingual (bool value)
 Transfer (Transfer const &o)
void transfer (FILE *in, FILE *out)

Private Types

enum  OutputType { lu, chunk }

Private Member Functions

void applyRule ()
void applyWord (wstring const &word_str)
bool beginsWith (string const &str1, string const &str2) const
string caseOf (string const &str)
bool checkIndex (xmlNode *element, int index, int limit)
void collectMacros (xmlNode *localroot)
void collectRules (xmlNode *localroot)
void copy (Transfer const &o)
string copycase (string const &source_word, string const &target_word)
void destroy ()
bool endsWith (string const &str1, string const &str2) const
string evalString (xmlNode *localroot)
bool processAnd (xmlNode *localroot)
void processAppend (xmlNode *localroot)
bool processBeginsWith (xmlNode *localroot)
bool processBeginsWithList (xmlNode *localroot)
void processCallMacro (xmlNode *localroot)
void processChoose (xmlNode *localroot)
void processChunk (xmlNode *localroot)
bool processContainsSubstring (xmlNode *localroot)
bool processEndsWith (xmlNode *localroot)
bool processEndsWithList (xmlNode *local)
bool processEqual (xmlNode *localroot)
bool processIn (xmlNode *localroot)
void processInstruction (xmlNode *localroot)
void processLet (xmlNode *localroot)
bool processLogical (xmlNode *localroot)
void processModifyCase (xmlNode *localroot)
bool processNot (xmlNode *localroot)
bool processOr (xmlNode *localroot)
void processOut (xmlNode *localroot)
void processRule (xmlNode *localroot)
void processTags (xmlNode *localroot)
bool processTest (xmlNode *localroot)
void readBil (string const &filename)
wstring readBlank (FILE *in)
void readData (FILE *input)
TransferTokenreadToken (FILE *in)
void readTransfer (string const &input)
wstring readUntil (FILE *in, int const symbol) const
wstring readWord (FILE *in)
string tags (string const &str) const
string tolower (string const &str) const

Private Attributes

Alphabet alphabet
int any_char
int any_tag
map< string, ApertiumRE, Ltstr > attr_items
string ** blank
OutputType defaultAttrs
xmlDoc * doc
map< xmlNode *, TransferInstrevalStringCache
FSTProcessor extended
FSTProcessor fstp
Buffer< TransferTokeninput_buffer
bool isExtended
xmlNode * lastrule
int lblank
map< string, set< string,
Ltstr >, Ltstr > 
map< string, set< string,
Ltstr >, Ltstr > 
int lword
vector< xmlNode * > macro_map
map< string, int, Ltstr > macros
MatchExe * me
MatchState ms
unsigned int nwords
FILE * output
xmlNode * root_element
vector< xmlNode * > rule_map
vector< wstring * > tmpblank
vector< wstring * > tmpword
bool useBilingual
map< string, string, Ltstr > variables
TransferWord ** word

Detailed Description

Definition at line 42 of file transfer.h.

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

Generated by  Doxygen 1.6.0   Back to index