I want to find the number of sentences of a text.
so I use:
n_sentence = text.count('.') + text.count('!') + text.count('?')
It's working and it's really ugly.
I've read the .count method but I can't find how to add multiple object to be counted in.
Or maybe the method re.findall is more suited? (I've miss something because I can't make it work.)
Thanks in advance,