You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have developed a Text to Speech system for Sinhala language using marytts. We have used marytts version 5.2. However, we could not train that system to read numbers, currencies, etc. Then we have identified that there is a preprocess. java file and we can use that to solve above problem.
However, we could not compile that successful. Error says:
cannot find symbol variable si
Location: class java.util.Locale
in that preprocess.java file, it tries to import java.util.locale class file but cannot find locale.SINHALA.
Then gives the above error.
Could you please help me to solve this problem
Best Regards,
Randil
The text was updated successfully, but these errors were encountered:
in that preprocess.java file, it tries to import java.util.locale class file but cannot find locale.SINHALA.
I'm not sure which preprocess file you mean -- do you have a link? In any case, I'm pretty sure there is no Locale.SINHALA constant, so that obviously explains your error. Please read the documentation: https://docs.oracle.com/javase/tutorial/i18n/locale/create.html
Actually we have extracted that preprocess.java file from marytts. That is inside marytts-languages/marytts-lang-de/src/..../java/marytts/..../de/
For german, it imports locale class and then call german locale using locale.GERMAN file.
Similar to that we tried to do it for Sinhala. But could not compile.
Hi,
We have developed a Text to Speech system for Sinhala language using marytts. We have used marytts version 5.2. However, we could not train that system to read numbers, currencies, etc. Then we have identified that there is a preprocess. java file and we can use that to solve above problem.
However, we could not compile that successful. Error says:
cannot find symbol variable si
Location: class java.util.Locale
in that preprocess.java file, it tries to import java.util.locale class file but cannot find locale.SINHALA.
Then gives the above error.
Could you please help me to solve this problem
Best Regards,
Randil
The text was updated successfully, but these errors were encountered: