Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 787 Bytes

README.md

File metadata and controls

29 lines (19 loc) · 787 Bytes

Pragmatics in Pyro

Port of www.problang.org from WebPPL to Pyro.

So far Chapters 01 and 09 have been included, with exercises, solutions and slides.

In the notebooks, utterances are interpreted by listeners which model the decisions of a speaker, and in doing so infer the intended meaning as well as properties of the speaker.

pragmaticlistener

Example Setup

git clone https://www.github.com/marvosyntactical/pragmatics-pyro/
cd pragmatics-pyro
virtualenv myenv
source myenv/bin/activate
python3 setup.py install
python -m ipykernel install --name my_env_name

Example execution

jupyter lab course/chapters/
# Then select Kernel->Change Kernel...->my_env_name