The “DTBook cleaner” script applies fixing routines to a DTBook XML
file. Three sets of routines are provided and can be individually
activated : a “repair” set, a “tidy” set and a “narrator” set.
Optionally, the script can apply sentence detection on the DTBook
file.
More information on the fixes applied by the script for each set of
routines is provided on the Detailed cleaning routines
page.