#include <unit_level.h>
Public Member Functions | |
UnitLevel (BOSS::Config &config, string levelName, string elementTag, DOM_UserData::Node_Type type, string fileFlag, UnitLevel *nextLevel) | |
Constructs a UnitLevel. | |
string | getName () |
Returns unit level name. | |
string | getTag () |
Returns unit level tag. | |
UnitLevel * | getNextLevel () |
Returns pointer to lower unit level e.g. Word -> Syllable. | |
DOM_UserData::Node_Type | getNodeType () |
Returns node type. | |
vector< PSA_Vector > | getAttrMatrix () |
Returns attribute matrix. | |
int | checkMatrixSize () |
Private Member Functions | |
bool | isComment (const string &s) |
Decides if the argument string is a comment. | |
void | loadPreSelQueries () |
Loads preselection queries for a unit level. | |
void | loadPreSelFile (const string &file, vector< PSA_Vector > &ps) |
Private Attributes | |
BOSS::Config & | cl |
configuration class storing system wide settings | |
string | name |
name of this unit level | |
string | tag |
name of tag of this unit level in BOSS XML file | |
UnitLevel * | next |
pointer to finer unit level e.g. from Word to Syllable or from Syllable to Phone | |
vector< PSA_Vector > | attrMatrix |
matrix of PreSelAttr | |
DOM_UserData::Node_Type | nodeType |
string | preselectionFileFlag |
a command line option flag pointing to file with preselection queries |
|
Constructs a UnitLevel.
|
|
Returns the total size of attrMatrix of this and lower unit levels.
|
|
Returns attribute matrix.
|
|
Returns unit level name.
|
|
Returns pointer to lower unit level e.g. Word -> Syllable.
|
|
Returns node type.
|
|
Returns unit level tag.
|
|
Decides if the argument string is a comment.
|
|
Parses the file with preselection arguments and stores them in the ps PSA_Vector.
|
|
Loads preselection queries for a unit level.
|
|
matrix of PreSelAttr
|
|
configuration class storing system wide settings
|
|
name of this unit level
|
|
pointer to finer unit level e.g. from Word to Syllable or from Syllable to Phone
|
|
|
|
a command line option flag pointing to file with preselection queries
|
|
name of tag of this unit level in BOSS XML file
|