Task: Translation
Input (English): English sentence: He was certainly considered a prodigy when a child with an encyclopedic knowledge and, like many other members of his extraordinarily talented family, he studied law and took an interest in mathematics.
Output (Tagalog): Siya ay tiyak itinuturing ng isang kagila-gilalas na kapag ang isang anak sa isang ensiklopediko kaalaman at, tulad ng maraming iba pang mga kasapi ng kanyang extraordinarily mahuhusay na pamilya, siya-aral ng batas at kinuha ng isang interes sa matematika.