MCPcopy Create free account
hub / github.com/docling-project/docling-parse / write_textline_delta

Function write_textline_delta

tests/test_parse.py:34–36  ·  view source on GitHub ↗
(lines: List[str], filename: str, separator: str)

Source from the content-addressed store, hash-verified

32
33
34def write_textline_delta(lines: List[str], filename: str, separator: str) -> None:
35 with open(filename, "w", encoding="utf-8") as fw:
36 fw.write(separator.join(lines))
37
38
39def _round_floats(obj, ndigits=3):

Calls 1

writeMethod · 0.80

Tested by

no test coverage detected