Open chaoqingshuai opened 1 year ago
{'segments': [{'start': 0.975, 'end': 1.575, 'text': ' Yes, sir.', 'words': [{'word': 'Yes,', 'start': 0.975, 'end': 1.215, 'score': 0.537}, {'word': 'sir.', 'start': 1.295, 'end': 1.575, 'score': 0.302}]}, ]}
I had the same question and found this from m-bain themself: https://github.com/m-bain/whisperX/issues/20
word-segments now have a "score", however, this is from wav2vec2 model not whisper d395c21
{'segments': [{'start': 0.975, 'end': 1.575, 'text': ' Yes, sir.', 'words': [{'word': 'Yes,', 'start': 0.975, 'end': 1.215, 'score': 0.537}, {'word': 'sir.', 'start': 1.295, 'end': 1.575, 'score': 0.302}]}, ]}