to_standard

ucca.convert.to_standard(passage)[source]

Converts a Passage object to a standard XML root element.

The standard XML specification is not contained here, but it uses a very shallow structure with attributes to create hierarchy.

Parameters:passage – the passage to convert
Returns:the root element of the standard XML structure