diff --git a/training/validator.cpp b/training/validator.cpp index 034d611bc4..40a158b32e 100644 --- a/training/validator.cpp +++ b/training/validator.cpp @@ -177,7 +177,9 @@ bool Validator::IsVirama(char32 unicode) { // Returns true if the given UTF-32 unicode is a vedic accent. /* static */ bool Validator::IsVedicAccent(char32 unicode) { - return 0x1cd0 <= unicode && unicode < 0x1d00; + return 0x1cd0 <= unicode && unicode < 0x1d00 || + 0xa8e0 <= unicode && unicode <= 0xa8f7 || + 0x951 <= unicode && unicode <= 0x954; } // Returns true if the script is one that uses subscripts for conjuncts.