|
Classes |
class | Config |
struct | FileOpenError |
| General critical module problem. Is thrown when there is no object available for the specified language. More...
|
struct | FileFormatError |
struct | StringFormatError |
struct | ItemNotFound |
struct | KeyNotFound |
struct | NoRegexMatch |
| Exception Handler. Used by BOSS::FSA. More...
|
class | FSA |
| BOSS::FSA is a finite-state automaton that splits a string into substrings defined by regular expressions. More...
|
class | Module |
class | t_OptItem |
struct | Fileinfo |
class | CommandLine |
| A class for parsing and storing command line options. More...
|
class | MMFInputStream |
class | MMFInputSource |
class | Phimbl |
struct | Phimbl::t_Node |
struct | Phimbl::t_Node::t_Child |
struct | Phimbl::t_Data |
struct | Phimbl::t_classes |
struct | Phimbl::t_features |
Typedefs |
typedef const char * | t_ConstCharPtr |
typedef unsigned char | t_UChar |
typedef unsigned short | t_UShort |
typedef unsigned int | t_UInt |
typedef pair< string, string > | t_SSPair |
typedef pair< unsigned, string > | t_USPair |
typedef pair< unsigned, unsigned > | t_UUPair |
typedef pair< t_UChar, string > | t_CSPair |
typedef pair< t_UChar, t_UChar > | t_CCPair |
typedef vector< string > | t_SVector |
typedef vector< unsigned > | t_UVector |
typedef vector< t_USPair > | t_USPairVector |
typedef vector< t_SSPair > | t_SSPairVector |
typedef vector< t_UUPair > | t_UUPairVector |
typedef t_UVector::iterator | t_UVectorIt |
typedef t_UVector::const_iterator | t_UVectorCIt |
typedef vector< xercesc::DOMNode * > | DOMNodeVector |
Functions |
t_USPairVector | readS1LabelTable (const string &name) throw (BOSS::FileOpenError, BOSS::FileFormatError) |
| This function reads an s1 label file (obsolete) and returns it as a pair vector.
|
t_SSPairVector | readTwoStringTable (const string &name) throw (BOSS::FileOpenError, BOSS::FileFormatError) |
| This function reads tables with two columns and returns them as a string pair vector.
|
string | addSlash (const string &s) |
| This function adds a slash to the string s and returns the modified string.
|
string | makeInvFileName (const string &pref, const string &inv, const string &file) throw (BOSS::FileFormatError) |
| This function substitutes the tag with the string given by inv.
|
string | makeFilePath (const string &pref, const string &file) throw (BOSS::FileFormatError) |
| This function concatenates a file path with a file name.
|
t_CSPair | removePunctuation (const string &word) |
| This function removes a punctuation symbol (.,;:!?) from the string given as argument.
|
string | my_tolower (string s) |
| This function maps upper-case characters of string s to lower case ones.
|
t_CSPair | cleanWordPunctuation (const string &w) |
| Removes punctuation symbols. This function removes a punctuation symbol (.,;:!?) from the string given as argument. The return value is an STL pair. The first element contains the puncuation symbol, the second the string without the symbol.
|
BOSS::Fileinfo | getFileinfo (const string &s) |
| Extracts file information. This function separates path, name and extension from a given filename/path string and returns a struct of type Fileinfo (see boss_types.h) containing this information.
|
string | getDate () |
| Returns date.
|
bool | hasAttribute (const xercesc::DOMNode *n, string as) |
bool | hasAttribute (const xercesc::DOMElement *e, string as) |
string | getAttrByName (const xercesc::DOMElement *e, string as) |
string | getAttrByName (const xercesc::DOMNode *n, string as) |
void | createLists (const xercesc::DOMNode *start_node, const char *node_name, DOMNodeVector &list) |
void | setAttribute (xercesc::DOMElement *e, const char *name, const char *value) |
xercesc::DOMNodeList * | getElementsByTagName (const xercesc::DOMElement *e, const char *name) |
xercesc::DOMNodeList * | getElementsByTagName (const xercesc::DOMDocument *d, const char *name) |
xercesc::DOMElement * | createElement (xercesc::DOMDocument *doc, const char *name) |
bool | compareNodeName (const xercesc::DOMNode *node, const string &name) |
string | getNodeName (const xercesc::DOMNode *node) |
string | getNodeValue (const xercesc::DOMNode *node) |
void * | getUserData (const xercesc::DOMNode *node) |
void | setUserData (const xercesc::DOMNode *node, void *data) |
void | initXML () |
void | initTranscoder () |
xercesc::XMLTranscoder * | initTranscoder (string name) |
xercesc::DOMDocument * | parseXMLFile (const char *xml_file) |
xercesc::DOMDocument * | parseXMLFromMemory (const string input) |
void | writeLabels (const xercesc::DOMNode *sentence, const string &fname) |
void | getLabels (const xercesc::DOMNode *node, vector< vector< string > > &file, unsigned &last) |