Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/marian-nmt/sentencepiece.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTaku Kudo <taku910@users.noreply.github.com>2020-10-05 10:39:16 +0300
committerGitHub <noreply@github.com>2020-10-05 10:39:16 +0300
commit9cf136582d9cce492ba5a0cfb775f9e777fe07ea (patch)
tree67474faef3756dbb821a0a5dfb2914fcd08f14a1
parent4e32230a06164a1349a091f0951c710b06d59254 (diff)
parent287acae32fbc758c7acd66c51b212b9d40cb320a (diff)
Merge pull request #552 from guillaumekln/fix-generate-vocabulary
Fix type of generate_vocabulary option
-rw-r--r--src/spm_encode_main.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/spm_encode_main.cc b/src/spm_encode_main.cc
index 4a51cb8..a04ca18 100644
--- a/src/spm_encode_main.cc
+++ b/src/spm_encode_main.cc
@@ -45,7 +45,7 @@ ABSL_FLAG(std::string, vocabulary, "",
"tokens in \"vocabulary\" file");
ABSL_FLAG(int32, vocabulary_threshold, 0,
"Words with frequency < threshold will be treated as OOV");
-ABSL_FLAG(int32, generate_vocabulary, false,
+ABSL_FLAG(bool, generate_vocabulary, false,
"Generates vocabulary file instead of segmentation");
int main(int argc, char *argv[]) {