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

Function metadata_dict

examples/migration/benchmark_funasr.py:114–122  ·  view source on GitHub ↗
(items: Iterable[str])

Source from the content-addressed store, hash-verified

112
113
114def metadata_dict(items: Iterable[str]) -> Dict[str, str]:
115 parsed: Dict[str, str] = {}
116 for item in items:
117 if "=" not in item:
118 parsed[item] = ""
119 continue
120 key, value = item.split("=", 1)
121 parsed[key.strip()] = value.strip()
122 return parsed
123
124
125def extract_text(result: Any) -> str:

Callers 1

markdown_summaryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…