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:
-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[]) {