This module can be used by tts modules or others.
It split input text to sentences according the punctuation of native language, and detects each sentence's language id, sentence in a dialog or not(include in ""), start position in the source text, and if sentence is a new paragraph.
pip install langdetect
pip install text2sentences
see the test/test.py
we only test English, Chinese