Skip to content

Fix: No tokenizable word + merge last punctuation into last claim#1

Merged
DentanJeremie merged 3 commits into
mainfrom
jeremiedentan/ktc_version
Jun 14, 2026
Merged

Fix: No tokenizable word + merge last punctuation into last claim#1
DentanJeremie merged 3 commits into
mainfrom
jeremiedentan/ktc_version

Conversation

@DentanJeremie

Copy link
Copy Markdown
Contributor

Handles two edge case:

  • Avoids raising an error when there are no nltk-tokenizable content in the input.
  • When there are no EOS token and the last char is a punctuation mark, it is merged into the latest claim.

… generation and when there is not EOS and the last char is a punctuation mark.
@DentanJeremie DentanJeremie merged commit 47bb793 into main Jun 14, 2026
13 checks passed
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.

1 participant