passage2file¶
-
ucca.convert.
passage2file
(passage, filename, indent=True, binary=False)[source]¶ Writes a UCCA passage as a standard XML file or a binary pickle :param passage: passage object to write :param filename: file name to write to :param indent: whether to indent each line :param binary: whether to write pickle format (or XML)