Task: Text Categorization
Input (English): This ruler patronized such poets as Romanus the Melodist. This ruler took advantage of the death of Amalasuntha to invade Sicily. This man's reign saw a loss to Gelimer at Ad Decimum, but at Tricamarum generals serving this ruler defeated the Vandals. Another conflict occurring during this ruler's reign saw a major defeat at Callinicum, which was followed by a truce known as the Eternal Peace. He put down unrest instigated by members of the Blue and Green factions, and one of his most important achievements, which was overseen by Tribonian, solidified the power of the emperor and outlawed certain religious practices. For 10 points, name this Byzantine emperor, husband of Theodora and author of a revolutionary legal code.
Output (English): History