-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Languages detected in input document should be mentioned in scripts that use TTS #226
Comments
While I agree it could be useful information for the user to have, I'm not sure that the warning would not confuse people, at least the way it is worded right now, because Pipeline is capable of selecting the right voice for the right languages (if the TTS engines have been set up correctly). What of course is left up to the user is to set voice preferences. But that is not required to get a "correct" output. Perhaps the user should only get a warning when the app detects a potential issue in the settings, e.g. if there are multiple alternatives for a language that occurs in the document, and the user hasn't set up any preferences in the GUI or CSS, so that the output would be undetermined. |
WordToEPUB in its Settings window displays the detected language codes
separated by commas. It is then upon the user to ignore it or take any
action.
When users will want to troubleshoot the use of unwanted TTS voices,
this display of languages in the input document in Pipeline window
will be very useful.
The text around this this proposed new field can be mutually decided,
may be it will just say “languages detected in input document”
Many a times documents in regional languages have wrong language
codes. In such cases the user will get alerted by the detected
languages field and may take corrective action.
|
I'm in favor of the extra information. We can think about whether |
I have an idea for a new API call for providing this kind of information. It will be something for a future version. |
Re stylesheet-parameters and voices endpoints |
In scripts such as DTBook to DAISY 3, after the DTBook browse field, there can be a read only text box that displays languages/dialects detected in the input file selected by the user.
Some text like "Make sure you select TTS voices for these languages" can be added over there.
The text was updated successfully, but these errors were encountered: