Skip to content

Commit

Permalink
fix initializer syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
bertsky authored and stweil committed Mar 5, 2024
1 parent 2fbb810 commit a08a6ac
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/training/unicharset/normstrngs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ static bool is_hyphen_punc(const char32 ch) {
0xfe58, // small em dash
0xfe63, // small hyphen-minus
0xff0d, // fullwidth hyphen-minus
0x2e17, // double oblique hyphen (Fraktur)
0x2e17 // double oblique hyphen (Fraktur)
};
for (int kHyphenPuncUnicode : kHyphenPuncUnicodes) {
if (kHyphenPuncUnicode == ch) {
Expand All @@ -74,7 +74,7 @@ static bool is_single_quote(const char32 ch) {
0x201B, // single high-reversed-9 quotation mark (PropList.txt)
0x2032, // prime
0x300C, // left corner bracket (East Asian languages)
0xFF07, // fullwidth apostrophe
0xFF07 // fullwidth apostrophe
};
for (int kSingleQuoteUnicode : kSingleQuoteUnicodes) {
if (kSingleQuoteUnicode == ch) {
Expand All @@ -96,7 +96,7 @@ static bool is_double_quote(const char32 ch) {
0x301D, // reversed double prime quotation mark (East Asian langs,
// horiz.)
0x301E, // close double prime (East Asian languages written horizontally)
0xFF02, // fullwidth quotation mark
0xFF02 // fullwidth quotation mark
};
for (int kDoubleQuoteUnicode : kDoubleQuoteUnicodes) {
if (kDoubleQuoteUnicode == ch) {
Expand Down

0 comments on commit a08a6ac

Please sign in to comment.