Task: Text Categorization
Input (English): This character avoids capture by the Oreillons when he proves that he is not a Jesuit. A slave-owner steals a jewel-encrusted sheep from him, but he recovers it when that slave-owner's ship is sunk, and he later loses some of his wealth to Parisians. He was befriended by James the Anabaptist after deserting the Bulgarian army, which occurred after he was booted out of Baron Thunder-ten-tronckh's castle. Cacambo leads him to Paraguay sometime after leaving Portugal, where he witnesses the hanging of his philosophical teacher, Dr. Pangloss. FTP, name this lover of Cunegonde, the optimistic title character of a work by Voltaire.
Output (English): Literature