microsoft / task_oriented_dialogue_as_dataflow_synthesis

Code to reproduce experiments in the paper "Task-Oriented Dialogue as Dataflow Synthesis" (TACL 2020).
MIT License
308 stars 66 forks source link

how to get the string of program as in the paper instead of lispress #70

Closed zqwerty closed 2 years ago

zqwerty commented 2 years ago

I've read the relevant issues and READMEs. The annotation of the program is in the lispress format, which can be parsed through parse_lispress and transformed to a Program object through lispress_to_program. However, how can I get the string that represents the function calls directly as in the paper (e.g., findEvent(EventSpec(start=DateTimeSpec(month=feb, day=30))))?

Thanks!

sammthomson commented 2 years ago

Hi @zqwerty, we have not publicly released any code yet that renders or parses that format. The idea for the data/code release was to use a Lisp-like format to keep parsing and rendering as simple as possible.

zqwerty commented 2 years ago

Thank you for your quick response!