Skip to content
Code and data related to "Bayesian Inference Semantics: A Modelling System and A Test Suite"
Nix Haskell Grammatical Framework JavaScript Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Frontend
parser
testsuite
webppl
LICENSE
README.md

README.md

This repository contains the code and data related to the StarSEM2019 paper: "Bayesian Inference Semantics: A Modelling System and A Test Suite", by Bernardy, Blanck, Chatzikyriakidis, Lappin, and Maskharashvili.

Getting started

To parse sentences go to folder parser and run:

./parsesuite.sh

Run the following command ti generate Haskell files/code of the problems:

./generate.sh

It will generate Haskell files for the examples of the test suite. Those files will be located in the folder named testsuite.

Run the following command to translate Haskell files into WebPPL programs and run them:

./runmodel.sh ProblemN.hs

where ProblemN is the N-th example of the test suite (subtitute N by a number of an example).

You can’t perform that action at this time.