Skip to content
Snippets Groups Projects
Name Last commit Last update
src
Project.toml
README.md

SpeechCorpora.jl

A Julia package to download and prepare speech corpus.

Installation

Make sure to add the FAST registry to your julia installation. Then, install the package as usual:

pkg> add SpeechCorpora

Example

julia> using SpeechCorpora

julia> download(MultilingualLibriSpeech, :fra, "/path/to/dir")

julia> prepare(MultilingualLibriSpeech, :fra, "/path/to/dir")

# Load the recording manifest.
julia> recs = load(Recording, "/path/to/dir/recording-manifest-{train,dev,test}.jsonl")

# Load the supervision manifest.
julia> sups = load(Supervision, "/path/to/dir/supervision-manifest-{train,dev,test}.jsonl")

# Load the signal of the first supervision segment
julia> s = first(values(sups))
julia> x, samplerate = load(recs[s.recording_id], s)

# Play the recording of the first supervision segment
julia> play(recs[s.recording_id], s)

Author

  • Lucas ONDEL YANG (LISN, CNRS)

License

This software is provided under the CeCILL 2.1 license (see the /LICENSE