MCPcopy Create free account
hub / github.com/modelscope/FunASR / write_jsonl

Function write_jsonl

examples/migration/benchmark_funasr.py:139–142  ·  view source on GitHub ↗
(path: Path, rows: Iterable[Dict[str, Any]])

Source from the content-addressed store, hash-verified

137
138
139def write_jsonl(path: Path, rows: Iterable[Dict[str, Any]]) -> None:
140 with path.open("w", encoding="utf-8") as handle:
141 for row in rows:
142 handle.write(json.dumps(row, ensure_ascii=False, sort_keys=True) + "\n")
143
144
145def markdown_summary(rows: List[Dict[str, Any]], args: argparse.Namespace, model_load_seconds: float) -> str:

Callers 1

mainFunction · 0.85

Calls 1

writeMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…