Code for ICML2018 - Generalized Earley Parser: Bridging Symbolic Grammars and Sequence Data for Future Prediction.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src/python
.gitignore
README.md

README.md

ICML2018 - Generalized Earley Parser: Bridging Symbolic Grammars and Sequence Data for Future Prediction

The algorithm is described in a ICML 2018 paper (supplementary materials).

The generalized Earley parser is implemented in src/python/parser/generalizedearley.py.

Folders in the repository:

  • src/python/datasets: code for loading the extracted features of the used datasets.
  • src/python/experiments: code for running the experiments. The main experiments are implemented in cad.py and wnp.py.
  • src/python/parser: files for grammar inference.

If you find this code useful, please cite our work with the following bibtex:

@inproceedings{qi2018future,
    title={Generalized Earley Parser: Bridging Symbolic Grammars and Sequence Data for Future Prediction},
    author={Qi, Siyuan and Jia, Baoxiong and Zhu, Song-Chun},
    booktitle={International Conference on Machine Learning (ICML)},
    year={2018}
}