Function mindspore::dataset::CMUArctic

Function Documentation

inline std::shared_ptr<CMUArcticDataset> mindspore::dataset::CMUArctic(const std::string &dataset_dir, const std::string &name, const Sampler *sampler, const std::shared_ptr<DatasetCache> &cache = nullptr)

Function to create a CMUArcticDataset.

Note

The generated dataset has four columns [“waveform”, “sample_rate”, “transcript”, “utterance_id”].

Parameters
  • dataset_dir[in] Path to the root directory that contains the dataset.

  • name[in] Part of dataset of CMUArctic, can be “aew”, “ahw”, “aup”, “awb”, “axb”, “bdl”, “clb”, “eey”, “fem”, “gka”, “jmk”, “ksp”, “ljm”, “lnh”, “rms”, “rxr”, “slp” or “slt”.

  • sampler[in] Raw pointer to a sampler object used to choose samples from the dataset.

  • cache[in] Tensor cache to use (default=nullptr, which means no cache is used).

Returns

Shared pointer to the CMUArcticDataset.