bidirectional correspondence grammar (bcg)