fixed bug in speechmatics, added more readme

This commit is contained in:
2019-02-20 08:55:16 -05:00
parent d1c52e00d6
commit cccd82d3cb
2 changed files with 6 additions and 3 deletions

View File

@@ -29,6 +29,8 @@ formats.
-s, --save TEXT save to file
--help Show this message and exit.
### Example
# STT Services
- [Speechmatics](https://www.speechmatics.com/)

View File

@@ -58,9 +58,10 @@ class SpeechmaticsConverter(TranscriptConverter):
'end': word_obj.end,
'confidence': word_obj.confidence,
'word': word_obj.word,
'always_capitalized': (
word_obj.is_proper_noun
or word_obj.word == 'I'),
'always_capitalized': self.check_if_always_capitalized(
word_obj.word,
i,
tagged_words),
'punc_after': punc_after,
'punc_before': punc_before,
})