Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
parler-tts
Commits
6b8b5647
Commit
6b8b5647
authored
Feb 26, 2024
by
sanchit-gandhi
Browse files
fix edacc
parent
9518430f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
edacc/prepare_edacc.py
edacc/prepare_edacc.py
+2
-2
No files found.
edacc/prepare_edacc.py
View file @
6b8b5647
...
@@ -83,10 +83,10 @@ def main():
...
@@ -83,10 +83,10 @@ def main():
# 2. Clean accents for each speaker
# 2. Clean accents for each speaker
linguistic_background_clean
=
{
linguistic_background_clean
=
{
participant
:
accent
for
participant
,
accent
in
zip
(
accent_dataset
[
"speaker_id"
],
accent_dataset
[
"English_Variety"
])
participant
:
accent
.
strip
()
for
participant
,
accent
in
zip
(
accent_dataset
[
"speaker_id"
],
accent_dataset
[
"English_Variety"
])
}
}
linguistic_variety
=
{
linguistic_variety
=
{
participant
:
l1
for
participant
,
l1
in
zip
(
accent_dataset
[
"speaker_id"
],
accent_dataset
[
"L1_Variety"
])
participant
:
l1
.
strip
()
for
participant
,
l1
in
zip
(
accent_dataset
[
"speaker_id"
],
accent_dataset
[
"L1_Variety"
])
}
}
# 3. Initialize dataset dict
# 3. Initialize dataset dict
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment