Skip to content

Commit

Permalink
[api] class Simhasher: default argument supported
Browse files Browse the repository at this point in the history
  • Loading branch information
yanyiwu committed Sep 22, 2024
1 parent cffc21a commit cca339b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/simhash/Simhasher.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ namespace simhash
jenkins _hasher;
cppjieba::Jieba _jieba;
public:
Simhasher(const string& dictPath, const string& modelPath, const string& idfPath, const string& stopWords): _jieba(dictPath, modelPath, "", idfPath, stopWords)
Simhasher(const string& dictPath = "", const string& modelPath = "", const string& idfPath = "", const string& stopWords = ""): _jieba(dictPath, modelPath, "", idfPath, stopWords)
{}
~Simhasher(){};

Expand Down

0 comments on commit cca339b

Please sign in to comment.