Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Will invalidate sentences with question mark in the middle #127

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

raivisdejus
Copy link

Adding validation for sentences with question mark before lower case character.

This PR extends comments mentioned in #126

Current code in this PR does not do any special validations for Spanish as it assumes that the regular question mark "?" before lower case character is still invalid for Spanish and valid cases would be use of upside down question mark "¿" or regular question mark "?" before upper case character.

Also as this code marks sentences invalid and does not drop them completely they can still be picked up from the invalidated set if needed.

Happy to adjust the code with more specific checks for Spanish if someone guides me on valid and invalid examples for Spanish

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant