From 5c194ecc3450aafdca892fb74a9423a455f82226 Mon Sep 17 00:00:00 2001 From: Taku Kudo Date: Thu, 17 Jun 2021 01:56:17 +0900 Subject: [PATCH] fixed link error --- VERSION.txt | 2 +- python/VERSION.txt | 2 +- src/sentencepiece_trainer.cc | 4 +--- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/VERSION.txt b/VERSION.txt index 9c178d3..c65d728 100644 --- a/VERSION.txt +++ b/VERSION.txt @@ -1 +1 @@ -0.1.95 +0.1.96 diff --git a/python/VERSION.txt b/python/VERSION.txt index 9c178d3..c65d728 100644 --- a/python/VERSION.txt +++ b/python/VERSION.txt @@ -1 +1 @@ -0.1.95 +0.1.96 diff --git a/src/sentencepiece_trainer.cc b/src/sentencepiece_trainer.cc index 888f05e..b9fe64f 100644 --- a/src/sentencepiece_trainer.cc +++ b/src/sentencepiece_trainer.cc @@ -31,8 +31,6 @@ #include "trainer_factory.h" #include "util.h" -ABSL_DECLARE_FLAG(int, minloglevel); - namespace sentencepiece { namespace { static constexpr char kDefaultNormalizerName[] = "nmt_nfkc"; @@ -151,7 +149,7 @@ util::Status SentencePieceTrainer::MergeSpecsFromArgs( } else if (key == "minloglevel") { int v = 0; CHECK_OR_RETURN(absl::SimpleAtoi(value, &v)); - absl::SetFlag(&FLAGS_minloglevel, v); + logging::SetMinLogLevel(v); continue; }