The main purpose of the House of Wisdom, built by the Abbasid dynasty in Baghdad was to translate the ancient Greek words of literature into the Arabic language.
The House of Wisdom was mainly a library, an academy of scholars from across the whole empire as well as a translating institute.