To obtain p(y | x) above, we need to marginalize over a nuisance variable, the derivation of y.
we use standard beam-pruning and cube-pruning parameter settings, following Chiang (2007), when generating the hypergraphs.