optimization for audio recognize

This commit is contained in:
2022-09-03 23:18:36 +02:00
parent 597aa6a1f6
commit fd9449a74c
2 changed files with 9 additions and 2 deletions
+8 -1
View File
@@ -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,