optimization for audio recognize
This commit is contained in:
@@ -11,7 +11,14 @@ from src.params import get_random_wait_time
|
||||
|
||||
WAV_FILE_REGEX = "https:[\/a-z0-9.-]+.wav"
|
||||
|
||||
number_text_dict = {'eight': 8, 'take': 8, 'zero': 0, 'one': 1, 'juan': 1, 'won': 1, 'to': 2, 'two': 2, 'three': 3,
|
||||
number_text_dict = {'eight': 8,
|
||||
'take': 8,
|
||||
'eighty': 8,
|
||||
'zero': 0,
|
||||
'one': 1, 'juan': 1,
|
||||
'wanna': 1, 'won': 1, 'to': 2, 'two': 2,
|
||||
'free': 3,
|
||||
'three': 3,
|
||||
'four': 4,
|
||||
'for': 4,
|
||||
'five': 5,
|
||||
|
||||
Reference in New Issue
Block a user