A rudimentary implementation of both a CFG-to-CNF converter and CYK parser written in C++.
mkdir build
cd build
cmake ..
make -j4This project creates two outputs;
CYK_Parser- A shared library containing necessary classes/functions to perform grammar checking.CYK_Tests- A simple executable which links toCYK_Parserand checks a number of conforming and non-conforming sentances against different grammars.