The following files should be compatible with any Python 2.x version. On Microsoft Windows platforms you might need to install Python. You can get it here...

To test the parser, just start it in a command line tool:

python Charty.py

or provide an example sentence (that is covered by the grammar) as for example:

python Charty.py John kissed Mary

The output can be reduced to the parse only by changing the value of DEBUG in the beginning of Charty.py to:

DEBUG=0

Change the grammar definition to any file you like by setting the file name in:

grammarfile="PSG1.txt"

Main chart parser implementation.
A small parser and object wrapper for phrase structure rules and grammar files.
A sample phrase structure grammar for English.