Skip to content

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

@manthanhd

Description

@manthanhd

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions