All Downloads are FREE. Search and download functionalities are using the official Maven repository.

xml.xproc.extract-skippable.xpl Maven / Gradle / Ivy

The newest version!



  
    

Extract skippable elements.

The input document should have been previously processed by px:isolate-skippable, which means that elements containing skippable elements have been broken up and wrapper span elements with unique id attributes have been inserted.

List of the sentence IDs, as a document with id attributes.

The list of skippable element IDs, as a document with id attributes (coming from the px:isolate-skippable step).

Skippable elements are extracted from the normal flow and SSML mark elements are inserted at their original position.

The mark names are of the form "X___Y", where "X" refers to the part of the sentence before the mark (and after the preceding mark), and "Y" refers to the part of the sentence after the mark (and before the following mark).

A flat list of extracted elements containing the skippable elements, wrapped in a SSML speak document. The context of the extracted elements outside of their containing sentence is lost. Any information (such as attributes) that needs to be preserved should be transferred to the sentence elements before this step.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy