Multi-sentence queries don't work properly when sentences are all lower case
manthanhd opened this issue · comments
Current logic relies on having an upper case letter followed by a whitespace after a period. So the following is fine:
Hello. How are you doing?
While this won't work:
hello. how are you doing?
Solution might involve capitalizing letters after spaces before splitting it but then it won't work with the following sentence:
Hello Mr. Anderson. How are you today?
That will detect three sentences like so:
Hello Mr.
Anderson.
How are you today?
Maybe certain words are excluded from sentence splitting and therefore are part of the same sentence?