The Phones Module - File Formats
This page contains the definition of the file format for the object classes Phones and PhonesSet.
Both file formats are human readable and can have comment lines, which are identified by a comment-initiating character as
the first character of the line. This character is configurable separately for every object.
Phones File Format
A Phones file is a simple file of white space separated monophone names. Their order is of no importance. Lines that start
with a comment character are ignored completely.
<PhonesFile> ::= { <PhonesLine> <\n> | <CommentLine> <\n> }*
<PhonesLine> ::= { <MonophoneName> <WhiteSpace> }*
<CommentLine> ::= <CommentCharacter> <AnyCharacter>* <\n>
PhonesSet File Format
A PhonesSet file consists of comment lines which are ignored completely and lines that contain set definitions. Each definition
looks like the arguments of the add method. The first name in the line is the name of the set (i.e. the
Phones subobject) and the following names are all names of monophones that belong to the set. It is not possible to
make a definition over more than one line.
<PhonesSetFile> ::= { <PhonesSetLine> <\n> | <CommentLine> <\n> }*
<PhonesSetLine> ::= <PhonesName> <WhiteSpace> { <MonophoneName> <WhiteSpace> }*
<CommentLine> ::= <CommentCharacter> <AnyCharacter>* <\n>