core-nlg
core-nlg copied to clipboard
Add a method to force capitalize the next word
I use this on some projects:
def start_of_sentence(self):
"""
:return:a hidden dot to capitalize the next start of sentence
"""
return self.nlg_tags('span', '.', style='display:none')
maybe something like that before the write and then delete the span could do the trick.