Previous topic

speect.ebml – Extensible Binary Markup Language

Next topic

speect.g2p_rewrites – G2P Rewrites EBML Class

speect.utt_ebml – Utterance EBML Serialization

Speect Plug-in for SEbmlUttFile class

speect.utt_ebml adds methods to speect.SUtterance, to save/load utterances to/from files in the EBML format (see speect.ebml – Extensible Binary Markup Language).

SUtterance.save_ebml()

save_ebml(path)

Save the utterance to a file in the EBML format.

Parameters:path (string) – Full path and file name of the file where the utterance should be saved to.
Note :All the features in the utterance (including in the relations and items) must have appropriate EBML format serialization formatters registered.
static SUtterance.load_ebml()

load_ebml(path)

Load an utterance from a file in the EBML format.

Parameters:path (string) – Full path and file name of the file where the utterance should be loaded from.
Return type:SUtterance
Note :All the features in the utterance (including in the relations and items) must have appropriate EBML format serialization formatters registered.