The generated phrase table contains candidate phrase to phrase translation pairs with source-to-target and target-to source translation probabilities.
the open source Moses SMT system (Koehn et al., 2007) For each English Phrase "e1" { @ar_phrases = list of Arabic Phrases aligned to "e" in the phrase table; For each a (@ar_phrases) { @en_phrases = list of English phrases aligned to "a" in the phrase table; For each e2 (@en_phrases) { $Prob(e2\e1) = Prob(a\e1)*Prob(e2\a); } } } can be used in the same way to generate a synonyms dictionary from phrase table.