CYK is a parsing algorithm for context-free grammars.
you can use this software which is programmed in java, to check whether a set of grammar rules can create a specific string or not.
input example:
S->AB|BC
A->BA|a
B->CC|b
C->AB|a
exit #continues to get grammar rules until user enters 'exit'.
baaba #inputs string
note that the first variable is your start grammar rule
the grammar must be in chamsky form.
-
Notifications
You must be signed in to change notification settings - Fork 0
kgholami65/CYK
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
CYK algorithm
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published