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.
Type Name Latest commit message Commit time
Failed to load latest commit information.

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:


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


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:

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