Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Viewer

Notices

Reply
 
Thread Tools Search this Thread
Old 10-26-2025, 02:15 AM   #1
Barty
doofus
Barty ought to be getting tired of karma fortunes by now.Barty ought to be getting tired of karma fortunes by now.Barty ought to be getting tired of karma fortunes by now.Barty ought to be getting tired of karma fortunes by now.Barty ought to be getting tired of karma fortunes by now.Barty ought to be getting tired of karma fortunes by now.Barty ought to be getting tired of karma fortunes by now.Barty ought to be getting tired of karma fortunes by now.Barty ought to be getting tired of karma fortunes by now.Barty ought to be getting tired of karma fortunes by now.Barty ought to be getting tired of karma fortunes by now.
 
Barty's Avatar
 
Posts: 2,557
Karma: 13089041
Join Date: Sep 2010
Device: Kobo Libra 2, Kindle Voyage
Piper TTS and abbreviated titles Dr. Mrs. etc

Hi

Piper has a flaw, common with TTS, in that it pauses after abbreviated titles like

Dr. House -> doctor (pause) house.

It also doesn't know some titles, like St. It reads it as suh or sin and treats the . as full stop.

Fixing the TTS may be too hard. Perhaps it's best to do expansion of the most common abbreviated titles prior to sending it to the TTS engine? "Saint Auburn" instead of "St. Auburn".

Regards
Barty is offline   Reply With Quote
Old 10-26-2025, 03:49 AM   #2
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 22,334
Karma: 30621608
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Outside North America the name "St John", note the lack of a full stop, is normally pronounced Sinj'n.

As in the Reverend St John Eyre Rivers (Jane's cousin), the author Madeleine St John, UK politician Norman St John-Stevas and a dozen or so Baron St Johns of Bletso.

BR
BetterRed is offline   Reply With Quote
Old 10-26-2025, 03:52 AM   #3
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,991
Karma: 29579516
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
St. can be saint or street probably more. It's not so trivial to do expansion, especially across multiple languages.
kovidgoyal is online now   Reply With Quote
Old 10-26-2025, 12:52 PM   #4
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 82,057
Karma: 150871335
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by Barty View Post
Hi

Piper has a flaw, common with TTS, in that it pauses after abbreviated titles like

Dr. House -> doctor (pause) house.

It also doesn't know some titles, like St. It reads it as suh or sin and treats the . as full stop.

Fixing the TTS may be too hard. Perhaps it's best to do expansion of the most common abbreviated titles prior to sending it to the TTS engine? "Saint Auburn" instead of "St. Auburn".

Regards
What you could do is load the eBook into the editor and search/replace these problematic abbreviations.
JSWolf is offline   Reply With Quote
Old 11-08-2025, 03:48 PM   #5
Quoth
Still reading
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 15,308
Karma: 113000119
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
Quote:
Originally Posted by JSWolf View Post
What you could do is load the eBook into the editor and search/replace these problematic abbreviations.
Yes, that "fixes it" but breaks the book.

TTS needs to work better. It's actually a complicated problem.
Quoth is offline   Reply With Quote
Old 11-08-2025, 06:05 PM   #6
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 82,057
Karma: 150871335
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by Quoth View Post
Yes, that "fixes it" but breaks the book.

TTS needs to work better. It's actually a complicated problem.
So you have a copy for reading and a copy for TTS.
JSWolf is offline   Reply With Quote
Old 01-18-2026, 01:13 PM   #7
JohnnyBook
Addict
JohnnyBook holds these truths to be self-evident.JohnnyBook holds these truths to be self-evident.JohnnyBook holds these truths to be self-evident.JohnnyBook holds these truths to be self-evident.JohnnyBook holds these truths to be self-evident.JohnnyBook holds these truths to be self-evident.JohnnyBook holds these truths to be self-evident.JohnnyBook holds these truths to be self-evident.JohnnyBook holds these truths to be self-evident.JohnnyBook holds these truths to be self-evident.JohnnyBook holds these truths to be self-evident.
 
Posts: 221
Karma: 126824
Join Date: Dec 2008
Location: Out There
Device: K3 W/3G (Fixed screen!) & Paperwhite Wifi
I had seen this problem for awhile and have been editing the books and expanding them from Mr. to Mister, Dr. to Doctor, etc.

It is annoying to hear the pause in Mr. Smith.

Another thing I have noticed that I have not figured out is the pause that we should be hearing for: … and — .

For example: "I just… I just want to ride in an plane."
Piper just reads it as "I just I just want to ride in an plane." all run together.
Which sounds VERY unnatural.

At first I thought of just doing a blanket search and replace for "…" and "—" to replace them with "," but the pause for a comma is really not long enough of a pause. (and I don't really want to make that big of a change to the text.)

In experimenting I found that replacing them with a "." is a much better pause, But then you have the text with many new periods where the next word is NOT capitalized
Ex. "but I’m afraid… afraid of flying." becomes: "but I’m afraid. afraid of flying."

Would this be problem in TTS? or Piper?

And who would be the ones to talk to or suggest this change, or fix, to make "…" and "—" be represented by a long pause instead of ignored as they currently are?
JohnnyBook is offline   Reply With Quote
Old 01-18-2026, 09:40 PM   #8
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,991
Karma: 29579516
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
This needs to be fixed in the TTS engine aka Piper in this case. It could be hacked around in calibre by doing blanket search replace on the text before feeding it to the TTS engine, but that's hacky and likely to break other things.
kovidgoyal is online now   Reply With Quote
Old 01-19-2026, 10:25 PM   #9
JohnnyBook
Addict
JohnnyBook holds these truths to be self-evident.JohnnyBook holds these truths to be self-evident.JohnnyBook holds these truths to be self-evident.JohnnyBook holds these truths to be self-evident.JohnnyBook holds these truths to be self-evident.JohnnyBook holds these truths to be self-evident.JohnnyBook holds these truths to be self-evident.JohnnyBook holds these truths to be self-evident.JohnnyBook holds these truths to be self-evident.JohnnyBook holds these truths to be self-evident.JohnnyBook holds these truths to be self-evident.
 
Posts: 221
Karma: 126824
Join Date: Dec 2008
Location: Out There
Device: K3 W/3G (Fixed screen!) & Paperwhite Wifi
Yeah, I don't mind editing Mr. or Dr. or Mrs. to expand them, (or other abbreviations that sound better when expanded.)

But editing the text this extensively for "…" or "—" is not really something I would like either. (although easy with a global search and replace) I just don't want to modify the book that much.
[for example: David Gerrold's "Deathbeast" has ~70k words, and uses "—" 1736 times, and "…" almost 200 times.]

I did do some looking at Piper and found its github. A request to fix "…" to turn it into a pause instead of skipping it is listed about 7 months ago and another of the same request a few months before that.

On the other hand, its hard to say for sure, but as far as I can tell, it doesn't look like a lot work has been done on Piper since its last release in Nov 2023.

I don't know if the developer of it is still working on it.
JohnnyBook is offline   Reply With Quote
Old 01-19-2026, 11:14 PM   #10
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,991
Karma: 29579516
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
IIRC it was forked and more active development is happening in the fork, on my phone right now so cant find the link to the fork.
kovidgoyal is online now   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre 8.9: TTS output, and where are TTS files stored? Moonbase59 Viewer 3 08-27-2025 11:40 AM
What is the correct way to present the author's abbreviated name? AnnieQuinn Calibre 33 08-15-2025 06:30 PM
How to install "incompatible" apps to Boox M96+T68. IVONA TTS, ACAPELA TTS etc. Booxtor Onyx Boox 24 04-19-2017 06:08 AM
Other Fiction Wood, Henry, Mrs: Mrs. Halliburton's Troubles. v1. 8 Feb 2015 crutledge BBeB/LRF Books 0 02-08-2015 08:11 AM
GUI Launcher greyed out when TTS is on and does not come back when TTS is off jmseight Kindle Developer's Corner 4 07-28-2012 03:48 AM


All times are GMT -4. The time now is 05:50 AM.


MobileRead.com is a privately owned, operated and funded community.