[espeak-ng:master] reported: Occurrence of Javanese characters causes Espeak to mispronounce later text #github


espeak-ng@groups.io Integration <espeak-ng@...>
 

[espeak-ng:master] New Comment on Issue #915 Occurrence of Javanese characters causes Espeak to mispronounce later text
By jaacoppi:

Confirmed.

It looks like searching the dictionary and rules files for translations work okay. The phoneme output has many @ characters. Possibly a buffer overflow with multibyte characters?

Example 1:

espeak-ng -X "Testing ꦒꦩꦼꦭꦤ꧀  Testing"
Translate 'testing'
  1	t        [t]

  1	e        [E]

  1	s        [s]

  1	t        [t]

117	@) ing (_+S3evd  [IN]
  1	i        [I]

Translate 'test'
  1	t        [t]

  1	e        [E]

  1	s        [s]

  1	t        [t]

Translate 'ꦒꦩꦼꦭꦤ'
Translate 'ꦒꦩꦼꦭꦤ'
Translate 'ꦒꦩꦼꦭꦤ'
Translate '꧀'
Translate 'testing'
  1	t        [t]

  1	e        [E]

  1	s        [s]

  1	t        [t]

  1	i        [I]

 36	ng       [N]
  1	n        [n]

t'EstIN t'@st@N

Example 2:

espeak-ng -X "This is a test. ꦒꦩꦼꦭꦤ꧀  This is a test."
Found: 'this' [DIs]  $u+ $strend $verbsf $nounf
Found: 'is' [Iz]   $pastf $only
Flags:  a   $nounf
Translate 'a'
  1	a        [a]
 26	_) a (_  [a#]

Translate 'test'
  1	t        [t]

  1	e        [E]

  1	s        [s]

  1	t        [t]

DIs Iz a# t'Est
Translate 'ꦒꦩꦼꦭꦤ'
Translate 'ꦒꦩꦼꦭꦤ'
Translate 'ꦒꦩꦼꦭꦤ'
Translate '꧀'
Found: 'this' [DIs]  $u+ $strend $verbsf $nounf
Found: 'is' [Iz]   $pastf $only
Flags:  a   $nounf
Translate 'a'
  1	a        [a]
 26	_) a (_  [a#]

Translate 'test'
  1	t        [t]

  1	e        [E]

  1	s        [s]

  1	t        [t]

D@s @z '@ t'@st