mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-10-31 13:38:47 +00:00
Updated comments for POST jump rule
This commit is contained in:
committed by
Reece H. Dunn
parent
6bd656cf4a
commit
29f0b673ee
@@ -1876,12 +1876,10 @@ static void MatchRule(Translator *tr, char *word[], char *word_start, int group_
|
||||
break;
|
||||
case RULE_SKIPCHARS:
|
||||
{
|
||||
// Used for lang=Tamil, used to match on the next word after an unknown word ending
|
||||
// only look until the end of the word (including the end-of-word marker)
|
||||
// Jx means 'skip characters until x', where 'x' may be '_' for 'end of word'
|
||||
// '(Jxy' means 'skip characters until xy'
|
||||
char *p = post_ptr + letter_xbytes;
|
||||
char *p2 = p;
|
||||
int rule_w; // skip characters until this
|
||||
char *p2 = p; // pointer to the previous character in the word
|
||||
int rule_w; // first wide character of skip rule
|
||||
utf8_in(&rule_w, rule);
|
||||
while ((letter_w != rule_w) && (letter_w != RULE_SPACE) && (letter_w != 0)) {
|
||||
p2 = p;
|
||||
|
||||
Reference in New Issue
Block a user