MCPcopy Create free account
hub / github.com/crisxuan/bestJavaer / main

Function main

scripts/postprocess_english_articles.py:68–76  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

66
67
68def main() -> None:
69 count = 0
70 for path in TARGET_ROOT.glob("*/*.md"):
71 before = path.read_text(encoding="utf-8")
72 after = clean_text(before)
73 if after != before:
74 path.write_text(after, encoding="utf-8")
75 count += 1
76 print(f"postprocessed {count} English article files")
77
78
79if __name__ == "__main__":

Callers 1

Calls 1

clean_textFunction · 0.85

Tested by

no test coverage detected