Skip to content
Snippets Groups Projects
Verified Commit ade58cf6 authored by Lucas Ondel Yang's avatar Lucas Ondel Yang
Browse files

fixed cmudict path creationg

parent 93a7d677
No related branches found
No related tags found
No related merge requests found
# Tags
## [0.9.3](https://https://gitlab.lisn.upsaclay.fr/fast/speechcorpora.jl/-/tags/v0.9.3)- 12/02/2024
# Fixed
- `CMUDICT("dir/path")` fails if `dir` does not already exists.
## [0.9.2](https://https://gitlab.lisn.upsaclay.fr/fast/speechcorpora.jl/-/tags/v0.9.2)- 09/02/2024
# Fixed
- invalid type for field `channels` of `Recording`
......
name = "SpeechDatasets"
uuid = "ae813453-fab8-46d9-ab8f-a64c05464021"
authors = ["Lucas ONDEL YANG <lucas.ondel@cnrs.fr>"]
version = "0.9.2"
version = "0.9.3"
[deps]
JSON = "682c06a0-de6a-54ab-a142-c8b1cf79cde6"
......
......@@ -22,6 +22,7 @@ calls will only read the file `path` without downloading again the data.
"""
function CMUDICT(path)
if ! isfile(path)
mkpath(dirname(path))
dir = mktempdir()
run(`wget -P $dir $CMUDICT_URL`)
mv(joinpath(dir, "cmudict_SPHINX_40"), path)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment