## Rational Speech Acts (RSA) examples

This folder contains examples of reasoning about reasoning with nested inference
adapted from work by @ngoodman and collaborators.

- `generics.py`: Taken from [Probabilistic Language Understanding](https://gscontras.github.io/probLang/chapters/07-generics.html)
- `hyperbole.py`: Taken from [Probabilistic Language Understanding](https://gscontras.github.io/probLang/chapters/03-nonliteral.html)
- `schelling.py`: Taken from [ForestDB](http://forestdb.org/models/schelling.html)
- `schelling_false.py`: Taken from [ForestDB](http://forestdb.org/models/schelling-falsebelief.html)
- `search.py`: Inference algorithms used in the example models. Adapted from [Design and Implementation of Probabilistic Programming Languages](http://dippl.org/chapters/03-enumeration.html)
- `semantic_parsing.py`: Taken from [Design and Implementation of Probabilistic Programming Languages](http://dippl.org/examples/zSemanticPragmaticMashup.html)
