def METHOD_NAME(keywords):
    # TODO: set_ri and set_dsp are basically the same funtion. Maybe
    # we could abstract this somehow?
    dsp_kws = {dsp_kw: keywords.get(dsp_kw, False) for dsp_kw in KEYWORDS["dsp"]}
    dsp_stdins = {"d3": "dsp\non\n\n", "d3bj": "dsp\nbj\n\n"}
    dsp_stdin = "\n".join([dsp_stdins[dsp_kw] for dsp_kw, use in dsp_kws.items() if use])
    return dsp_stdin