bag-of-phrase translation