Here are some examples of topics analysis using MeaningCloud API:
To show how to extract the topics we will use the following text as an example:
"Robert Downey Jr has topped Forbes magazine's annual list of the highest paid actors for the second year in a row. The 49-year-old star of the Iron Man and Avengers films made an estimated $75m over the past year, beating rivals Dwayne Johnson, Bradley Cooper, Chris Hemsworth and Leonardo DiCaprio."
txt
parameter to submit the text.lang
the language in which the text is going to be analyzed, in this case English, en.tt
parameter to extract all the possible topics.key
parameter.uw
so the engine tries to find possible analysis when there are typos in the text.curl
:curl 'https://api.meaningcloud.com/topics-2.0' \
-F 'key=YOUR API KEY' \
-F 'lang=en' \
-F 'tt=a' \
-F 'uw=y' \
-F 'txt=Robert Downey Jr has topped Forbes magazine\'s annual list of the highest paid actors for the second year in a row. The 49-year-old star of the Iron Man and Avengers films made an estimated \$75m over the past year, beating rivals Dwayne Johnson, Bradley Cooper, Chris Hemsworth and Leonardo DiCaprio.'