diff --git a/README.md b/README.md index 6fddfdc..111011b 100644 --- a/README.md +++ b/README.md @@ -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/) diff --git a/tpro/converters/speechmatics.py b/tpro/converters/speechmatics.py index 7ff7c87..fd9800b 100644 --- a/tpro/converters/speechmatics.py +++ b/tpro/converters/speechmatics.py @@ -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, })