A model for the Twitter sentiment curve