-
Notifications
You must be signed in to change notification settings - Fork 302
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
replacing tokenize by split_words_on_whitespace to keep text structure (
#201) Summary: ## Related Issue Fixes #200 - [ x ] I have read CONTRIBUTING.md to understand how to contribute to this repository :) Replaced `tokenize` and `detokenize` functions by `split_words_on_whitespace` and `rejoin_words_and_whitespace`. ## Unit Tests ### Text Replaced expected strings in unit test using `ReplaceSimilarChars`. All tests passed. Pull Request resolved: #201 Reviewed By: jbitton Differential Revision: D34819291 Pulled By: zpapakipos fbshipit-source-id: 3174900eb7823c1b4df535cbf90edcaf3cadafdc
- Loading branch information
1 parent
15e7157
commit bc7c105
Showing
3 changed files
with
14 additions
and
16 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
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