-
Notifications
You must be signed in to change notification settings - Fork 10.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tokenize : add --show-count-only (token) option
This commit adds a new option to the tokenize example that allows printing only the total number of tokens without printing the actual tokens. The motivation for this change is that is can be useful to know the total number of tokens in a given input without having to print the tokens themselves.
- Loading branch information
Showing
1 changed file
with
26 additions
and
19 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