nnmnkwii.io.hts.load

nnmnkwii.io.hts.load(path, frame_shift_in_micro_sec=50000)[source]

Load HTS-style label file

Parameters:
  • path (str) – Path of file.
  • frame_shift_in_micro_sec (optional[int]) – Frame shift in micro seconds. Default is 50000.
Returns:

Instance of HTSLabelFile.

Return type:

labels (HTSLabelFile)

Examples

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