mirror of
https://github.com/mozilla/DeepSpeech.git
synced 2025-10-26 11:19:39 +00:00
filtering and checking chars... somehow not syncing
This commit is contained in:
parent
230dc15751
commit
f534199534
2
.compute
2
.compute
@ -37,7 +37,7 @@ source ../tmp/venv/bin/activate
|
||||
# train from scratch with num_layers_dropped=6
|
||||
num_layers_dropped=6
|
||||
|
||||
target_lang='LANG'
|
||||
target_lang='cy'
|
||||
source_model='en-v030'
|
||||
|
||||
|
||||
|
||||
@ -1,65 +1,40 @@
|
||||
|
||||
-
|
||||
,
|
||||
!
|
||||
?
|
||||
.
|
||||
’
|
||||
–
|
||||
'
|
||||
\
|
||||
%
|
||||
3
|
||||
a
|
||||
A
|
||||
â
|
||||
ä
|
||||
b
|
||||
B
|
||||
c
|
||||
C
|
||||
d
|
||||
D
|
||||
e
|
||||
E
|
||||
ê
|
||||
f
|
||||
F
|
||||
g
|
||||
G
|
||||
h
|
||||
H
|
||||
i
|
||||
I
|
||||
î
|
||||
ï
|
||||
j
|
||||
J
|
||||
k
|
||||
K
|
||||
l
|
||||
L
|
||||
m
|
||||
M
|
||||
n
|
||||
N
|
||||
o
|
||||
O
|
||||
ô
|
||||
p
|
||||
P
|
||||
r
|
||||
R
|
||||
s
|
||||
S
|
||||
t
|
||||
T
|
||||
u
|
||||
U
|
||||
v
|
||||
w
|
||||
W
|
||||
ŵ
|
||||
y
|
||||
Y
|
||||
é
|
||||
a
|
||||
e
|
||||
g
|
||||
i
|
||||
ŷ
|
||||
m
|
||||
r
|
||||
u
|
||||
o
|
||||
b
|
||||
ä
|
||||
d
|
||||
ï
|
||||
s
|
||||
t
|
||||
y
|
||||
w
|
||||
’
|
||||
ö
|
||||
h
|
||||
c
|
||||
l
|
||||
â
|
||||
ô
|
||||
|
||||
v
|
||||
k
|
||||
î
|
||||
n
|
||||
j
|
||||
á
|
||||
f
|
||||
z
|
||||
#
|
||||
|
||||
@ -115,6 +115,9 @@ validated_clips['path'] = validated_clips['wav_filename'].apply(ntpath.basename)
|
||||
validated_clips['transcript'] = validated_clips['transcript'].str.replace(u'\xa0', ' ') # kyrgyz
|
||||
validated_clips['transcript'] = validated_clips['transcript'].str.replace(u'\xad', ' ') # catalan
|
||||
validated_clips['transcript'] = validated_clips['transcript'].str.replace(u'\\', ' ') # welsh
|
||||
validated_clips['transcript'] = validated_clips['transcript'].str.replace(u'„', ' ') # german
|
||||
validated_clips['transcript'] = validated_clips['transcript'].str.replace(u'…', ' ') # german
|
||||
|
||||
|
||||
print(validated_clips.head())
|
||||
|
||||
|
||||
@ -43,5 +43,5 @@ for inFile in (inFiles):
|
||||
csvFile.close()
|
||||
|
||||
print("### The following unique characters were found in your transcripts: ###")
|
||||
print(list(allText))
|
||||
print(sorted(list(allText)))
|
||||
print("### All these characters should be in your data/alphabet.txt file ###")
|
||||
|
||||
Loading…
Reference in New Issue
Block a user