talkify icon indicating copy to clipboard operation
talkify copied to clipboard

Multi-sentence queries don't work properly when sentences are all lower case

Open manthanhd opened this issue 9 years ago • 0 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?

manthanhd avatar Nov 11 '16 12:11 manthanhd