FMAT_query_bind(
FMAT_query(
"[MASK] is {TARGET}.",
MASK = .(Male="He", Female="She"),
TARGET = .(Occupation=c("a doctor", "a nurse", "an artist"))
),
FMAT_query(
"[MASK] occupation is {TARGET}.",
MASK = .(Male="His", Female="Her"),
TARGET = .(Occupation=c("doctor", "nurse", "artist"))
)
)
Run the code above in your browser using DataLab