to_sequence

ucca.convert.to_sequence(passage)[source]

Converts from a Passage object to linearized text sequence.

Parameters:passage – the Passage object to convert
Returns:a list of strings - 1 if sentences=False, # of sentences otherwise