diff --git a/src/Nlp.cpp b/src/Nlp.cpp index 6a216f1..f0fa7ae 100644 --- a/src/Nlp.cpp +++ b/src/Nlp.cpp @@ -24,7 +24,6 @@ NlpFstLoader::NlpFstLoader(std::vector &records, Json::Value norma : FstLoader() { mJsonNorm = normalization; mWerSidecar = wer_sidecar; - mUsePunctuation = use_punctuation; mUseCase = use_case; std::string last_label; diff --git a/src/Nlp.h b/src/Nlp.h index f53683a..a9757f9 100644 --- a/src/Nlp.h +++ b/src/Nlp.h @@ -57,7 +57,7 @@ class NlpFstLoader : public FstLoader { Json::Value mWerSidecar; virtual const std::string &getToken(int index) const { return mToken.at(index); } private: - bool mUsePunctuation, mUseCase; + bool mUseCase; }; #endif /* NLP_H_ */