thedavekwon / CYK-Algorithm-ECE467-NLP

CYK-Algorithm-ECE467-NLP

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Constituency Parser with CYK algorithms

Usage

python3 CYKparser.py --cnf CNF_PATH

# type in your sentence to parse without punctionation
# output: constituents parsed in bracketed notation 
# or NO VALID PARSES if valid parse does not exist

About

CYK-Algorithm-ECE467-NLP


Languages

Language:Python 100.0%