MCPcopy Create free account
hub / github.com/RASAAS/docmcp-knowledge / normalize_class

Function normalize_class

scripts/parse_exemption_to_json.py:40–42  ·  view source on GitHub ↗
(raw: str)

Source from the content-addressed store, hash-verified

38
39
40def normalize_class(raw: str) -> str:
41 raw = raw.strip().replace(" ", " ")
42 return CLASS_NORM.get(raw, raw)
43
44
45def parse_table(text: str) -> list[dict]:

Callers 1

parse_tableFunction · 0.85

Calls 1

getMethod · 0.80

Tested by

no test coverage detected