Task: Translation
Input (English): English sentence: William Herschel was not only a leading astronomer but he also had a great talent for music.
Output (Tagalog): William Herschel ay hindi lamang isang nangungunang astronomer ngunit siya rin ay isang mahusay na talento sa musika.