Add phrase table generation