in your Mill ivyDeps. You then need to download the Wiktionary data and place it somewhere accessible by your project so you can inflect verbs.

To run the scripts and example project in this repo, you need Mill version 0.2.5 or later.

Running the example project

Run qasrl-crowd-example/scripts/setup.sh. This will prompt you to download the Wiktionary dataset, which you should do. Then run qasrl-crowd-example/scripts/run_crowd_example.sh.

Autocomplete

To get an idea of how the autocomplete functionality works, try running scripts/run_autocomplete_example.sh. This will throw you into a REPL where you may type prefixes to questions (or full questions) and get the autocomplete feedback displayed to you when you press Enter.

If you wish to use the autocomplete or other functionality in your own code, take a look at scripts/autocomplete_example.scala, which was running in the previous step, for example usage.

Crowdsourcing

To start up the crowdsourcing pipeline and see a preview of the task UI, run scripts/run_crowd_example.sh and go to localhost:8888/task/generation/preview in your browser. To understand how to set everything up so it works on MTurk, adapt the instructions here to the local code. To trace the main entry points: