1
This commit is contained in:
parent
7bace2c10c
commit
7475566743
@ -60,6 +60,7 @@ private:
|
|||||||
if (strword == " " || strword.empty()) { //忽略空格
|
if (strword == " " || strword.empty()) { //忽略空格
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
std::transform(strword.begin(), strword.end(), strword.begin(), ::tolower);
|
||||||
auto itr = dirty_words.find(strword.size());
|
auto itr = dirty_words.find(strword.size());
|
||||||
if (dirty_words.find(strword.size()) != dirty_words.end()) {
|
if (dirty_words.find(strword.size()) != dirty_words.end()) {
|
||||||
itr->second[strword] = strword;
|
itr->second[strword] = strword;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user