From 63ac6885479253899fd3454f7eaad8f597f5fbb7 Mon Sep 17 00:00:00 2001 From: Saloni Kumari <125120863+saloni-25@users.noreply.github.com> Date: Wed, 8 Oct 2025 11:11:42 +0530 Subject: [PATCH] Update README.md --- README.md | 25 ++++++++++++++++++++++--- 1 file changed, 22 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index ea82f3f..3cf7dd3 100644 --- a/README.md +++ b/README.md @@ -84,10 +84,29 @@ Download Button Notes & Tips ------------ -- Grammars should be close to CNF for CYK: binary non-terminal productions or single terminal productions. -- For natural language examples, use quoted terminals to represent words. -- If a valid sentence is rejected, verify that rules are truly CNF-compatible and tokens match your terminals. +- Grammars should follow Chomsky Normal Form (CNF): + either: + + A -> BC (two non-terminals), or + + A -> a (single terminal) + + - When using natural language, use quoted terminals for words. + - If a valid sentence is rejected, check: + - Grammar rules follow CNF + - Tokens match your terminal symbols + +Contributors +------------- + +Shashikant Kumar +Saloni Kumari +Divyanshi Singh +Ketan License ------- For educational/demo use. Replace or extend as needed for your project. + + +