An open API service indexing awesome lists of open source software.

https://github.com/ichowdhury01/cyk-syntactic-parser

App that parses the syntax of inputted sentences using the CYK algorithm with a context-free grammar.
https://github.com/ichowdhury01/cyk-syntactic-parser

context-free-grammar cyk-algorithm natural-language-processing parser syntax-analysis

Last synced: about 2 months ago
JSON representation

App that parses the syntax of inputted sentences using the CYK algorithm with a context-free grammar.

Awesome Lists containing this project

README

        

# CYK Syntactic Parser

## Description
This app allows the user to input a file containing a context-free grammar in Chomsky normal form (CNF). It will then use that grammar to syntactically parse any sentences that user inputs, using the Cocke-Younger-Kasami (CKY) algorithm.

## Instructions

1. Install [Python 3+](https://www.python.org/downloads/).
2. Open your Python interpreter to the directory of this project.
3. `python Parse.py`
4. Follow on-screen directions. A context-free grammar for parsing can be found in the data folder.