nnmnkwii.util.example_label_file

nnmnkwii.util.example_label_file(phone_level=False)[source]

Get path of example HTS-style full-context lable file.

Corresponding audio file can be accessed by example_audio_file().

Parameters

phone_level – If True, returns phone-level aligment, otherwise state-level alignment.

Returns

Path of the example label file.

Return type

str

Examples

>>> from nnmnkwii.util import example_label_file
>>> from nnmnkwii.io import hts
>>> labels = hts.load(example_label_file())