Skip to content

Commit

Permalink
removing unnecessary private flag
Browse files Browse the repository at this point in the history
  • Loading branch information
pique0822 committed Oct 9, 2023
1 parent 85ae0dd commit 687397d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/Nlp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ NlpFstLoader::NlpFstLoader(std::vector<RawNlpRecord> &records, Json::Value norma
: FstLoader() {
mJsonNorm = normalization;
mWerSidecar = wer_sidecar;
mUsePunctuation = use_punctuation;
mUseCase = use_case;

std::string last_label;
Expand Down
2 changes: 1 addition & 1 deletion src/Nlp.h
Original file line number Diff line number Diff line change
Expand Up @@ -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_ */

0 comments on commit 687397d

Please sign in to comment.