UOM // Fix punctuation conditioning in "IsEndingPunctuation".

This commit is contained in:
ShikiSuen 2022-02-16 10:20:41 +08:00
parent d99f0b7db0
commit 1a33d2c885
1 changed files with 1 additions and 1 deletions

View File

@ -136,7 +136,7 @@ static double Score(size_t eventCount,
static bool IsEndingPunctuation(const string& value) { static bool IsEndingPunctuation(const string& value) {
return value == "" || value == "" || value== "" || value == "" || return value == "" || value == "" || value== "" || value == "" ||
value == "" || value == "" || value== "" || value == ""; value == "" || value == "" || value== "" || value == "";
} }
static string WalkedNodesToKey(const std::vector<NodeAnchor>& walkedNodes, static string WalkedNodesToKey(const std::vector<NodeAnchor>& walkedNodes,
size_t cursorIndex) { size_t cursorIndex) {