Python and Java code that demonstrates how to extract the main topics from text