An integrated approach for analysing sentiments on social media