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
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