/earley

An implementation of Earley Parser

Primary LanguagePython

Run with:

cat inputs/test.txt | python earley_partialmerge.py grammars/grammar.pcfg.bin

or

cat inputs/test.txt | python earley_fullmerge.py grammars/grammar.pcfg.bin