View Single Post
Old 02-23-2018, 08:17 AM   #26
roger64
Wizard
roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.
 
Posts: 2,608
Karma: 3000161
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
Tagging selected foreign words

If we manage to wrap this
Code:
<span xml:lang="xx" lang="xx">foreign</span>
around selected foreign words, we may help improve TTS reading. Foreign words will be pronounced with their native accent instead of an haphazard and sometimes unintelligible way.

The requisite is to write first a list.txt of these selected words -which can be easily selected and copied from the spellchecker panel of unrecognized words (to whom they all belong). For the purpose of this thread we suppose that such a list is available.

Help requested

I am looking for a function that I could launch on an ePub with the Calibre editor and which would use sequentially this list to wrap the above spans around each occurrence of these foreign names.

Last edited by roger64; 02-23-2018 at 08:26 AM.
roger64 is offline   Reply With Quote