Translating Algebraic Phrases