
scripts.create_distribute.dtb.Narrator-DtbookToDaisy.taskScript Maven / Gradle / Ivy
The newest version!
TTS Narrator (DAISY XML to DAISY Book)
Converts a DTBook 2005 file to a complete DAISY/NISO 2005 DTB and a Daisy 2.02 DTB file set
Input DTBook file
Select the DTBook input file
Output directory
Select directory for the output Narrator DTBs
DTBook Fix
Select whether to apply DTBook Fix routines
Apply sentence detection
Select whether to apply sentence detection
Multi-language support
Select whether to use different TTS voices depending on the xml:lang attributes.
MP3 Bitrate
Select output MP3 encoding bitrate
2.02 href target
Select the SMIL element targeted by href URIs: par or text
input
${input}
output
${outputPath}/pipeline__temp/tmp0/00-dtbookfix.xml
runCategories
${dtbookFix}
simplifyHeadingLayout
false
forceRun
false
renameIllegalFilenames
true
input
${outputPath}/pipeline__temp/tmp0/00-dtbookfix.xml
output
${outputPath}/pipeline__temp/tmp1/
renamingPattern
echo
filesystemSafe
true
exclude
None
input
${outputPath}/pipeline__temp/tmp1/00-dtbookfix.xml
output
${outputPath}/pipeline__temp/tmp1/01-mathFlow.xml
input
${outputPath}/pipeline__temp/tmp1/01-mathFlow.xml
schemas
-//TPB//SCH dtbook 2005 Narrator//EN;-//DAISY//SCH dtbook 2005 MathML
requireInputType
Dtbook document
abortThreshold
ERROR
input
${outputPath}/pipeline__temp/tmp1/01-mathFlow.xml
output
${outputPath}/pipeline__temp/tmp1/02-abbracro.xml
doAbbrAcronymDetection
true
doSentenceDetection
false
doWordDetection
false
input
${outputPath}/pipeline__temp/tmp1/02-abbracro.xml
output
${outputPath}/pipeline__temp/tmp1/03-struct.xml
input
${outputPath}/pipeline__temp/tmp1/03-struct.xml
output
${outputPath}/pipeline__temp/tmp1/04-sent.xml
doAbbrAcronymDetection
false
doSentenceDetection
${doSentDetection}
doWordDetection
false
doSingleSentAdd
false
input
${outputPath}/pipeline__temp/tmp1/04-sent.xml
output
${outputPath}/pipeline__temp/tmp1/05-syncpoint.xml
inputFilename
${outputPath}/pipeline__temp/tmp1/05-syncpoint.xml
outputDirectory
${outputPath}/pipeline__temp/speechgen/
outputFilename
${outputPath}/pipeline__temp/speechgen/speechgen.xml
mp3Output
true
mp3bitrate
${bitrate}
concurrentAudioMerge
true
doSmilSyncAttributeBasedSyncPointLocation
true
failOnError
false
multiLang
${multiLang}
outputDirectory
${outputPath}/z3986
manuscriptFilename
${outputPath}/pipeline__temp/speechgen/speechgen.xml
outputDTBFilename
${outputPath}/z3986/$filename{input}
input
${outputPath}/z3986/speechgen.opf
abortThreshold
ERROR
manifest
${outputPath}/z3986/speechgen.opf
outDir
${outputPath}/daisy202
hrefTarget
${202hrefTarget}
input
${outputPath}/daisy202/ncc.html
abortThreshold
ERROR
delete
${outputPath}/pipeline__temp/
© 2015 - 2025 Weber Informatics LLC | Privacy Policy