Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deprecate 'return_str' parameter in NLTKWordTokenizer and TreebankWor…
…dTokenizer (#2883) * Deprecated 'return_str' parameter in NLTKWordTokenizer and TreebankWordTokenizer * Simplified if-statement as suggested by 12mohaned Co-authored-by: Tom Aarsen <37621491+tomaarsen@users.noreply.github.com>
- Loading branch information
1 parent
7fb092a
commit e629d7e
Showing
3 changed files
with
23 additions
and
2 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