Fixed a wrong punctuation in UserOverrideModel.cpp
This commit is contained in:
parent
7dbfbe8e20
commit
a6e24ce3ae
|
@ -125,7 +125,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) {
|
||||||
|
|
Loading…
Reference in New Issue