fixed bug in speechmatics, added more readme
This commit is contained in:
@@ -29,6 +29,8 @@ formats.
|
|||||||
-s, --save TEXT save to file
|
-s, --save TEXT save to file
|
||||||
--help Show this message and exit.
|
--help Show this message and exit.
|
||||||
|
|
||||||
|
### Example
|
||||||
|
|
||||||
# STT Services
|
# STT Services
|
||||||
|
|
||||||
- [Speechmatics](https://www.speechmatics.com/)
|
- [Speechmatics](https://www.speechmatics.com/)
|
||||||
|
|||||||
@@ -58,9 +58,10 @@ class SpeechmaticsConverter(TranscriptConverter):
|
|||||||
'end': word_obj.end,
|
'end': word_obj.end,
|
||||||
'confidence': word_obj.confidence,
|
'confidence': word_obj.confidence,
|
||||||
'word': word_obj.word,
|
'word': word_obj.word,
|
||||||
'always_capitalized': (
|
'always_capitalized': self.check_if_always_capitalized(
|
||||||
word_obj.is_proper_noun
|
word_obj.word,
|
||||||
or word_obj.word == 'I'),
|
i,
|
||||||
|
tagged_words),
|
||||||
'punc_after': punc_after,
|
'punc_after': punc_after,
|
||||||
'punc_before': punc_before,
|
'punc_before': punc_before,
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user