Sentiment Analysis for the Humanities: the Case of Historical Texts