ttslearn.util.find_feats

ttslearn.util.find_feats(directory, utt_id, typ='out_duration', ext='-feats.npy')[source]

Find features for a given utterance.

Parameters
  • directory (str) – directory to search

  • utt_id (str) – utterance id

  • typ (str, optional) – type of the feature. Default: “out_duration”

  • ext (str, optional) – extension of the feature. Default: “-feats.npy”

Returns

path to the feature file

Return type

str