MCPcopy Create free account
hub / github.com/BYVoid/OpenCC / _dict

Method _dict

scripts/compile_to_inline_config_test.py:127–128  ·  view source on GitHub ↗
(self, compiled)

Source from the content-addressed store, hash-verified

125 return path
126
127 def _dict(self, compiled) -> dict:
128 return compiled["conversion_chain"][0]["dict"]
129
130 def test_union_of_union_flattens_to_single_inline(self):
131 # union( union(A, B), C ) → one flat inline; "x" from A wins over C.

Calls

no outgoing calls

Tested by

no test coverage detected