[espeak-ng:master] new issue: Pronunciation test fails for Armenian when extended rule logging is enabled #github

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

[espeak-ng:master] New Issue Created by valdisvi:
#596 Pronunciation test fails for Armenian when extended rule logging is enabled

Test fail because with extended rule logging pronunciation for Armenian is different from what it has without it. This issue may be related with #528 (i.e. some settings may be lost or corrupted). Steps to reproduce 1. Make clean build and run tests:

make clean
make -B
make check

Note that all tests passes.

  1. Enable extended logging for Armenian and run tests again:
cd dictsource/
../src/espeak-ng --compile-debug=hyw
cd ..
make check

Note that test fail with error:

testing hyw "A Կրնամ"
1c1
< 'a g@rn'am
---
> 'a grn'am
Makefile:2447: recipe for target 'tests/translate.check' failed
make: *** [tests/translate.check] Error 1

That's because without extended rule logging (line numbers from rule file) output is:

espeak-ng -X -vhyw "A Կրնամ"
Found: 'a' [a]
Translate 'կրնամ'
Translate 'կրնամ'
 36	կ       [k]
 60	_) կ (B [k@]

 36	ր       [r]

 36	ն       [n]

 36	ա       [a]

 36	մ       [m]
 83	L02) մ (_ [m]

'a g@rn'am

but with line numbers:

espeak-ng -X -vhyw "A Կրնամ"
Found: 'a' [a]
Translate 'կրնամ'
 36	   76:	կ [k]

 36	  158:	ր [r]

 36	  108:	ն [n]

 36	   16:	ա [a]

 36	   96:	մ [m]
 83	   99:	L02) մ (_ [m]

'a grn'am

Join espeak-ng@groups.io to automatically receive all group messages.