Supplement to paper. Converts a categorized CFG into an MG. Input: Categorized CFG = List of of rules. Rule = 3-tuple (Non-Terminal, Word, Category), i.e. the Non-terminal can generate the word Word of category Category. Capital letters are always interpretted as non-terminals here, minor letters as terminals. Words are strings out of terminals and non-terminals. Categories are strings that describe the type/category of a produced word. S is the default start symbol
-
Notifications
You must be signed in to change notification settings - Fork 0
ikmMaierBTUCS/CFG-to-MG-algorithm
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published