Skip to content

fix(text): Improve sentence ending logic #1206

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

Merged
merged 4 commits into from
Jan 23, 2025

Conversation

kesara
Copy link
Member

@kesara kesara commented Jan 23, 2025

Fixes #1205

  • This adds a.k.a. to list of strings that doesn't mark end of a sentence.
  • This improves not sentence end text-chunk identification by identifying abbreviated chunks in (a.k.a. Foo or [i.e. Bar as not sentence ending text chunks.
  • Add e.g. to to list of strings that doesn't mark end of a sentence.

Fixes ietf-tools#1205

This adds `a.k.a.` to list of strings that doesn't mark end of a
sentence.
This improves not sentence end text-chunk identification by identifying
abbreviated chunks in `(a.k.a. Foo` or `[i.e. Bar` as not sentence
ending text chunks.
@kesara kesara merged commit a6246c8 into ietf-tools:main Jan 23, 2025
18 checks passed
@kesara kesara deleted the fix/improve-sentence-logic branch January 23, 2025 21:08
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.

Two spaces after “a.k.a.”
2 participants