What is the purpose of topic modeling in natural language processing?
a) To identify the tone or emotion expressed in a text
b) To categorize text documents into topics or themes
c) To translate a text from one language to another
d) To generate new text based on input