-
-
Notifications
You must be signed in to change notification settings - Fork 285
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
deduplication: account for all punct chars in tokenization (#783)
* Fixing tokenizer not stripping "Ideographic Full Stop" (chinese full stop) * Bolder fix with unicode category stripping * Implemeting new implemenation as fallback * removing reformats * Creating function for duplicate sample length code and adding tests for sample_tokens * removing reformats * removing redundant comments * Removing sys dependcy in deduplication and making translate table static
- Loading branch information
Showing
2 changed files
with
88 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters