Date   

[espeak-ng:master] reported: fuzz: use binary directory for ESPEAK_DATA_PATH #github

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

[espeak-ng:master] New Comment on Pull Request #939 fuzz: use binary directory for ESPEAK_DATA_PATH
By brawer:

Looks good to me. @rhdunn, do you want to merge, so the fuzzing can start?


[espeak-ng:master] reported: Unable to compile zhy dictionay on Windows #github

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

[espeak-ng:master] New Comment on Issue #933 Unable to compile zhy dictionay on Windows
By feerrenrut:

Thanks for the explanation @jaacoppi and @rhdunn. Could you link the PR / change to this issue when possible. I think it would be handy to confirm the espeak mechanism for compiling the dictionaries matches with our usage of the espeak DLL in NVDA.


Pull Request Opened #github

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

[espeak-ng/espeak-ng] Pull request opened by catenacyber:

#939 fuzz: use binary directory for ESPEAK_DATA_PATH

instead of current working directory so, the fuzzer can be launched from anywhere

cc @rhdunn @brawer This should fix https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=34051 and get oss-fuzz running for real


[espeak-ng:master] reported: Windows 10 Build Failed - Cannot Find espeak-ng-data\*_dict #github

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

[espeak-ng:master] New Comment on Issue #938 Windows 10 Build Failed - Cannot Find espeak-ng-data\*_dict
By rhdunn:

If you use programmer mode for calc and enter -1073741515, you get C000 0135 in hex. That isn't one of the error codes in include/espeak-ng/espeak_ng.h, but is the Windows STATUS_DLL_NOT_FOUND error code 0xC0000135. I'm not sure what that relates to.

Have you tried running that command in the debugger and seeing which library it is trying to load?


[espeak-ng:master] reported: Windows 10 Build Failed - Cannot Find espeak-ng-data\*_dict #github

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

[espeak-ng:master] New Comment on Issue #938 Windows 10 Build Failed - Cannot Find espeak-ng-data\*_dict
By BaijinBullet:

Thank you for the response! I attempted copy dict files and copy other directory from espeak-ng-data, but still receive fail. However, no error message beyond negative number return. Although I receive no error from build before, perhaps it is not yet working correctly? Or are there other files I need to copy as well? You spoke of $PATH; by chance, perhaps you know which file I can change this? I am very grateful for your advice.

On Tue, 11 May 2021, 07:22 jaacoppi, @.***> wrote:

Urgently need to build on Windows, thank you!

I don't have Windows experience so I don't know how to fix the build errors. As a quick and dirty workaround, try copying the espeak-ng-data directory from your working linux build.

The build process has a few steps: 1) build espeak-ng Apparently you've got this part working.

2) use espeak-ng to build phoneme, intonations and language files It's just espeak-ng --compile-intonations, espeak-ng --compile-phonemes, espeak-ng --compile=. The resulting files will be placed in the espeak-ng-data directory. If this fails it's more than likely to be a problem with $PATH.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/espeak-ng/espeak-ng/issues/938#issuecomment-837839647, or unsubscribe https://github.com/notifications/unsubscribe-auth/AT3RV76E6SXGMQND6R7ZNOTTNC5K3ANCNFSM44R3TPDQ .


[espeak-ng:master] reported: Procedure not clear on how to remove/disable a language #github

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

[espeak-ng:master] New Comment on Issue #922 Procedure not clear on how to remove/disable a language
By Nafihahmd:

@jbowler Let me look into what you said.

And to the question whether I have an app, No I don't have. Espeak-ng has to stand on it's own, I think.


[espeak-ng:master] reported: Procedure not clear on how to remove/disable a language #github

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

[espeak-ng:master] New Comment on Issue #922 Procedure not clear on how to remove/disable a language
By Nafihahmd:

@jaacoppi I have removed unwanted languages from tr_languages.c and the result is :

All Languages*

file size (bytes) size after stripping**
libespeak-ng.a 2,584,008 454,842
libespeak-ng.so 1,557,248 498,486

English Only

file size (bytes) size after stripping
libespeak-ng.a 2,420,760 440,866
libespeak-ng.so 1,448,576 481,016

English + South Indian Languages

file size (bytes) size after stripping
libespeak-ng.a 2,427,696 441,954
libespeak-ng.so 1,456,096 485,240

* All languages describe size after the removal of SSML feature
** Strip means remove debug information from a library. It is done using Strip command.
eg., strip libespeak-ng.a


[espeak-ng:master] reported: Windows 10 Build Failed - Cannot Find espeak-ng-data\*_dict #github

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

[espeak-ng:master] New Comment on Issue #938 Windows 10 Build Failed - Cannot Find espeak-ng-data\*_dict
By jaacoppi:

Urgently need to build on Windows, thank you!

I don't have Windows experience so I don't know how to fix the build errors. As a quick and dirty workaround, try copying the espeak-ng-data directory from your working linux build.

The build process has a few steps: 1) build espeak-ng Apparently you've got this part working.

2) use espeak-ng to build phoneme, intonations and language files It's just espeak-ng --compile-intonations, espeak-ng --compile-phonemes, espeak-ng --compile=. The resulting files will be placed in the espeak-ng-data directory. If this fails it's more than likely to be a problem with $PATH.


[espeak-ng:master] reported: Procedure not clear on how to remove/disable a language #github

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

[espeak-ng:master] New Comment on Issue #922 Procedure not clear on how to remove/disable a language
By jbowler:

Yes, that's expected. Now you need to track down the internal references in libespeak-ng; the print_dictionary_flags sounds innocent, but the fact that "DecodeRule" is trying to compile a dictionary seems really weird to me. Of course, I'm saying this on the basis of the function names...

Don't you have your own app? Ultimately if you are reducing code usage in a library that's what matters; the library compiles fine but it clearly has missing references that should be resolved internally. With your own app you can do a static link and remove whole functions from the library.


Updates to Github #github

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

[espeak-ng:master] New Comment on Issue #922 Procedure not clear on how to remove/disable a language
By Nafihahmd:

No luck still. Modifying the make file as you said resulted in the following error:

src/src_speak_ng-speak-ng.o: In function `main':
/home/melayil/Github/espeak-ng/src/espeak-ng.c:544: undefined reference to `espeak_ng_CompileIntonation'
/home/melayil/Github/espeak-ng/src/espeak-ng.c:532: undefined reference to `espeak_ng_CompileMbrolaVoice'
/home/melayil/Github/espeak-ng/src/espeak-ng.c:558: undefined reference to `espeak_ng_CompilePhonemeDataPath'
/home/melayil/Github/espeak-ng/src/espeak-ng.c:560: undefined reference to `espeak_ng_CompilePhonemeData'
/home/melayil/Github/espeak-ng/src/espeak-ng.c:632: undefined reference to `espeak_ng_CompileDictionary'
src/.libs/libespeak-ng.a(src_libespeak_ng_la-dictionary.o): In function `LookupDict2':
/home/melayil/Github/espeak-ng/src/libespeak-ng/dictionary.c:2784: undefined reference to `print_dictionary_flags'
/home/melayil/Github/espeak-ng/src/libespeak-ng/dictionary.c:2814: undefined reference to `print_dictionary_flags'
src/.libs/libespeak-ng.a(src_libespeak_ng_la-dictionary.o): In function `MatchRule':
/home/melayil/Github/espeak-ng/src/libespeak-ng/dictionary.c:2150: undefined reference to `DecodeRule'
src/.libs/libespeak-ng.a(src_libespeak_ng_la-espeak_api.o): In function `espeak_CompileDictionary':
/home/melayil/Github/espeak-ng/src/libespeak-ng/espeak_api.c:156: undefined reference to `espeak_ng_CompileDictionary'
collect2: error: ld returned 1 exit status
Makefile:1166: recipe for target 'src/speak-ng' failed
make[1]: *** [src/speak-ng] Error 1


[espeak-ng:master] New Comment on Issue #922 Procedure not clear on how to remove/disable a language
By Nafihahmd:

Still no luck. Modifying the make file as you said resulted in the following error:

src/src_speak_ng-speak-ng.o: In function `main':
/home/melayil/Github/espeak-ng/src/espeak-ng.c:544: undefined reference to `espeak_ng_CompileIntonation'
/home/melayil/Github/espeak-ng/src/espeak-ng.c:532: undefined reference to `espeak_ng_CompileMbrolaVoice'
/home/melayil/Github/espeak-ng/src/espeak-ng.c:558: undefined reference to `espeak_ng_CompilePhonemeDataPath'
/home/melayil/Github/espeak-ng/src/espeak-ng.c:560: undefined reference to `espeak_ng_CompilePhonemeData'
/home/melayil/Github/espeak-ng/src/espeak-ng.c:632: undefined reference to `espeak_ng_CompileDictionary'
src/.libs/libespeak-ng.a(src_libespeak_ng_la-dictionary.o): In function `LookupDict2':
/home/melayil/Github/espeak-ng/src/libespeak-ng/dictionary.c:2784: undefined reference to `print_dictionary_flags'
/home/melayil/Github/espeak-ng/src/libespeak-ng/dictionary.c:2814: undefined reference to `print_dictionary_flags'
src/.libs/libespeak-ng.a(src_libespeak_ng_la-dictionary.o): In function `MatchRule':
/home/melayil/Github/espeak-ng/src/libespeak-ng/dictionary.c:2150: undefined reference to `DecodeRule'
src/.libs/libespeak-ng.a(src_libespeak_ng_la-espeak_api.o): In function `espeak_CompileDictionary':
/home/melayil/Github/espeak-ng/src/libespeak-ng/espeak_api.c:156: undefined reference to `espeak_ng_CompileDictionary'
collect2: error: ld returned 1 exit status
Makefile:1166: recipe for target 'src/speak-ng' failed
make[1]: *** [src/speak-ng] Error 1


[espeak-ng:master] new issue: Windows 10 Build Failed - Cannot Find espeak-ng-data\*_dict #github

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

[espeak-ng:master] New Issue Created by BaijinBullet:
#938 Windows 10 Build Failed - Cannot Find espeak-ng-data\*_dict

Hello, I built successfully on Linux, but cannot be built on Windows using Visual Studio 2017.

Used: Visual Studio 2017 Community with C++ and others Windows 8.1 SDK WiX v.3.11.2.4516 pcaudiolib (today's clone)

I receive this:

3>------ Rebuild All started: Project: data, Configuration: Debug x64 ------
3>C:\Users\moqi\eSpeakNG\espeak-ng\src\windows\data.vcxproj(80,5): error MSB3073: The command "C:\Users\moqi\eSpeakNG\espeak-ng\src\windows\x64\Debug\espeak-ng.exe --path=C:\Users\moqi\eSpeakNG\espeak-ng\src\windows\..\.. --compile-intonations" exited with code -1073741515.
3>Done building project "data.vcxproj" -- FAILED

Then:

4>------ Rebuild All started: Project: installer, Configuration: Debug x64 ------
4>		C:\Program Files (x86)\WiX Toolset v3.11\bin\candle.exe -dDebug -d"DevEnvDir=C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\\" -dSolutionDir=C:\Users\moqi\eSpeakNG\espeak-ng\src\windows\ -dSolutionExt=.sln -dSolutionFileName=espeak-ng.sln -dSolutionName=espeak-ng -dSolutionPath=C:\Users\moqi\eSpeakNG\espeak-ng\src\windows\espeak-ng.sln -dConfiguration=Debug -dOutDir=bin\x64\Debug\ -dPlatform=x64 -dProjectDir=C:\Users\moqi\eSpeakNG\espeak-ng\src\windows\installer\ -dProjectExt=.wixproj -dProjectFileName=installer.wixproj -dProjectName=installer -dProjectPath=C:\Users\moqi\eSpeakNG\espeak-ng\src\windows\installer\installer.wixproj -dTargetDir=C:\Users\moqi\eSpeakNG\espeak-ng\src\windows\installer\bin\x64\Debug\ -dTargetExt=.msi -dTargetFileName=espeak-ng.msi -dTargetName=espeak-ng -dTargetPath=C:\Users\moqi\eSpeakNG\espeak-ng\src\windows\installer\bin\x64\Debug\espeak-ng.msi -despeak-ng.Configuration=Debug -d"espeak-ng.FullConfiguration=Debug|x64" -despeak-ng.Platform=x64 -despeak-ng.ProjectDir=C:\Users\moqi\eSpeakNG\espeak-ng\src\windows\ -despeak-ng.ProjectExt=.vcxproj -despeak-ng.ProjectFileName=espeak-ng.vcxproj -despeak-ng.ProjectName=espeak-ng -despeak-ng.ProjectPath=C:\Users\moqi\eSpeakNG\espeak-ng\src\windows\espeak-ng.vcxproj -despeak-ng.TargetDir=C:\Users\moqi\eSpeakNG\espeak-ng\src\windows\x64\Debug\ -despeak-ng.TargetExt=.exe -despeak-ng.TargetFileName=espeak-ng.exe -despeak-ng.TargetName=espeak-ng -despeak-ng.TargetPath=C:\Users\moqi\eSpeakNG\espeak-ng\src\windows\x64\Debug\espeak-ng.exe -dlibespeak-ng.Configuration=Debug -d"libespeak-ng.FullConfiguration=Debug|x64" -dlibespeak-ng.Platform=x64 -dlibespeak-ng.ProjectDir=C:\Users\moqi\eSpeakNG\espeak-ng\src\windows\ -dlibespeak-ng.ProjectExt=.vcxproj -dlibespeak-ng.ProjectFileName=libespeak-ng.vcxproj -dlibespeak-ng.ProjectName=libespeak-ng -dlibespeak-ng.ProjectPath=C:\Users\moqi\eSpeakNG\espeak-ng\src\windows\libespeak-ng.vcxproj -dlibespeak-ng.TargetDir=C:\Users\moqi\eSpeakNG\espeak-ng\src\windows\x64\Debug\ -dlibespeak-ng.TargetExt=.dll -dlibespeak-ng.TargetFileName=libespeak-ng.dll -dlibespeak-ng.TargetName=libespeak-ng -dlibespeak-ng.TargetPath=C:\Users\moqi\eSpeakNG\espeak-ng\src\windows\x64\Debug\libespeak-ng.dll -out obj\x64\Debug\ -pedantic -arch x64 Product.wxs
4>		C:\Program Files (x86)\WiX Toolset v3.11\bin\Light.exe -out C:\Users\moqi\eSpeakNG\espeak-ng\src\windows\installer\bin\x64\Debug\espeak-ng.msi -pdbout C:\Users\moqi\eSpeakNG\espeak-ng\src\windows\installer\bin\x64\Debug\espeak-ng.wixpdb -cultures:null -pedantic -contentsfile obj\x64\Debug\installer.wixproj.BindContentsFileListnull.txt -outputsfile obj\x64\Debug\installer.wixproj.BindOutputsFileListnull.txt -builtoutputsfile obj\x64\Debug\installer.wixproj.BindBuiltOutputsFileListnull.txt -wixprojectfile C:\Users\moqi\eSpeakNG\espeak-ng\src\windows\installer\installer.wixproj -ext WixUIExtension obj\x64\Debug\Product.wixobj
4>C:\Users\moqi\eSpeakNG\espeak-ng\src\windows\installer\Product.wxs(346,0): error LGHT0103: The system cannot find the file 'C:\Users\moqi\eSpeakNG\espeak-ng\src\windows\installer\..\..\..\espeak-ng-data\phontab'.
4>C:\Users\moqi\eSpeakNG\espeak-ng\src\windows\installer\Product.wxs(349,0): error LGHT0103: The system cannot find the file 'C:\Users\moqi\eSpeakNG\espeak-ng\src\windows\installer\..\..\..\espeak-ng-data\phonindex'.

I made some changes to libespeak so that it is build; before this, it did not work as well. If relevant, can provide.

Urgently need to build on Windows, thank you!


[espeak-ng:master] reported: Procedure not clear on how to remove/disable a language #github

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

[espeak-ng:master] New Comment on Issue #922 Procedure not clear on how to remove/disable a language
By jbowler:

You don't remove the files, rather you modify Makefile.am not to include them in the build; i.e. delete the three lines:

        src/libespeak-ng/compiledata.c \
        src/libespeak-ng/compiledict.c \
        src/libespeak-ng/compilembrola.c \

from the definition of src_libespeak_ng_laSOURCES and whichever of the phsource/ph* lines and espeak-ng-data/*_dict lines that you don't need to build. Although, since espeak_ng won't be able to do the compile operations you probably don't even want to bother with the latter; just comment out the 'all-local' target at the top of Makefile.am

For tr_translate.c you have to comment out the languages. BTW this is for an experiment or a one-time unsupportable hack for a particular system. Actually doing it in the project would require some way of choosing the languages at 'configure' time, some support for the same in the Visual Studio solution and extra configure options such as --enable-ssml plus a somewhat tricky change to allow espeak-ng to be built twice, once with compile support once without, or maybe --enable-compile.


Updates to Github #github

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

[espeak-ng:master] New Comment on Issue #922 Procedure not clear on how to remove/disable a language
By Nafihahmd:

Your method was very quick buddy. Removed SSML functionality. I just had to add 2 dummy functions. I will write the new ssml.c below.



#include "config.h"

#include <ctype.h>
#include <errno.h>
#include <locale.h>
#include <math.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <wchar.h>
#include <wctype.h>


#include <espeak-ng/espeak_ng.h>
#include <espeak-ng/speak_lib.h>
#include <espeak-ng/encoding.h>
#include <ucd/ucd.h>

#include "ssml.h"
#include "dictionary.h"           // for strncpy0
#include "mnemonics.h"               // for LookupMnemName, MNEM_TAB, 
#include "readclause.h"           // for PARAM_STACK, param_stack, AddNameData
#include "soundicon.h"               // for LoadSoundFile2
#include "synthesize.h"           // for SPEED_FACTORS, speed
#include "translate.h"            // for CTRL_EMBEDDED, IsDigit09, utf8_out
#include "voice.h"                // for SelectVoice, SelectVoiceByName

static MNEM_TAB ssmltags[] = {
	{ "speak",     SSML_SPEAK },
	{ "voice",     SSML_VOICE },
	{ "prosody",   SSML_PROSODY },
	{ "say-as",    SSML_SAYAS },
	{ "mark",      SSML_MARK },
	{ "s",         SSML_SENTENCE },
	{ "p",         SSML_PARAGRAPH },
	{ "phoneme",   SSML_PHONEME },
	{ "sub",       SSML_SUB },
	{ "tts:style", SSML_STYLE },
	{ "audio",     SSML_AUDIO },
	{ "emphasis",  SSML_EMPHASIS },
	{ "break",     SSML_BREAK },
	{ "metadata",  SSML_IGNORE_TEXT },

	{ "br",     HTML_BREAK },
	{ "li",     HTML_BREAK },
	{ "dd",     HTML_BREAK },
	{ "img",    HTML_BREAK },
	{ "td",     HTML_BREAK },
	{ "h1",     SSML_PARAGRAPH },
	{ "h2",     SSML_PARAGRAPH },
	{ "h3",     SSML_PARAGRAPH },
	{ "h4",     SSML_PARAGRAPH },
	{ "hr",     SSML_PARAGRAPH },
	{ "script", SSML_IGNORE_TEXT },
	{ "style",  SSML_IGNORE_TEXT },
	{ "font",   HTML_NOSPACE },
	{ "b",      HTML_NOSPACE },
	{ "i",      HTML_NOSPACE },
	{ "strong", HTML_NOSPACE },
	{ "em",     HTML_NOSPACE },
	{ "code",   HTML_NOSPACE },

	{ NULL, 0 }
};

/********* Dummy Functions *********/

int ProcessSsmlTag(wchar_t *xml_buf, char *outbuf, int *outix, int n_outbuf, const char *xmlbase, bool *audio_text, char *current_voice_id, espeak_VOICE *base_voice, char *base_voice_variant_name, bool *ignore_text, bool *clear_skipping_text, int *sayas_mode, int *sayas_start, SSML_STACK *ssml_stack, int *n_ssml_stack, int *n_param_stack, int *speech_parameters)
{
	return 0;
}

int ParseSsmlReference(char *ref, int *c1, int *c2) {

	return -1; //Failure to Parse

}

And now to the real business. With SSML |file | size (bytes) | |libespeak-ng.a |2,584,008 | |libespeak-ng.so |1,557,248 |

Without SSML |file | size (bytes) | |libespeak-ng.a |2,516,848 | |libespeak-ng.so |1,514,088 |


[espeak-ng:master] New Comment on Issue #922 Procedure not clear on how to remove/disable a language
By Nafihahmd:

Your method was very quick buddy. Removed SSML functionality. I just had to add 2 dummy functions. I will write the new ssml.c below.



#include "config.h"

#include <ctype.h>
#include <errno.h>
#include <locale.h>
#include <math.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <wchar.h>
#include <wctype.h>


#include <espeak-ng/espeak_ng.h>
#include <espeak-ng/speak_lib.h>
#include <espeak-ng/encoding.h>
#include <ucd/ucd.h>

#include "ssml.h"
#include "dictionary.h"           // for strncpy0
#include "mnemonics.h"               // for LookupMnemName, MNEM_TAB, 
#include "readclause.h"           // for PARAM_STACK, param_stack, AddNameData
#include "soundicon.h"               // for LoadSoundFile2
#include "synthesize.h"           // for SPEED_FACTORS, speed
#include "translate.h"            // for CTRL_EMBEDDED, IsDigit09, utf8_out
#include "voice.h"                // for SelectVoice, SelectVoiceByName

static MNEM_TAB ssmltags[] = {
	{ "speak",     SSML_SPEAK },
	{ "voice",     SSML_VOICE },
	{ "prosody",   SSML_PROSODY },
	{ "say-as",    SSML_SAYAS },
	{ "mark",      SSML_MARK },
	{ "s",         SSML_SENTENCE },
	{ "p",         SSML_PARAGRAPH },
	{ "phoneme",   SSML_PHONEME },
	{ "sub",       SSML_SUB },
	{ "tts:style", SSML_STYLE },
	{ "audio",     SSML_AUDIO },
	{ "emphasis",  SSML_EMPHASIS },
	{ "break",     SSML_BREAK },
	{ "metadata",  SSML_IGNORE_TEXT },

	{ "br",     HTML_BREAK },
	{ "li",     HTML_BREAK },
	{ "dd",     HTML_BREAK },
	{ "img",    HTML_BREAK },
	{ "td",     HTML_BREAK },
	{ "h1",     SSML_PARAGRAPH },
	{ "h2",     SSML_PARAGRAPH },
	{ "h3",     SSML_PARAGRAPH },
	{ "h4",     SSML_PARAGRAPH },
	{ "hr",     SSML_PARAGRAPH },
	{ "script", SSML_IGNORE_TEXT },
	{ "style",  SSML_IGNORE_TEXT },
	{ "font",   HTML_NOSPACE },
	{ "b",      HTML_NOSPACE },
	{ "i",      HTML_NOSPACE },
	{ "strong", HTML_NOSPACE },
	{ "em",     HTML_NOSPACE },
	{ "code",   HTML_NOSPACE },

	{ NULL, 0 }
};

/********* Dummy Functions *********/

int ProcessSsmlTag(wchar_t *xml_buf, char *outbuf, int *outix, int n_outbuf, const char *xmlbase, bool *audio_text, char *current_voice_id, espeak_VOICE *base_voice, char *base_voice_variant_name, bool *ignore_text, bool *clear_skipping_text, int *sayas_mode, int *sayas_start, SSML_STACK *ssml_stack, int *n_ssml_stack, int *n_param_stack, int *speech_parameters)
{
	return 0;
}

int ParseSsmlReference(char *ref, int *c1, int *c2) {

	return -1; //Failure to Parse

}

And now to the real business. With SSML |file | size (bytes) | --------------------- | ---------------- |libespeak-ng.a |2,584,008 | |libespeak-ng.so |1,557,248 |

Without SSML |file | size (bytes) | --------------------- | ---------------- |libespeak-ng.a |2,516,848 | |libespeak-ng.so |1,514,088 |


[espeak-ng/espeak-ng] Pull request opened by Christianlm:

#937 Updates italian source dictionaries

Improvements to rules for irregular/pronominal verbs and exceptions.


[espeak-ng:master] reported: Procedure not clear on how to remove/disable a language #github

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

[espeak-ng:master] New Comment on Issue #922 Procedure not clear on how to remove/disable a language
By Nafihahmd:

@jaacoppi, Thanks. I will use the first method you said. Previously I was going by the second method and it felt very cumbersome.


[espeak-ng:master] reported: Install it in google colab? RuntimeError: espeak not installed on your system #github

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

[espeak-ng:master] New Comment on Issue #935 Install it in google colab? RuntimeError: espeak not installed on your system
By Nafihahmd:

Try

pip install py-espeak-ng

Espeak and Espeak-ng are different by the way


[espeak-ng:master] reported: Procedure not clear on how to remove/disable a language #github

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

[espeak-ng:master] New Comment on Issue #922 Procedure not clear on how to remove/disable a language
By jaacoppi:

The build system (Gnu Make) expects those files to exist. You'll get an error if you remove them.

One way to do it is to delete everything, just leave an empty file. Then recompile and wait for the compiler to give error messages about missing functions. Then create dummy functions for those parts.

Another way is to look through the code and figure out where each function is called and why. Then delete everything you don't need.


[espeak-ng:master] reported: Procedure not clear on how to remove/disable a language #github

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

[espeak-ng:master] New Comment on Issue #922 Procedure not clear on how to remove/disable a language
By Nafihahmd:

Hi @jbowler , as you said I removed all compile*.c tried recompiling. But it is giving me errors. Let me elaborate the steps I followed.

  1. I moved compile*.c files out of the main folder

    mv src/libespeak-ng/compile*.c ../
    
  2. I recompiled the code using make -B

  3. Now in the middle of compiling I am getting the following error.

    CC       src/ucd-tools/src/src_libespeak_ng_la-tostring.lo
    make[1]: *** No rule to make target 'src/libespeak-ng/compiledata.c', needed by 'src/libespeak-ng/src_libespeak_ng_la-compiledata.lo'.  Stop.
    make[1]: Leaving directory '/home/melayil/Github/espeak-ng'
    Makefile:749: recipe for target 'all' failed
    make: *** [all] Error 2
    

N.B: I get similar error if I remove ssml.c file also (make[1]: *** No rule to make target 'src/libespeak-ng/ssml.c,...')

N.B 2: I think @jaacoppi was asking to removing only parts of .c file in his previous post. If that is the case, how should I remove functions inside the .c files without effecting other code that will be calling the former function. Should I leave a dummy function with no code inside?


[espeak-ng:master] reported: Install it in google colab? RuntimeError: espeak not installed on your system #github

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

[espeak-ng:master] New Comment on Issue #935 Install it in google colab? RuntimeError: espeak not installed on your system
By krigeta:

when i try to use this to install it in python

!pip install espeak-ng

I got this error

ERROR: Could not find a version that satisfies the requirement espeak-ng (from versions: none)
ERROR: No matching distribution found for espeak-ng


Pull Request Opened #github

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

[espeak-ng/espeak-ng] Pull request opened by henrykrumb:

#936 Add female forms of "Ingenieur" to German exception list and treat gender asterisk as punctuation

Changes: - add 'Ingenieurin', 'Ingenieurinnen' to German exception list - add "_" modifier to asterisk, so that it will be treated as punctuation.

Rationale: Terms "Ingenieur" is pronounced correctly, whereas "Ingenieurin/Ingenieurinnen" are not. Asterisk ("Gendersternchen") is a quasi-standard for writing gender-inclusive text in German.


[espeak-ng:master] reported: Can't find Japanese language code. #github

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

[espeak-ng:master] New Comment on Issue #864 Can't find Japanese language code.
By kanjieater:

The _dict files go to /usr/share/espeak-ng-data/ on a typical install.

That error message seems weird in this situation. Check if you can compile other languages, like English (en). You'll need the files in dictsource/en_rules in your $PWD.

All of the other dicts were available in /usr/lib/x86_64-linux-gnu/espeak-ng-data/ image

I've managed to get english to write a wav file that speaks. I copied the ja_dict to the dictsource folder that is being read but espeak-ng still doesn't know it exists.

When I try to compile the languages from the dockerfile I get Segmentation fault

#expose local file to dictsource which has the rules folder `dictsource`
/usr/src/app/aeneas/output/dictsource# espeak-ng --compile en
Segmentation fault

All of this is reproducible from the dockerfile, so it should be easy to reproduce.

581 - 600 of 4679