{"slug":"code-halowerk-com-v1-grammar-cnf-minimum-token-substitution-4d48c0","title":"Return the minimum terminal substitutions and one corrected token sequence admit","host":"code.halowerk.com","method":"POST","resource":"https://code.halowerk.com/v1/grammar-cnf-minimum-token-substitution","category":"code","description":"Return the minimum terminal substitutions and one corrected token sequence admitted by a supplied CNF grammar.","price_listed":0.005,"price_asked":0.005,"state":"answering","state_label":"Answering","checks_7d":7,"answered_7d":7,"latency_ms_median":905,"reported_calls_30d":2,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"nonterminals":["S","A","B"],"rules":[{"left":"S","right":["A","B"]},{"left":"A","right":["a"]},{"left":"B","right":["b"]}],"start":"S","tokens":["a","x"]},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"nonterminals":{"items":{"maxLength":20,"minLength":1,"type":"string"},"maxItems":30,"minItems":1,"type":"array"},"rules":{"items":{"additionalProperties":false,"properties":{"left":{"maxLength":20,"minLength":1,"type":"string"},"right":{"items":{"maxLength":20,"minLength":1,"type":"string"},"maxItems":20,"minItems":0,"type":"array"}},"required":["left","right"],"type":"object"},"maxItems":120,"minItems":1,"type":"array"},"start":{"maxLength":20,"minLength":1,"type":"string"},"tokens":{"items":{"maxLength":20,"minLength":1,"type":"string"},"maxItems":25,"minItems":1,"type":"array"}},"required":["start","nonterminals","rules","tokens"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-11-26","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":903,"error":null},{"day":"2026-11-25","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":905,"error":null},{"day":"2026-11-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":904,"error":null},{"day":"2026-11-23","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":894,"error":null},{"day":"2026-11-22","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":1176,"error":null},{"day":"2026-11-21","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":1163,"error":null},{"day":"2026-11-20","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":1188,"error":null},{"day":"2026-11-19","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":1164,"error":null},{"day":"2026-11-18","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":343,"error":null}],"description_full":"Return the minimum terminal substitutions and one corrected token sequence admitted by a supplied CNF grammar.","last_updated":"2026-11-20T12:37:06.674Z","schemes":["exact"]}