Task: Text Categorization
Input (English): nation was defeated at Koh Chang by the French. Khana Ratsadon led a bloodless revolution in this nation, one kingdom in which compiled the Dharmashastra. A kingdom in this nation succeeded the Kingdom of Hiran and was founded by Mangrai. This nation, once home to the kingdom of Lanna, was the site of a capital founded by General Taksin at Thonburi. The collapse of the Ayutthaya in this nation preceded the ascent of the Chakri dynasty of Rama I. It was invaded by Japan during World War II to access the Malay Peninsula. It was once dominated by the monarchs of Burma. For 10 points, name this nation, once known as Siam, whose capital is Bangkok.
Output (English): History