Sentiment Analysis


I am new to Knime.

I have one senerio where i need to extract data (all the comments in last 1 months for politician like Narendra modi and Rahul Gandhi)from the below site.

i want to do sentiment Analysis on that data(Comments).

Please anyone help me on this.



Hi Vishvajit,

to crawl a webpage like a forum the Palladian KNIME extension is very useful (see: The extension provides nodes to download/crawl the content of a webpage. In this white paper we used it to crawl the KNIME forum and analyze it afterwards:

For sentiment analysis you can use the Textprocessing extension. See: for examples and documentation. Here: you find an introduction to the extension. In this white paper: we used the extension to analyze the slashdot form, including sentiment analysis.

To do sentiment analysis in KNIME basically you need a positive and negative word list. Use the Dictionary or Wildcard Tagger on the documents with your pos and neg dictionaries, to assign sentimentr tags to the words. Then you can count the frequencies of pos and neg words and create a sentiment rating for a entry, e.g. forum post or reply.

Hope this helps.

Cheers, Kilian

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.